Category Archives: Testing practice

Everything about testing in practice: hints, use cases, etc.

Extreme online shopping with WAPT Pro

Recently we have discovered that our load testing solution can be applied in a quite unusual way. One of our users has shared his “success story” with us. It perfectly shows how widely you can apply the product if you know its features very well and have a good fantasy.

The story is actually about Cyber Monday online shopping. You know, some web sites run very special actions to attract customers. They sell limited number of items at exceptionally low prices. In theory you can make a very good deal if you participate. In practice this is almost impossible, because each new item is ordered by someone immediately after it becomes available. Here is where WAPT Pro appeared to be a great automation solution. Continue reading

Posted in General, Testing practice, WAPT usage | Tagged , , , , | Leave a comment

Load testing a mobile website for iPhone

While mobile devices are replacing PCs for almost all possible applications, the Internet is also changing to address this technology shift. On the other hand, despite the unbelievable progress in the performance characteristics of smartphones and handheld computers, they are doomed to stay different from PCs by one parameter: screen size.

That is why most web sites offer different content when they are visited from a mobile device.

Of course, this content is usually just a reduced version with a very similar functionality. However the implementation of the underlying web application can be different.

As a result, your web site can experience significantly different performance problems when it is accessed by multiple mobile users.
Continue reading

Posted in Testing practice, WAPT usage | Tagged , , , , , | 3 Comments

Stress testing a web site with 100,000+ virtual users

It is not a typical load testing project when you need to create 100 thousand virtual users. More than half of all web load tests are conducted with just a thousand virtual users or less, because higher load is not actually anticipated on the target web site in production.

Note that we are not talking about the number of users per day or hour. Those are concurrent users working with the web site simultaneously, in parallel.

At the same time a huge load mentioned in the title of this article is not a fantasy.

Such tests are really required for web sites with growing audience and advanced client functionality. Imagine any web site that delivers customizable user-dependent content updating dynamically: stock quotes, online meetings and chats, monitoring tools, etc. […] Continue reading

Posted in Testing practice, WAPT usage | Tagged , , , , | 4 Comments

Creating a load test report

One of the most common questions in load testing is how to create a good test report that you would be able to present to your manager or customer. This big question actually consists of many smaller ones. What to start with? How to create the right test? What load parameters should be applied? How to interpret the results? Which numbers to look at when you browse through a long report generated by a load testing tool?

I will hardly answer all these questions and present the complete methodology in one article. This would be a long story and… it would be too boring. I know that there is a 90% chance that you really need something more simple and ready to use right away. I will simply present an example of the load testing report. A typical one, if you want. Continue reading

Posted in Testing practice | Tagged , , , , | 69 Comments

HTTP Redirects

Each HTTP response produced by a web site contains status code. Browser uses that code to interpret the meaning of the response. Basically there can be three different cases:

The request has been processed successfully by the server and the response body contains the requested resource (web page, image, etc.).

An error has occurred.

Server redirects the request to a new URL.

In the latter case the response contains a special “Location” header in which the new URL is provided. When browser receives such response, it automatically issues a new request using the specified URL. This way it can be redirected even to a different web site. The whole thing is done automatically, so the user does not see the process in the browser window. […] Continue reading

Posted in Testing practice | Tagged , , , , , | Leave a comment

Verifying a test before run

Designing a test for a web site with essentially dynamic content may be a rather complex and time consuming task. It is similar to programming in some respect. Even though there are good testing tools that let you automate the … Continue reading

Posted in Testing practice, WAPT usage | Tagged , , , , | Leave a comment

On parameterization

To create a load test we record a typical user session with help of a browser and a load testing tool. We want to use that session as a template to emulate hundreds or even thousands users working with our … Continue reading

Posted in Testing practice, WAPT usage | Tagged , , | 12 Comments