Troubles re-playing a web test  
Author Message
Yulia





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

Hi,

I'm having a problem with re-playing web tests. If I record a web test on my local host, then it re-plays just fine without any problems. If I record a web test when accessing another server, then it won't replay. 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". It's the same application running on both servers, but one is remote and the other is local.

Has anyone seeen this before Any help will be really appreciated.

Thank you.



Visual Studio Team System4  
 
 
slumley MSFT





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

If you go to the details tab of the playback UI, is there any error or stack trace listed

 
 
Yulia





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

Hi, Slumley.

I see this message when replaying this web test:

RequestFailed: Index and length must refer to a location within the string.
Parameter name: length

I'm not sure how to interpret it though. :)

Any ideas This is just in the first step of the web test, where it opens the right page.

Thank you.


 
 
Rick Potts - MSFT





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

Could you look closely at the request that was issued and see if the parameters are being submitted as you expect Look at the request tab in the Web Test Result Viewer to see the exact request that was issued.

Thanks,
Rick


 
 
msnashok





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

Hi

Rick ,me too getting the same problem ,so any other suggestions from ur side to this problem .This problem is really kicking



 
 
msnashok





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

Hi Yulia,

i am also facing the same problem. did u get a solution fo that.

can you tell me how to resolve it and proceed further with testing.

i would really appreciate ur help on this regard.

thanks in advance,



 
 
kparmeland





PostPosted: Visual Studio Team System - Testing, Troubles re-playing a web test Top

has this been resolved

I am seeing the same issues