| || |
IO Exception during playback
I doing testing of a web app. I am trying to do simple record and playback wherein the user will open the URL in browser, enter the credentials , login and then once inside the application, log out.
so just 2 steps : login and logout.
I have recorded the steps using HTTP Request Sampler in firefox browser as well as Chrome.
When i try to run the test, i get the following error in the log viewer:
ERROR- jemter.protocol.http.sampler.HTTJavaImpl: readResponse:java.io.IOException:Server returned HTTP response code: 401 for URL: http://126.96.36.199:8080/assetMgm...tLevelApprover
Can anyone please let me know how this can resolved?
I am unable to open the link you provided. However, HTTP-401 is 'Unauthorized'. You can navigate through browser, which means you are authenticated when you use browser. However, there are problems when you do this using the script. Check for any correlation that you might have missed out or things related to authorization..
Pl. refer HTTP Error 401 Unauthorized Explained for more details.
Which of the two steps you've mentioned produces the exception?