简体   繁体   中英

Test web service on GlassFish or Tomcat

I need to do some performance tests of my web service, in fact it is a simple servlet. I'm using GlassFish 3.1 but i can switch to Tomcat. Could you give some advices and tools names which i can use to do these tests?

We use the open source jmeter tool quite a lot. Here is the project page: http://jmeter.apache.org/

I would recommend SOAP UI as the best tool for testing SOAP web services.

If it's a REST service, you can use any client that can make an HTTP request to a URL. You can use java.net.URLConnection to do that.

I don't see how GLASSFISH or Tomcat matter here. Both have compliant servlet engines.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM