Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼

Jolt Awards 2014: The Best Testing Tools

, June 03, 2014 The best testing tools of the past 12 months
  • E-mail
  • Print

Jolt Productivity Award: StresStimulus v3.5

StresStimulus v3.5 is the kind of product we love to highlight in the Jolt Awards. It's developed by a small company with one product that it focuses on exclusively. In this case, it's a load testing tool, which is intended to deliberately stress systems to surface defects and bottlenecks. Typically, this is done by simulating many concurrent users who appear to be using the system simultaneously and thereby simulating peak load.

StresStimulus makes creating and running such a load stress test a breeze. The tool can be thought of having three parts:  test design (you record a test), add load configuration to the test, and obtain results as reports or graphs.

Recording a test using your favorite browser is easy. Once recorded, you can refine the test further by filtering out hosts that are not part of the test. A very interesting feature is the ability to parameterize requests. You can define variables — and include these as part of the request — and the values can come from a data set, a data generator, or a function. This is a very powerful feature. For a quick run, you can use the built-in random number generator. In cases where you need to drive the test with a carefully crafted data set, you can define a data set and populate the test by importing a CSV file.

Browser caches usually interfere with test runs. And you should start the recording with the cache cleared. However, clearing the global cache may take a long time, and you may not want to clear all cache data. The handy StresStimulus recorder can clear only those resources that are related to the tested websites.

Load configuration involves specifying how many virtual users the run needs to simulate. You can also specify whether all these users run at the same time ("Steady load") or whether their numbers increase in steps ("Step load"). These options give you a pretty good simulation of a real world scenario. 

After the setup is complete, run the test. Once the run completes, you have access to multiple perspectives to analyze the data effectively.

You can look at graphs to see how various important metrics (such as number of users) correlate with the pending requests. For example, pending requests going up clearly indicates that the system slowing down. You can choose what metrics to view for easy comparison. A test summary page shows the fastest and the slowest pages, and you can also check out the previous runs.

Modern browsers issue requests in parallel to download pages faster. StresStimulus has good support for simulating this concurrency, so a test run can emulate a real world scenario effectively. You can fine-tune the requests to fire concurrently via the Page Breakdown feature.

Overall, StresStimulus is a very nice tool that makes load testing so easy you will end up doing it more often.


— Atul Khot

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.