why is 200 Ok is an error
-
lunedì 23 aprile 2012 20:16I have VS 2010 and I am running web test against a website that was created in house for the purpose of learning web performance testing. I get quite a few requests flagged as an error but the status is "200 OK". In some cases "200 OK" is not an error. Can you me understand the difference? How do I debug?
catherine mayer
Tutte le risposte
-
lunedì 23 aprile 2012 21:42
Hi,
There can be many reaons for failure like context parameter not found or the expected response url did'nt match.
You should look at the error message in the Details tab for the failed request.
Below links are helpful for debugging web tests:
http://blogs.msdn.com/b/slumley/archive/2007/04/10/how-to-debug-a-web-test.aspx
http://blogs.msdn.com/b/edglas/archive/2010/03/24/web-test-authoring-and-debugging-techniques-for-visual-studio-2010.aspx
Thanks,
Anuj
http://www.anujchaudhary.com
- Contrassegnato come risposta Tony xiaoModerator lunedì 30 aprile 2012 02:55
-
lunedì 23 aprile 2012 22:23
This is the error in the details:
Response URL Validation The value of the ExpectedResponseUrl property 'http://....cloudshare.com/Pages/default.aspx' does not equal the actual response URL 'http://use.cloudshare.com/Ent/HttpAccess.mvc/Splash'. QueryString parameters were ignored.
Is this a hidden or dynamic parameter issue?
catherine mayer
-
lunedì 23 aprile 2012 23:18
This looks to be an issue with the expected response url property set for the request.
You can update it http://msdn.microsoft.com/en-us/library/bb514183.aspx
Thanks,
Anuj
http://www.anujchaudhary.com
- Contrassegnato come risposta Tony xiaoModerator lunedì 30 aprile 2012 02:55

