chatbotAI FAQ Chatbot chat_svgHuman Agent

The Art of Load Testing in Simple Steps

Created by - Dhnesh Dhingra ,

April 27, 2020, 2:41 p.m.

Load Testing is a common word for in IT companies uses by many but understood by a very few. How the system would behave in production environment, "Will the web server hold that many users", "Is the code optimized enough to handle too many web HTTP Requests", too many questions with a few little answers. So let's dig deep in how to test the server and what exactly your server configuration would be. And do you need a Load Balancer to incease the concurrent requests?

Load Testing in simple terms is the process of measuring and testing a website or a server when put under various load environments.
WebAnalyzer lets you test the capability of your website by simulating multiple users accessing your website concurrently. So you can get to see how the performance varies when tested in real time production scenarios. Reanalyze supports running load tests allocated over multiple machines each waiting to simulate thousands of simultaneous users.

You need only three inputs to enter
1. Number of Users to simulate
2. Number of Requests per second
3. Website to test

The number of users testing your application. Each one opens a TCP connection to the given website and tests it.
For each second, how many users will be added to the current users until the total amount of users.

So let's take an example, you want to create a simulation for your website load testing in production.

Number of users: 1000
Requests Per Second / Hatch Rate: 10

It means that each second 10 users added to current users starting from 0 sec to 100 seconds until you will have 1000 users. When it reaches to the number of users, the simulation resets itself.

We do not need to the complex knowledge of structure or design, WebAnalyzer simulator would handle this pretty smoothly, but we need to know how the stuff is working in a nutshell. So let's discuss that.

WebAnalyzer output factors consider the following factors while judging a Server.

Average Response Time (Sec) — It would be the average of all the requests simulated in the test scenario. The less the good.
Fail Ratio (%) — Fail Ratio is the number of requests are sent to the number of requests failed. Good Web Servers have 0 failure rates
Max Response Time (Sec) — The maximum seconds a requests takes to complete a round journey and returns a response.
Min Response Time (Sec) — The minimum seconds a requests takes to complete a round journey and returns a response.

WebAnalyzer also shows you a graphical representation of how many requests are completed in how many seconds which is a straightforward mirror to analyze any web server or website load handling capabilities.

So its fairly clear that With WebAnalyzer Report have all we need to test any website or server for load testing Scenarios. Like2:07 pm