How a web Service can be tested?

Hi,

Can some one suggest me as how a web service can be tested for the following..

1) Lease Time
2) Performance
3) Memory Leaks
4) Multi User Environment

To express my need in other words, i have a webservice which is consumed in a web page and in a win app as well as by an app targeted for PocketPC. I would like to test the timings in different environements... can some one suggest me about the testing methodologies for the Webservices.

I know that there are tools like ACT, WAS, bla.. bla.. but they won't do for Webservices...

Hope to read a solution...

Regards,
Chakravarthy


Answer this question

How a web Service can be tested?

  • Mike1820

    Chakravarthy,

    1. Could you elaborate on the term, "lease time"
    2. There are many methods/tools for measuring performance. Mindreef SOAPscope 4.1 is one, WebServiceStudio 2.0 is another.
    3. Performance counters are your friend.
    4. Are you referring to concurrency

    John


  • Engr.Faisal

    Visual Studio Team System has all (integrated) tools for testing, web services too.

    With ACT you can test web services too, look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnpag/html/scalenethowto11.asp

    Regards,
    Pierre

  • Mayur_bm

    Assuming you work for a fairly large company, Compuware makes DevPartner, which has code coverage and error analysis as well as profiling/performance items, giving you execution time for the line of code if I remember correctly.  I am certain you can get execution time per function.


    As far as a multi-user environment, you might be able to use one of the profiling tools on the PC hosting the webservice and create an ACT test on a series of OTHER PCs, but now you are talking quite a few dollars and possibly more than one set of hands.

  • knightmare

    New VS2005 is suppose to have web service capabilities as part of its testing facilities.

    Red Gate http://www.red-gate.com/ has a product ANTS that does web service testing

  • Mark Schmidt

    I've used SoapTest from Parasoft. Its awsome for functional, interop, ws-I compliance testing and load testing (read Multiuser testing, performance). As regards lease time. There is no such concept in web service land or rather there should not be! Web services are meant to be disconnected in nature (i.e. ideally you shouldnt be storing session state). In case you meant timeouts by "lease time", then its configurable in your web.config (if you're using ASP.net).

    As regards memory leaks and to some extent performance analysis you would need a profiling tool. There a couple in the market... Intel VTune, Ants, NProf (free),  Theres one from Jet Brains, and I think Devpartner has a IDE integrated tool for profiling.

    For functional/WS-compliance/interop testing there is an awsome tool called SoapScope.

  • How a web Service can be tested?