Hi,
I'm having a problem with re-playing web tests. I have recorded a web application ( a live web application) using VSTS (visual studio 2005 team suite) and , then when i try to re-play the same . The very first step fails with the following error message: "Reqest failed: Index and length must refer to a location within the string. Parameter name: length"

Cannot Replay the recorded web test
Badhris
Is that error message on the response web page or is it listed in the Details tab under Exception What I'm asking is whether the error is coming from the server or from Visual Studio.
Josh
Andreas Maurer
Hi, josh thx for reply and sorry for my late response !!!
actually the error is coming from visual studio .when we try to play back the recorded script!! it throws that error as said above.i think that the error mite be thrown by visual studio .other thing is vsts doesnot record the login credentials .i will be waiting for ur response
thanks
ashok
buildakicker
Since I haven't heard back from you, I'm going to assume the error was coming from the server-side and mark this question as answered. Please reply if you're still having trouble and I'll follow up again.
Josh
nabeelfarid
eldiener
I am having the same issue. Everytime I run a WebTest in VSTS I recieved the same message
The script was recorded in VSTS, with no alterations
On the offending site pages I have an HTTP Status of 200 OK, response time 0.17 > 1.22 sec, size 29kb > 31kb
Out of the three site pages recorded 1 has passed; four have failed.
Under the Request tab I ge thet following text:
request failed: Index and length must refer to a location within the string
parameter name: length
The only thing I have noticed; is that when a test is run I do not recieve any session cookies