How To Perform Load Testing For Websites?

How To Perform Load Testing For Websites?
November 25 12:30 2011 Print This Article

In order to realize how load testing works for websites good software tester firstly need to realize how websites operate.

Well, websites have a web server installed on the server. The user sends a request to the web server and obtains a response.

How To Perform Load Testing For Websites

Let’s imagine that you type http://qatestlab.com/. The web server senses it and sends you the home page as a reply. This takes place each time you click on a link.

So if you want to perform load testing you need just to multiply these requests and replies several times (for example “N”). This is what an automation tool does.

It first captures the request and response and then just multiplies it “N” times and sends it to the web server. The results are in load simulation.

So as soon as the tool captures the request and response, you just need to multiply the request and response with the virtual user.

Virtual users are logical users which in fact simulate the real physical user by sending the equal request and response.

But if you want to conduct load testing with 10 thousands users on an application be ready that in fact it is impracticable. But if you use the load testing tool you just need to create 1 thousand virtual users.

Related Posts:

  • No Related Posts

About Article Author

view more articles
Nataliia Vasylyna

View More Articles
  • http://www.ces.com.uy Matias Nassi

    In my opinion and experience what we must record and “multiply” to simulate some load to the server are only the requests. It doesn’t make sense to send the responses since the server will not even understand them (it will only be able to understand GETs, POSTs, and possibly few others HTTP request types). In fact, that is what the vast, if not all, performance testing automation tools such as JMeter and OpenSTA does (i.e.: record all the requests sent to the server and then reproduce them N times concurrently using logical/virtual users)

    Regards from Uruguay

  • http://es.agileload.com/ Diego Romero

    There are many right points in your article. I have to add this, if you really want to make your web application succesfully handle hundreds or even more users, you should start thinking about using a tool to emulate virtual users with the record function that allows you to simulate a behavior pattern on the users. There are a few tools that offer a free version.

    Regards.