Does website testing through JMeter really overload the main server

I use to test my web server https://buyandbrag.in . I tested it for 100 users. But the main server does not show how crowded or not. I want to know if this really clicks on the main server (the cloud server that I use). Or just use the client resource where the tool is installed.

+4
source share
2 answers

Yes, as mentioned, you need to monitor both servers to see how they handle the load. The easiest way to do this is with TOP (if your server OS is * NIX), you should also monitor network activity, i.e. Bandwidth, connection status (wait time, wait wait, etc.).

Also, if you use apache, follow the logs, you will see that requests are logged there

Good luck in tests

+1
source

I want to know, โ€œhow many users can my site use?โ€, When I tested 50 threads, the processor on my server increased, but not the connection log (it showed only 2 connections). Also the use of bandwidth is not much

First, what compounds do you mean? Apache, DB, etc.

Secondly, if you want to find out how many users your current setup can help you, you need to create a profile or traffic model that the average user will do on your site.

For instance:

Say 90% of the time they will search for something 5% of the time they will purchase x 5% of the time they login. 

After you have defined your "Traffic Model", implement it in jMeter, then start increasing your load in increments of several times, i.e. run your load test for 10 minutes with x users, after 10 minutes increase that number and so on until you find your breakpoint.

If you draw your answers, you will see two main things:

1) The optimal response time / number of users before service degradation 2) The roll-over point, that is, at what point do you start returning 503, etc.

You will now have enough data to scale your site or to improve performance in terms of code.

0
source

Source: https://habr.com/ru/post/1441560/


All Articles