2

I am doing load testing of one website. Website is hosted on another server i.e Godaddy.

I have installed Jmeter on my local machine and configured necessary things to start load testing. When I increase no. of users through Jmeter and check my pc CPU usage , it shows high up and down and also, physical memory gets full during heavy load.

My question is I am putting load on server then why it affects local pc CPU usage and memory? Am I doing something wrong?

4

You are running the JMeter on your local machine. The load on your local machine comes from creating the requests to be sent to the server and handling the responses from the server.

You may want to check for example this blog post for performance tuning tips, such as running real load tests in non-gui mode.

  • I see , But result I am getting while running from local pc is accurate result? – Helping Hands Sep 2 '15 at 7:15
  • I your local machine resources are not enough, for example if it starts swapping because there is not enough memory, then the results will not be accurate. – Edu Sep 2 '15 at 7:54
  • Okay , So what is best way? Should I install jmeter on server? where site is hosted? – Helping Hands Sep 2 '15 at 8:06
  • You can probably run it ok on the local machine. Did you check the performance tuning things? Those should help so that you could reliably use you local machine also. – Edu Sep 2 '15 at 10:59
  • Yep I am checking that blog post.. – Helping Hands Sep 2 '15 at 11:06
0

Alternately, you can use siege tool for a simple http/https load testing of your website.

More details about Siege tool is here: https://www.joedog.org/siege-home/.

You can trigger the siege request from your local machine without impacting its cpu/memory usage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.