• Post Reply Bookmark Topic Watch Topic
  • New Topic

Testing a Web Service  RSS feed

 
Kiran Kumar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks,
I have a web service up and running. Now, I want to do some testing on it, like 5 + clients sending requests at a time and want to know how much load this server takes. For this, I want to know if there are any freely downloadable testing tools available. Any pointers are appreciated.
Thanks,
Kiran
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't remember such a tool, but if you end up writing your own JUnit tests for testing the web service, you might want to build on Jakarta Commons HTTP Client and XMLUnit.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, wait. I do remember one product. Frank Cohen's TestMaker.
You might also be interested in this article.
 
Kiran Kumar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lasse, but TestMaker did not run when I tried to use it to Test SOAP services.
I have a Java Client which requests a SOAP service. I want to test the performance (execution speed) of the server when the number of clients are huge (say 50 or 500).
I can have a shell script which invokes the client every 10 milliseconds, causing it to invoke the service and increasing load on the server.
But I was wondering if there are any autamated tools to do this in a more formal way.
Any pointers are appreciated.
Thankyou,
Kiran Devaram
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weird. You should report Frank about your problem. Maybe he'll get it fixed or find the cause.
You might also want to try writing JUnitPerf tests for running your web service performance tests alongside your regular unit tests (that is, if you have those). JUnitPerf lets you say "I want you to execute this test with X simultaneous users for Y times."
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!