jmeterhttp-status-code-307

Receiving Error Code 307 while running Jmeter scripts behind proxy


I have to conduct a PT on a mobile application. The recording was done from personal laptop where we didn't face any problem.

However, when we transfer the PT scripts to the testing network, we are facing the following error every time we run it:-

Error in Sample Result:-

Response code: 307 Response message: Authentication Required

Response headers: HTTP/1.1 307 Authentication Required Date: Mon, 19 Oct 2015 09:53:21 GMT Proxy-Connection: close Via: 1.1 localhost.localdomain Cache-Control: no-store Content-Type: text/html Content-Language: en

Error in Response Data:-

Authentication Required

Kindly help us as we have very less time to provide the results.


Solution

  • After several round of brainstorming, I have found out the solution. Just ensure that the HTTP Request Implementation is set to "JAVA" and the "Redirect Automatically" is set checked-in.

    The Scripts will run only for this combination.