Hi All,
I had requirement of having to do load test for list of our webservices and find out the pain points in the web methods. I had a day to come to the conclusion to develop the load test and simulate the actual environment scenario.
I identified the task as
1) Writing the test with the similar soap envelope
2) The webmethods do not take simple primitive data type, they all take typed datasets.
I came across fiddler which is a pretty neat tool to capture HTTP traffic, http://www.fiddlertool.com/fiddler/version.asp
VSTS Test suite gives us the WebTest and the Load test types. The best part of fiddler now is that it has a addin that can directly give you a .WEBTEST created that you could include in the VSTS test project. Awesome right ?
Steps
- Record a script with fiddler
- Save sessions: File > Save > Sessions > as Visual Studio Web Test...
- Create a .loadtest including the .webtest created by fiddler
- Run the .loadtest
Now the outcome is pretty fast, The customizations would be needed for changing the values for the input parameters. But still it gave excellent productive outcome within no time....
-Amit