Dec 2, 2010

Website stress testing

It is important before Xmas season to know more about your website reliability. And of course the exact number of your customers what can you website serve.

Long time there were no tools to perform such an evaluation (except the direct traffic punch) but now you can analyze your website metrics and perform all necessary actions before it go down due to large amount of your clients. One of the best of such tools is Load Impact. Let's look inside this tool and see how simple can be your website bottlenecks analysis.

Configuring a test

Setuping a test. Step 1Of course most of features are available even with free website test. But to get the maximum details and perfect result you should register and use any of paid plans (they start from $9 per day or $39 per month, it's really cheap). So the first thing is to setup the test. You can use the only website home page URL to get almost all data about its reliability. But can get a bit more.

With Proxy recorder (under Advanced mode -> Load script generation -> Record session) you can setup a set of requests for your website (with various delays); this will completely emulate your visitors' behavior and can tell you how many simultaneous visits your website can serve.

Setuping a test. Step 2: configuring proxyProxy recorder can be configured in a few steps (you just need to enable a proxy on a given port inside your browser, Firefox in this case), then start recording and go through the target website (to collect all requests, even dynamic and AJAX ones). Then just stop recording and get all these requests in textarea.

Setuping a test. Step 2: verifying proxyPlease be sure that proxy is configured correctly and test proxy settings before starting the test.

Setuping a test. Step 3: choosing stepsBefore you finish with test setup you should choose amount of visitors to emulate. For a small website 50 visitors will be quite enough.

If you just want to test website reliability for 500-1000 visitors, you can setup step as 100 (not to overload the system and overhead traffic limit).

In the case if you need exact picture of server down due to high load you need to choose 10-20 visitors in step and get complete picture. But this can take several hours to be completed.

Before you can save the test you need to verify it. Usually it is just a formal procedure to be sure that test is correct.

Running a test

After you have created the proper configuration you can run it. Please be aware of long duration of test performance - it can take up to several hours. After test is completed you will get a lot of different charts about pages and resources performance. Let's consider them more.

Test results. Acc. user load timeThe main graphics are user load time and accumulated user time. The first will tell you the delay for users before they get HTML page under current amount of simultaneous users online. The second will tell you how website is working under load, how long its pages are being loaded (totally, server and client side), and where is the limit of its reliability (where time becomes more than 10-15 seconds).

Also you can simply compare how different type of resources are being loaded - to find bottlenecks and to fix them properly. For example you can have relatively fast HTML document, but a lot of expenses on dynamic images generation. Or main expenses will be concentrated in HTML latency only. This will appear only after the test is completed.

Resume

Load Impact is a very easy tool to perform such tests, and simple load tests are completely free. So you can quickly check your website reliability and be sure that you are ready for Xmas shopping season :)

4 comments:

  1. The the very next time I read a blog, Hopefully which it doesnt disappoint me around brussels.
    What i’m saying is, It was my choice to read, but I just thought youd have some thing interesting to convey.
    All I hear can be a couple of whining about something you could fix in the event you werent too busy in search of attention.

    Try to check my webpage - 오피
    (jk)

    ReplyDelete
  2. I would also motivate just about every person to save this web page for any favorite assistance to assist posted the appearance.Weight loss plan for women

    ReplyDelete
  3. You've completed in excellent work. t suggest to my frtends ind personilly wtll certitnly dtgtt. t'm conftdent they'll be gitned from thts webstte. Dog Car Seat Cover

    ReplyDelete
  4. Different functionalities may be available depending on whatever tool you use to load test your site. Simulating an ever-increasing load and stopping when your site collapses is the most basic method. Other tools may be able to generate a simulated load that mimics various user actions, such as running queries, updating pages, or loading more functions. Some people may even be able to diagram logical flows for each event. K6 is a cloud-based open source load testing service. One of the things that makes this tool appealing is that it is priced on a variable-use model, which means that depending on your demands, the cost of entry might be rather low. We have Top 10 Anime Games in 2020 You Can Download Free on PC here.

    Adam,
    https://www.emulatorpc.com/clash-mini/

    ReplyDelete