Any suggestions for effective automated web load testing?

What are good automated tools for stress testing (stress testing) of web applications that do not use the recording and playback of HTTP network packets?

I know that there are many load testing tools on the market that record and play HTTP network packets. But they are not suitable for my purpose, because of this:

  • The format of the HTTP package very often changes in our application (for example, when we optimize the AJAX call). We do not want to adapt all test cases just because there is a slight change in the format of the HTTP package.

  • Our test group should not know any internal details about our application to write our test scripts. However, a tool that repeats HTTP packets requires the team to know the format of the HTTP requests and responses so that they can adapt the details of the repeated HTTP packets (for example, username).

The automatic load testing tool I am looking for should be able to give the test team the ability to write black box test scripts, for example:

  • Call the web page at http: // ....
  • First enter XXX in the XXX text box.
  • Then click the XXX button.
  • Wait for a response from the web server.
  • Verify that the XXX text box now contains the text XXX.

The tool should be able to simulate up to several thousand users, and it should be compatible with web applications using ASP.NET and AJAX.

+6
ajax stress-testing load-testing
source share
5 answers

TestMaker from PushToTest.com can run recorded scripts like Selenium, as well as many different languages โ€‹โ€‹like HTML, Java, Ruby, Groovy, .Net, VB, PHP, etc. It has a common reporting infrastructure, and you can create workloads in a test lab or cloud test environments such as EC2 for virtual test labs.

They provide free webinars on how to use the open source testing tools on a monthly basis, and they will be available next Tuesday.

http://www.pushtotest.com

0
source share

JMeter I found it very useful, it also has a recording function to record use cases, so you do not need to specify each GET / POST manually, but rather a โ€œclickโ€ use case once, and then repeat JMeter this.
http://jmeter.apache.org/

+2
source share

A license can be expensive for it (if you do not have MSDN), but Visual Studio 2010 Ultimate has a large set of download and stress testing tools that do what you describe. You can try it free for 90 days here.

+1
source share

There are several approaches; However, I was in situations where I had to roll back my own utilities to create a load.

As for your test script, it includes:

  • sending a GET request to the input page http: // (checking only 200 response)
  • sending a POST request to the http: // form submission page with pre-generated key / value pairs for text XXX and performing a regular expression check in the response

If your web page is not complex AJAX, there is no need to "simulate a button click" - this is what the POST request takes care of.

Given that your test consists of only a two-step process, there should be several automatic download packages that could do this.

I previously used httperf to load a large website: it can simulate a session consisting of several requests, and can simulate a large number of users (i.e. sessions) at the same time. For example, if your website generated a session cookie from the home page, you can make the first request, httperf will then use this cookie for subsequent requests until it completes the list of requests.

0
source share
0
source share

All Articles