Many people asked for a script to stress openfire when clustering is enabled. The document How to load test Openfire with Clustering? contains a load generation script and explains how to use it. It's good for stress testing openfire in general and in particular when using clustering.
Any improvement or suggestion is always welcome.