Unanswered question

I am testing an application that at a point asks the user to upload a couple of images.When manually going through the application I see that there is a POST with the images and then a series of GET to check the status of the transaction, all of them except for the last one with the status "PROCESSING", and the last one set to "FINISHED".My problem is that when I try to record this step I get the POST and only the first GET, then nothing happens and my application never gets the FINISHED answer and I can't continue recording the scenario.

I know that Neoload should recognize this as a polling request but it doesn't. Has this ever hapenned to you and do you know how to fix it?

Answers

NeoLoad can't always recognize this as polling request. It depends on the technology used by your application.

Anyway, worst scenario should be it does not recognize it and you should see as many GET requests needed till the FINISHED status.

To replay such script you will have to remove all of this GET requests except one, put it into a while loop condition and use a variable extractor to check the content of the status. Your user will drop out of the loop when the status is finished.

In your case, you already have an issue during the recording. You should check the NeoLoad log files in case there's an error related to your polling mechanism.

Thank you Nouredine, the problem is that it stops the execution after the first GET, so we can't continue recording the application. It doesn't matter that I can emulate the behavior for replay, because I still have many steps to record after this point.