diff --git a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/AppManagerTest.jmx b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/AppManagerTest.jmx index 06077374..a8a60a15 100644 --- a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/AppManagerTest.jmx +++ b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/AppManagerTest.jmx @@ -1,5 +1,5 @@ - + @@ -115,7 +115,7 @@ rfc2109 - + @@ -137,9 +137,9 @@ urn:login true false - + - + @@ -157,7 +157,7 @@ urn:getTenant true false - + undefined @@ -167,6 +167,7 @@ false true tenant_exists + -1 @@ -182,7 +183,7 @@ false - + @@ -221,10 +222,10 @@ urn:addTenant true false - + - + @@ -239,7 +240,7 @@ urn:logout true false - + @@ -303,7 +304,7 @@ false - import org.apache.jmeter.services.FileServer; + import org.apache.jmeter.services.FileServer; String basePath = FileServer.getFileServer().getBaseDir() + File.separator; vars.put("script-path", basePath); @@ -338,8 +339,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https publisher @@ -348,8 +347,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -359,6 +359,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -368,6 +369,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -377,6 +379,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -408,8 +411,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https samlsso @@ -418,9 +419,10 @@ vars.put("encoded", encoded); false true false - HttpClient4 - false + HttpClient4 + + @@ -431,6 +433,7 @@ vars.put("encoded", encoded); true false all + -1 @@ -469,8 +472,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https commonauth @@ -479,8 +480,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -490,6 +492,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -499,6 +502,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -532,8 +536,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https publisher/acs @@ -542,8 +544,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -560,8 +563,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https /publisher/csrf.js @@ -570,8 +571,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -580,8 +582,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https /publisher/csrf.js @@ -590,8 +590,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -628,8 +629,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobileapp/upload @@ -638,8 +637,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -680,8 +680,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/isexist?name=${mobile-app} @@ -690,8 +688,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -820,8 +819,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -830,8 +827,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -960,8 +958,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -970,8 +966,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1012,8 +1009,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/${encoded}/mobileapp/${id} @@ -1022,8 +1017,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1064,8 +1060,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Approve/mobileapp/${id} @@ -1074,8 +1068,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1107,8 +1102,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/${encoded}/mobileapp/${id} @@ -1117,8 +1110,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1159,8 +1153,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Publish/mobileapp/${id} @@ -1169,8 +1161,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1202,8 +1195,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Deprecate/mobileapp/${id} @@ -1212,8 +1203,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1245,8 +1237,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Retire/mobileapp/${id} @@ -1255,8 +1245,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1385,8 +1376,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -1395,8 +1384,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1428,8 +1418,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/delete/${id} @@ -1438,8 +1426,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1471,8 +1460,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobileapp/upload @@ -1481,8 +1468,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1620,8 +1608,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -1630,8 +1616,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1672,8 +1659,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/${encoded}/mobileapp/${id} @@ -1682,8 +1667,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1724,8 +1710,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/delete/${id} @@ -1734,8 +1718,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1767,8 +1752,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobileapp/upload @@ -1777,8 +1760,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1916,8 +1900,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -1926,8 +1908,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -1968,8 +1951,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp/${id} @@ -1978,8 +1959,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2011,8 +1993,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/delete/${id} @@ -2021,8 +2001,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2054,8 +2035,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobileapp/upload @@ -2064,8 +2043,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2203,8 +2183,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -2213,8 +2191,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2255,8 +2234,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp/${id} @@ -2265,8 +2242,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2298,8 +2276,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/delete/${id} @@ -2308,8 +2284,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2326,14 +2303,72 @@ vars.put("encoded", encoded); - + + + + + ${script-path}test1.apk + file + application/vnd.android.package-archive,.apk + + + ${server} ${port} + https + UTF-8 + publisher/api/mobileapp/upload + POST + true + false + true + true + + + + + + + X-CSRF-Token + ${X-CSRF-Token} + + + X-Requested-With + XmlHttpRequest + + + + + + false + response + (?s)(^.*) + $1$ + + 1 + + + + + "package" : "agent.androidtv.wso2.org.agent2", "version" : "1.0" + + Assertion.response_data + false + 16 + + + + + + + + ${server} + ${port} https UTF-8 publisher/logout @@ -2342,8 +2377,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2489,7 +2525,7 @@ vars.put("encoded", encoded); false - import org.apache.jmeter.services.FileServer; + import org.apache.jmeter.services.FileServer; String basePath = FileServer.getFileServer().getBaseDir() + File.separator; vars.put("script-path", basePath); @@ -2524,8 +2560,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https publisher @@ -2534,8 +2568,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -2545,6 +2580,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -2554,6 +2590,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -2563,6 +2600,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -2594,8 +2632,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https samlsso @@ -2604,9 +2640,10 @@ vars.put("encoded", encoded); false true false - HttpClient4 - false + HttpClient4 + + @@ -2617,6 +2654,7 @@ vars.put("encoded", encoded); true false all + -1 @@ -2655,8 +2693,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https commonauth @@ -2665,8 +2701,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -2676,6 +2713,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -2685,6 +2723,7 @@ vars.put("encoded", encoded); false true false + -1 @@ -2718,8 +2757,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https publisher/acs @@ -2728,8 +2765,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -2746,8 +2784,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https /publisher/csrf.js @@ -2756,8 +2792,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -2766,8 +2803,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https /publisher/csrf.js @@ -2776,8 +2811,9 @@ vars.put("encoded", encoded); false true false - false + + @@ -2814,8 +2850,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobileapp/upload @@ -2824,8 +2858,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -2866,8 +2901,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/isexist?name=${mobile-app} @@ -2876,8 +2909,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3006,8 +3040,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -3016,8 +3048,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3146,8 +3179,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -3156,8 +3187,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3198,8 +3230,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/${encoded}/mobileapp/${id} @@ -3208,8 +3238,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3250,8 +3281,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Approve/mobileapp/${id} @@ -3260,8 +3289,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3293,8 +3323,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/${encoded}/mobileapp/${id} @@ -3303,8 +3331,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3345,8 +3374,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Publish/mobileapp/${id} @@ -3355,8 +3382,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3388,8 +3416,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Deprecate/mobileapp/${id} @@ -3398,8 +3424,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3431,8 +3458,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/Retire/mobileapp/${id} @@ -3441,8 +3466,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3571,8 +3597,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -3581,8 +3605,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3614,8 +3639,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/delete/${id} @@ -3624,8 +3647,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3657,8 +3681,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobileapp/upload @@ -3667,8 +3689,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3806,8 +3829,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/asset/mobileapp @@ -3816,8 +3837,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3858,8 +3880,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/lifecycle/${encoded}/mobileapp/${id} @@ -3868,8 +3888,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3910,8 +3931,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/api/mobile/delete/${id} @@ -3920,8 +3939,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -3944,8 +3964,6 @@ vars.put("encoded", encoded); ${server} ${port} - - https UTF-8 publisher/logout @@ -3954,8 +3972,9 @@ vars.put("encoded", encoded); false true true - false + + @@ -4091,5 +4110,9 @@ vars.put("encoded", encoded); + + true + + diff --git a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/test1.apk b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/test1.apk new file mode 100644 index 00000000..83c44a98 Binary files /dev/null and b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/test1.apk differ diff --git a/pom.xml b/pom.xml index 114a5239..0fe329af 100644 --- a/pom.xml +++ b/pom.xml @@ -1629,7 +1629,7 @@ 1.0.1 - 1.2.40 + 1.2.43 1.5.1