I have an axis web service deployed on JBOSS. My web service is synchronous. So, how does a web service handle multiple requests? And how do I simulate/test that my code can handle multiple requests well?
views:
123answers:
2
A:
Axis isn't the most modern or performant of the web service stacks (and that's putting it kindly), but it should have no problem with a decent load of simultaneous requests. If there's going to be a problem, it's more likely to be with your own code.
The best way to test this is to use Axis to write a web service client, and use it to fire a large number of requests at your server. If you've already used Axis to generate java artefacts, it should be fairly straightforward.
skaffman
2010-02-13 14:17:09
Any numbers/comparisons on the performance issue you can link to?
matt b
2010-02-13 14:36:45
No, but Axis is a first generation web service stack. For new developments, it has nothing to recommend it.
skaffman
2010-02-13 14:40:26
+1
A:
You can use Apache JMeter for this. Here's a webservice test plan guide.
That said, I agree with skaffman that Axis isn't the optimum choice for webservices. If you can, use Sun Metro or Apache CXF instead, both which are JAX-WS implementations.
BalusC
2010-02-13 14:21:45
Do you know of neutral performance comparisons (especially scalability) of the implementations?
Thorbjørn Ravn Andersen
2010-02-13 15:28:56
No one comes to mind, but you may want to track http://www.ibm.com/developerworks/webservices/library/j-jws11/index.html (published Jan 19). It states that the next article would cover CXF.
BalusC
2010-02-13 16:44:22