JMeter calls request after error

When running the load test, constant problems occur, any HTTP request may time out, or the server may return a user error page. I have a wonderful jMeter script that works without expecting any errors what happens with low usage.

How can I change this script so that when an error occurs, the script repeats the request that caused the error until it receives the error? For example, I have a login request, which if it is not executed, I do not want to continue, I want to continue trying until the login comes in. I also do not want to run the script again, since I do not want to log in again if the page fails after logging in.

I looked at "Continue with a subsequent loop" in the thread group, but I can’t find out what this actually does, does the test run? Going to the next logical loop controller? Do I have to loop all my queries?

Thanks Paul

+5
source share
1 answer

Continuing with the next loop will restart the entire thread group in case any of the samplers returns false.

, While. , , , "Login Successfull", While Control, myvar!= " ", , . , , .

, AUT , , , , . , , - .

+4

All Articles