diff --git a/load/Stress devops.jmx b/load/Stress devops.jmx index 91a6342..7792e28 100644 --- a/load/Stress devops.jmx +++ b/load/Stress devops.jmx @@ -61,7 +61,7 @@ false - {"login":"loadtest0","password":"loadtest0"} + {"login":"xloadtest1","password":"loadtest1"} = @@ -130,138 +130,40 @@ - - 1 - - - - - true - - - - false - {"login":"superuser","password":"l3tm3in"} - = - + + + 401 - - - 443 - - UTF-8 - /api/v8.0/auth - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Referer - ${scheme}://test.helloayanova.com/login - - - Sec-Fetch-Site - same-origin - - - Accept-Language - en-US,en;q=0.9,fr-CA;q=0.7,de;q=0.6,en-AU;q=0.4,ar-EG;q=0.3,fr-FR;q=0.1 - - - Origin - ${scheme}://test.helloayanova.com - - - DNT - 1 - - - Accept - application/json - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate, br - - - User-Agent - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0 - - - Sec-Fetch-Dest - empty - - - + + Assertion.response_code + true + 8 + variable + + - - JToken + + TESTUSEREXISTSBEARERTOKEN data.token JToken + keep in case go this way with if condition - - false - true - false - - - - - - Accept - application/json - - - Authorization - Bearer ${JToken} - - - Content-Type - application/json - - - - - - true - 100 - + + ${JMeterThread.last_sample_ok}==false + false + true + - - 0 - - 1 - createuserloopcount - - false - - - + true false - {"id":0,"concurrency":0,"active":true,"name":"loadtest${createuserloopcount}","roles":49514,"userType":1,"employeeNumber":null,"notes":null,"customerId":null,"headOfficeId":null,"vendorId":null,"wiki":null,"customFields":"{}","tags":[],"lastLogin":null,"password":"loadtest${createuserloopcount}","login":"loadtest${createuserloopcount}"} + {"login":"superuser","password":"l3tm3in"} = @@ -270,7 +172,7 @@ 443 UTF-8 - /api/v8.0/user/ + /api/v8.0/auth POST true false @@ -280,7 +182,122 @@ - + + + + + Sec-Fetch-Mode + cors + + + Referer + ${scheme}://test.helloayanova.com/login + + + Sec-Fetch-Site + same-origin + + + Accept-Language + en-US,en;q=0.9,fr-CA;q=0.7,de;q=0.6,en-AU;q=0.4,ar-EG;q=0.3,fr-FR;q=0.1 + + + Origin + ${scheme}://test.helloayanova.com + + + DNT + 1 + + + Accept + application/json + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate, br + + + User-Agent + Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0 + + + Sec-Fetch-Dest + empty + + + + + + JToken + data.token + + JToken + + + + + + Accept + application/json + + + Authorization + Bearer ${JToken} + + + Content-Type + application/json + + + + + + + true + 2 + + + + 0 + + 1 + createuserloopcount + + false + + + + true + + + + false + {"id":0,"concurrency":0,"active":true,"name":"loadtest${createuserloopcount}","roles":49514,"userType":1,"employeeNumber":null,"notes":null,"customerId":null,"headOfficeId":null,"vendorId":null,"wiki":null,"customFields":"{}","tags":[],"lastLogin":null,"password":"loadtest${createuserloopcount}","login":"loadtest${createuserloopcount}"} + = + + + + + 443 + + UTF-8 + /api/v8.0/user/ + POST + true + false + true + false + + + + + +