File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Testing tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Testing tomcat" Watch "Testing tomcat" New topic

Testing tomcat

Giju George
Ranch Hand

Joined: Jun 08, 2004
Posts: 333
is there any tool/process for testing the load balancing on tomcat server.

SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Load balancing on Tomcat server? I suppose you mean load balancing in front of Tomcat server(s)?

Why do you feel like you need to test the load balancing? Are you using a home-grown software load balancer?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

Do you mean testing that load balance is actually hitting 2 boxes or that it is hitting them evenly?

We test load balancing by making sure that both boxes are hit after a few queries by different users. We check this by verifying the log files.

We assume that the load balancing software is distributing the load properly.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Testing tomcat
It's not a secret anymore!