Glassfish v2 Clustering Testsuite

For about the last 6 months I have been working with the Glassfish clustering development team. I've been doing some amount of test execution and some test development. Most recently, I have been helping the development team by writing a set of tests to verify that session replication is working for a three instance glassfish cluster. The instances of the cluster are installed on the same machine and does not require the use of a load balancer. The load balancer is not necessary since this testsuite uses a testing technique called port hopping to simulate failover.

The tests that have been created make use of servlets and stateful session beans to do the testing. The tests verify various combinations of persistence-frequency and persistence-scope along with two kinds of EJB transactions (end-of-method or end-of-transaction)

There are two main ant targets that can be used to run the tests (quicklooktests and all). The quicklooktests ant target runs four tests and the all ant target runs sixteen tests. There are actually a total of 40 tests that have been developed, but this suite of tests were designed to be run in less then 15 to 20 minutes therefore some number of tests have been disabled. If a person wishes, then can enable all the tests to run by modifying an ant xml file to enable them.

This entire testsuite can be found on the Glassfish website at:
http://fisheye5.cenqua.com/browse/glassfish/appserv-tests/devtests/replication

In order to help people out, I've also created a self contained zip file that bundles the entire replication testsuite. This allows someone to download the testuite without the need to download the entire workspace.

This zip file can be found on the Glassfish website at:
http://fisheye5.cenqua.com/browse/glassfish/appserv-tests/devtests/replication/glassfish_replication.zip

I hope that people will find this testsuite a useful starting point to understanding how clustering works with glassfish.

If, during your use of the testsuite you encounter issues, please email me so that I can resolve them and enhance the usefulness of the testsuite.

Stephen DiMilla

stephen.dimilla@sun.com

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

sdimilla

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today