R
Ravi Goel
Guest
*****Help Required**** I have recorded a script in LR Web HTTP protocol for a web Ajax based application , I have handled all the dynamic values in this script and it works well till a certain point but breaks at the request where I am clicking on one of the application tabs (there are multiple tabs like enter customer details , address , names etc.). Basically for the request which is failing I am getting 200 OK server response but the response body is not coming as expected. I am getting this error - "HTTP/1.1 200 OK Vary: Accept-Encoding Ajax-Expired: View state could't be restored - reload page ? Ajax-Response: redirect" And an inappropriate response for which replay and recording snapshots are not matching. Request which is failing - "I have pasted the request in the first comment to this post" Tried following steps so far but not able get way with the error- 1. Compared HTTP response (recording vs replay) of all the requests before this request n the script and all the responses are coming as expected from the server , all correlations are in place 2. Recorded two scripts and handled all dynamics values which were changing , handled all dynamics values in the failed request as well 3. Manually browsed the application and checked the requests using Fiddler tool as well , load runner recording is in sync with Fiddler and I don't see any request missed and not recorded by load runner 4. Tried recording in Ajax True-client but that not working as after login some of the links are not clickable 5. Tried Ajax Click and Script - events are getting recorded but I cant see any request in the script , my inclination is more towards in getting this script done in HTTP protocol anyways 6. Since this is a ajax call so I tried to send the request multiple times to the server in a loop to wait for a appropriate response but that didn't help(do while loop and wait for appropriate response) 7. Checked all the cookies and headers which are getting passed in recorded and replay snapshots and fiddler recording but that doesn't seem to be a problem. I am blocked now and not able to proceed from here, expert advise required!!!!!!!