Stress test
Stress test is a good way of working out what the system requirements are going to be of a Diffusion™ server under duress. The stress test tool is issued to test the performance of Diffusion under stress and helps to understand how changes to the configuration can have an effect upon the performance.
Do not run the stress test tool on the same machine as the Diffusion server.
A separate machine is required to run the stress test tool.
- On the test machine, create a stresstest directory and copy the files stresstest/stresstest.bat, stresstest/stresstest.sh, stresstest/stresstest.properties and stresstest/stresstest.jar from the Diffusion installation
- Configure stress test by editing the stresstest.properties file. The following need to be configured:
- Number of clients
- Transport type
- Server details
- Number of messages with which to run the test
- The topic to which the clients subscribe
- On a Windows™ system, launch stresstest.bat, on a UNIX® machine launch stresstest.sh.