How to check a web service receiving multiple requests from its clients?

I have an axis web service deployed to JBOSS. My web service is synchronous. So how does a web service handle multiple requests? And how do I simulate / verify that my code can handle multiple requests?

+4
source share
2 answers

You can use Apache JMeter for this. Here is a webservice testing guide .

However, I agree with skaffman that Axis is not the best choice for web services. If you can, use Sun Metro or Apache CXF instead, both versions of JAX-WS .

+1
source

The axis is not the most modern or perfect of the web service stacks (and this makes it kindly), but it should not have problems with a decent load of simultaneous requests. If a problem arises, it will most likely be with your own code.

The best way to check this is to use Axis to record the web service client and use it to run a large number of requests on your server. If you've already used Axis to create Java artifacts, this should be pretty simple.

0
source

Source: https://habr.com/ru/post/1301193/


All Articles