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
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.
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.