1
votes

While executing jmeter script recording in asp dot net webpage, the request is given as POST request in script but in results it shown as a node having 2 request, the first one is having "POST" request but the response data for that request appears as "Object moved to here". The follow redirected option is enabled. The second request is going to the correct page and posting the data but the request is given as GET. Is there any other methods by which the Object moved to here/Response code 302 can be avoided?

Added the screenshots for View state and Event validation post processors and the request in which the post processors are used.

Attached screenshots.

enter image description here

enter image description hereenter image description herePOST processor for View StatePost processor for event validationRequest detailsResponse details- Login GetResponse details login PostRequestresponse1response2

2

2 Answers

0
votes

Check out ASP.NET Login Testing with JMeter for step-by-step walkthrough on how to get started with performance testing of ASP.NET-powered web applications and troubleshooting tips.

0
votes

You are probably missing the extraction of either a header or hidden form .

Usually for Asp it's viewstate , check this blog :

I see in your login request a __ViewStateEncrypted, did you also variabilize it ?

Compare a login recorded with login by jmeter to see the differences.

One other possibility, try for login switching from Httpclient4 to Java implementation.