Sending multiple requests to Apache Tomcat Server using command line
My current application is something like this: I have an application开发者_C百科 deployed on Apache Tomcat. It starts with an HTML page that has a link, which when clicked, will send SOAP messages between two Servlets.
I am looking for a command line way of sending that request, thereby bypassing the HTML page completely. The reason of this is that i can then send multiple requests simultaneously and can then have tomcat start multiple servlet threads to serve each of the requests.
Try using a groovy script.
This page has an example on how to use a WebClient to automate web tasks.
Use wget to send the request to your server.
curl is another option
I went ahead with using JMeter. It seems simple and easily configurable.
精彩评论