开发者

Sending multiple requests to Apache Tomcat Server using command line

开发者 https://www.devze.com 2023-03-26 05:58 出处:网络
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 bet

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消