The perfect project plan is possible if one first documents a list of all the unknowns

Fiddler and VSTS

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
  1. Record a script with fiddler
  2. Save sessions: File > Save > Sessions > as Visual Studio Web Test...
  3. Create a .loadtest including the .webtest created by fiddler
  4. Run the .loadtest
  5.  

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 

 

 

Published Tuesday, May 22, 2007 4:25 PM by AmitJha
Filed under:

Comments

 

RangaDas said:

good tip for automation, this looks a simple job for writing the automated test cases for web services now. would you throw torch on customizations ???

May 22, 2007 8:23 PM
 

RangaDas said:

good tip for automation, this looks a simple job for writing the automated test cases for web services now. would you throw torch on customizations ???

May 22, 2007 8:25 PM
 

Team System News said:

Amit on Fiddler and VSTS. Martin Hinshelwood on Recipe for Team Server in a small business. Brian Harry...

May 25, 2007 1:35 PM
 

Relationship Compatibility said:

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

June 7, 2008 1:10 AM
 

novaseh said:

Amit , I heard that creating funtional testing for web is not feasible in VSTS. You can create quick dirty test and not maintainable and robust test. Like I heard In VSTS the tests you create are atomic. You can't create a function and call it from other places. And also if something changes in UI then the whole test become obsolete.  So Automating the Functional testing in VSTS is not recommended. It's only good for load testing. Can you please throw some light on that?

July 11, 2008 3:26 AM
Anonymous comments are disabled

About AmitJha

Working as Applications Developer in Microsoft IT (LPO COE).

This Blog

Syndication

Recent Posts

Tags

Archives


© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker