This is the big question , when you are putting load on webserver from your computer or using distributed load testing, what is behaviour of server's computer..Server's computer behaviour means at the time of load what is cpu performane, network performance, i/o. So we need to monitor thise things also. But as i have practiced i was not be able to do distributed load testing and also monitoring the cpu performane of server's computer. For that what you can do?I will tell you waht i have tried. I open two jmeter windows. In one window i did distributed load testing, and in another i used the same script but with single thread (user), and check on forever, and added the server performance monitor listners. What it will do? It will run one user in loop till you will not stop the test and also provide you the server's computer performance. Because one user will create that much diffreence according to me.
First i will tell you have to add plugins in jmeter for listners.
Now you should know the server's computer ip. Like we have the server ip is 192.168.45.89.
Now from your computer start jmeter and add-:
First i will tell you have to add plugins in jmeter for listners.
For that you have to download jmeter plugin.jar for the jmeter version you are using. Now extract jmeter plugin and copy jmeter plugin.jar file to c:/jmeter/lib/ext. And from the extracted file you will also get the server agent folder. Copy the server agent folder to the web server's computer and past it in c: drive. Explore server agent folder at server's end and start start agent.bat file.
Now you should know the server's computer ip. Like we have the server ip is 192.168.45.89.
After clicking server performance monitor you will see the window like:-
In this window you will be able to see add row,copy row and delete row.And clickig on add row the window will be like:-
Here below Host/Ip where local host is written you have to type the ip of server's computer.And the port will be by default set to 4444 till no changes done at the server end.
Also you will be able to see cpu,memory,swap,disksI/O,NetworksI/O.From here you can select single object at a time.If you want to see all the details at the same time,so you can add server performance monitor from thread group-add-listners,and then can select another object.
Remember first you have to record or open the test then add the listners.
Now when you will start the test you will be able to see the server's performance selecting server performance monitor.
I think this blog may helpful to you for this senario..
Thank you




Great post!! Thank you :)
ReplyDeleteThanks Tyler
ReplyDeleteI have done the same as you have described. But my server is connected via VPN .. So when I am trying to monitor my server with UDP default port it is throwing java.io.exception.Agent is unreachable via UDP.
ReplyDeletePlease can any one help in this!!! I am stuck with this problem :(
Prathima Madasu! In this case you can use performance monitoring tool of windows in-case you are using windows. Just create performance counters on the server site, so that when you will run the load test, the performance counter will record the cpu and other usage as you will define in counter. Try this, will surly help you.
ReplyDeletei don´t find the plugin for this sampler can somebody give me the link?
ReplyDeletei don´t find the plugin for this sampler can somebody give me the link?
ReplyDeletei don´t find the plugin for this sampler can somebody give me the link?
ReplyDeleteHi Kalra!
DeleteYou will be albe to see thsi plugin in jmeter version 2.6-2.9. Search for jmeter plugin.jar file.
Hi All,
ReplyDeleteActually i am new to the jmeter i have selenium script, i have successfully run this script being local system (this script is written in production) in jmeter by following http://testxpress.wordpress.com/2012/09/16/selenium-integration-with-jmeter/ link. how can i give the server configuration for test the load on server .I don't how to configure the server in jmeter (which server can i configured i.e ,In local system server or production server ) and how to analyze the results based on reports generated by jmeter
Hi All,
ReplyDeleteActually i am new to the jmeter i have selenium script, i have successfully run this script being local system (this script is written in production) in jmeter by following http://testxpress.wordpress.com/2012/09/16/selenium-integration-with-jmeter/ link. how can i give the server configuration for test the load on server .I don't how to configure the server in jmeter (which server can i configured i.e ,In local system server or production server ) and how to analyze the results based on reports generated by jmeter
Hi All,
ReplyDeleteActually i am new to the jmeter i have selenium script, i have successfully run this script being local system (this script is written in production) in jmeter by following http://testxpress.wordpress.com/2012/09/16/selenium-integration-with-jmeter/ link. how can i give the server configuration for test the load on server .I don't how to configure the server in jmeter (which server can i configured i.e ,In local system server or production server ) and how to analyze the results based on reports generated by jmeter
Hai,
ReplyDeleteI am unable to find the servers performance monitoring in Listeners after i started the ServerAgent bat file. please help me.
Hi Thiru!
DeleteYou need to download the plugin of Jmeter plugin.jar, from apache jmeter site, and then extract the jars. Then copy all the jar's and place them in jmeter >> lib >> ext.
Then you will be able to add the server performance monitor listener.
Hai,
ReplyDeleteI have followed your procedure but I unable to find the Servers performance monitoring in Assertions after started the ServerAgent bat file. Please help me.
Hi Naresh!
ReplyDeleteYou might not wanna run the selenium script using jmeter, as it will open the browser and perform all the actions. You have to record the script using jmeter itself. And just to clear the confusion, record the script from production url. Also to test load you have to run the script in local, but make sure that the environment should be like the production environment.