Sign-up Now For Free 30-day Trial

LoadView Stress Testing™ Platform

Web Load Stress Test
Printable version

As a business grows so do the loads on its website, web applications, and network infrastructure. These additional loads can impact the performance of a website, and negatively impact a visitor’s experience of a website. Dotcom-Monitor® Web Load Stress Test tool answers these important web load questions, before they become a problem.

Answer these questions:


Try the Stress Test to configure a mock test and determine costs.

Web Load Stress Test: how it works

Dotcom-Monitor®’s Web Load Stress Test utilizes remote agents positioned worldwide to simulate real users applying a load of web "hits" to a website. Using the online interface to Web Load Stress Test the tester can set up the specific test conditions for the website or web application to ensure the most accurate test.

Initially, there are two options for stress testing, the Cycle Option and the Time Option

Cycle Option:

This type of stress test is the simplest option and is often used to determine the maximum load a website can handle before an unacceptable level of time-out messages and error codes occur. It specifies the total number of virtual users and the number of times that each virtual user will go through a transaction.

Cycle Option Example:

A test example would be a shopping-cart transaction that has seven steps and is being completed by 200 simultaneous users, where each user completes the transaction 100 times. In this example, Dotcom-Monitor® agents execute the transaction 20,000 times (200 users x 100 cycles), and since it is a seven-step transaction, 140,000 Web server requests will be generated. When the cycle option is executed, there are no delays between hits, so Dotcom-Monitor® puts the maximum load at any given time to your target environment.

The repetition of the shopping transaction provides an excellent gauge of whether the application will work correctly under a 200 user load.

The Cycle parameters include:

the number of simultaneous virtual users, the number of steps in the application, and the number of times each virtual user cycles through an application.

Time Option:

Often used to test a website under changing conditions similar to a real-life, a Time Option stress test setup is similar to an actual user web load scenario because it provides for more flexibility in its setup. A Time Option allows for the set up of several discrete testing steps, which can each have variations, during the stress test. Those variations within each step can include the number of virtual users (the load), the number of minutes to run under such a user load, and the minimum and maximum time delays between user hits.

Time Option example:

For example, again using the seven-step shopping cart scenario, with the knowledge that actual users usually spend on average between three to seven seconds between clicks and that the application should handle approximately 100 simultaneous users. To measure the application response times under different user loads, the following test can be executed using the time option.

Step Time to Run (min) Users Min Delay (ms) Max Delay (ms)
1 5 50 3000 7000
2 5 100 3000 7000
3 5 100 1000 2000
4 5 200 0 0

In this example, the stress test will run for 20 minutes. For the first five minutes, it will run with 50 users generating random delays between three to seven seconds. This should establish a base line for the application. Then, the test will scale up to 100 users with the same delays. This is the target test. From here, deviations can be set up to determine how the application performance changes under different conditions. For example, note that in Step 3, the user’s time decreased; and in Step 5, there was a maximum load of 200 users without any delays.

The Time parameters

of each step can include variations in: the load number of virtual users, the number of minutes to run under such a load, and the minimum and maximum time delays between hits to the website.

Starting a Stress Test

After choosing either a Cycle or Time option and inputting the parameters, a precise time (usually within 5 minutes of completing the setup process) when testing will start is setup. Once the test is configured, click Submit to display the cost of the test. After clicking Agree, the stress test will be queued. To view real-time testing progress during the test, click Continue. To terminate the test click Cancel.

During the test Dotcom-Monitor®’s worldwide agents equally divide the simultaneous Virtual Users and start load testing the web application. The result is a comprehensive view of the web application and its ability to manage Virtual Users.

Try the Stress Test to configure a mock test and determine costs.

Benefits of an external Web Load Stress Test include:

Benefits of an External Web Load Stress Test versus an Internal Stress Testing

There are number of internal applications available on the market for performing a stress test. While they vary in features and price, they all share one thing - they all test from inside the network, from a computer located closely to a web server.

While an internal configuration provides some insight into the performance of an application, it is not as accurate as an external web load stress test system, especially when measuring how a website will respond under a heavy load of Internet users. An end user’s experience is dependent on several components of within a network, including components of the Internet Service Provider (ISP).

Dotcom-Monitor® web load stress test agents are located worldwide, and the resulting stress test data also reflects how users experience the website in those parts of the world. For example, some worldwide locations may perform better then others during the stress test, which may suggest important adjustments are to website settings with various ISPs.

In the end, an external load test stress test is a more reliable simulation of an Internet user’s interactions with a website or web application than an internal stress test and provides a more accurate report on a user’s experience.

Recommended Monitoring Activities during the Stress Test

During a stress test, monitoring and recording of CPU, Memory and hard disk utilization is recommended. If a tested web server is connected to a database, or application servers, monitoring and recording of these applications is also recommended.

Also, because Dotcom-Monitor® agents are external to the tested network, monitoring of routers, firewall, and any other network components between the Internet provider and web server is recommended. By monitoring and recording activity on each server and network component it is possible to pinpoint bottlenecks, which is particularly useful if the results of the load test are not what were expected.

Moreover, if the precise time on the tested server is correlated to the Dotcom-Monitor® agents’ time, a direct time correlation between the loads on servers with the applied user load at a specific time can be reviewed in the detailed reports. All Dotcom-Monitor® virtual agents are synchronized with atomic clocks to a sensitivity of up to one millisecond (0.001). Dotcom-Monitor® reports provide the number of users in absolute time, therefore to conduct time correlated testing and reporting the timing must be precise.

Pricing:

Web load stress testing costs vary based on the number of server requests (“hits”) needed to complete the test. For example, a Cycle test with 100 simultaneous users, a five-step transaction, and 100 cycles through the transaction means the total number of hits is 50,000. Cost is based on the total number of hits, which determines the cost per hit (the higher the number of total hits, the lower cost per hit), as follows:

Number of hits <10,000 10K-20K 20K-30K 30K-40K 40K-50K 50K-60K 60K-70K 70K-80K 80K-90K 90K-100K >100K
Cost per hit $0.01 $0.009 $0.008 $0.007 $0.006 $0.005 $0.004 $0.003 $0.002 $0.001 $0.0009
Try the Stress Test to configure a mock test and determine costs.
Our Blog