Need help with StresStimulus? Start here.
Stop on error
Unregistered User Posts: 514
4/27/2020
|
Is there an easy way to set a test to stop an iteration (the rest of the test can continue) when any http error (4xx, 5xx) is received? Nearly all of our tests are transactional and require steps to succeed / complete in order for the next step to execute. By default StresStimulus identifies any 4xx or 5xx response as a failure, but it just keeps going. We tried making a global validator and looking for the error code but it didn’t appear to work.
|
|
0
link
|
George @StresStimulus Administrator Posts: 567
4/27/2020
|
Thank you for your question. You can set the Action on error or timeout property to Abort iteration so whenever you get a 400 or 500 error the current iteration will abort and a new one will start. For more on this feature see http://support.stresstimulus.com/display/doc51/Action+on+error+or+timeout
|
|
0
link
|
Copyright © 2025 Stimulus Technology