lingling_chiang
6 years agoContributor
LoadComplete continue to run after error?
see attached the capture from the detail report, after timeout error or socket connection error, loadcomplete continue to runs? I will expect it stops at the error.
Hi,
> if it is unable to logon due to timeout error?
Load test (as a general rule) does not assume any business logic. Its primary purpose is to send requests to the server and verify that server responses are as expected.
If you like to stop scenario execution on some condition (e.g. if response on logon request is not 200), you may create a Data Selector for this given response and store response code into some variable. Then add IF operation after this given request, check the value of the variable and stop scenario execution with the help of Stop operation.