We have to design following script:
My question: how do we have to handle/script the response xml not knowing when the batch processing will be finished?
Moreover we need to check inside the response xml if there are no functional error codes (I guess we can use Validation feature for this).
How does this process work without NeoLoad? When App A sends the request to the REST API does the App A maintains the HTTP connection until the response is sent back?
Or is there a kind of polling mechanism where you get a kind of progress bar which indicates the percentage of completion?
Basically how your App A knows that theĀ process is completed.
You first need to understand how it works without NeoLoad and then you will be able to figure out how to do it in NeoLoad.
Nouredine,
The idea is that the user checks in App A if the response is available within x seconds and what is the content of the response. So it is not a direct progress where a status bar is shown. So App A doesn't maintain the connection waiting on the result
In that case you can use a while loop condition in your NeoLoad script where you send a request to check the content of the server response like a real user will do. By using a variable extractor you can jump outside of the loop when you get the expected result.