Unanswered question

Regarding general scripting

I am new to NeoLoad tool. I have a scenario, where i have to wait until 'status' changes from Loading' to 'Awaiting for light validation' and then to 'Awaiting host validation' and then 'errors found'. How can i do this in NeoLoad.

Vijayashree V.
Vijayashree V.

Vijayashree V.

116 / 750


You have a wait_until logical actions available in NeoLoad but i'm not sure if it is what you should use. For example if that status evolves after the browser sends a kind of polling request then a while loop action should be better.

In that case you just need to loop with that request that gets the new status and create a variable extractor that will get that status from the server response.

In the while loop condition you can drop off the loop based on that status extracted from the server response.