Hi All,
We are working on .net application and script is recorded successfully using Loadrunner 11.0. But, on replay, one particular request is getting redirected to error page.
In recording HTTP view, we have 1 POST method and 1 GET method
During replay, after posting the message the recorded GET method URL is not being picked, instead it is redirected to an error URL.
Solutions tried:
1) Added few headers after comparing recoded and replayed request.
2) Replayed using WinInet level.
3) Maxredirectiondepth set to 0,1,2.
4) Replay with runtime settings as PreferencesàOptionsàAuthenticationàUse Windows native NTLM implementation as “Yes”.
Please help us with the pointers to get this issue resolved. Given below is the request format.
Request Format:
Web_submit_data(“Sample.aspx”,
“Name=Viewstate”,”Value={C_VS1}”,ENDITEM,
“Name=Eventvalidation”,”Value={C_EV1}”,ENDITEM,
“Name=hiddenquestionsAnswers”, ”Value=1,1,0,2”,ENDITEM,
“Name=hiddenquestions”,”Value=201,202,203,204,207,209”,ENDITEM,
“Name=question1”,”Value=on”,ENDITEM,
“Name=question2”,”Value=on”,ENDITEM,
“Name=question3”,”Value=on”,ENDITEM,
“Name=questionn”,”Value=on”,ENDITEM,
“Name=ButtonName”,”Value=Ok”,ENDITEM,
LAST);
Note: Question numbers in hidden questions field and answers for those questions are always same.
Error Displayed: web_submit_data (“Sample.aspx”), highest severity level was “ERROR”