Today i sure list the steps and ways to use the Tsung tool to check how much stress/load the server could take.
I have use Geronimo to test out the effectiveness of tsung. Previously i have tested it out on Jboss to determine the performance of the application while i was working in my last company. The results are marvelous and we did what we could to improve the areas of the application before it goes live.
Below are the steps to use the tsung benchmarking tool.
Start the Geronimo Application Server in Unix
Open up the web browser and type in the url to access the application. eg: http://localhost:8080/TEST/start.jsp
Next enter this command to start up Tsung
# tsung start
To stop Tsung, enter the command below
# tsung stop
In the print screen below, you may have notice that tsung sends notification on the terminal indicating that the tsung recorder is not started. Do not worry about that as the recorder is to records users ways of using the system and Tsung will generate a scenario xml file to stress test the application.
to check the number of users being simulate during testing on the terminal
# tsung status
The figure below is a brief report on its status in testing the application
Next generate the reports for the Geronimo testing
cd into the tsung folder when the data is store
Now lets type the commands to generate the reports from the test
I will list down the reports next time once i have compile all the screenshots ready to be upload into the system.
Hope Tsung helps you to stress test your application.
No comments:
Post a Comment