Running Tests

This document describes how to run a load test immediately from the Test tab. As of 2013 R1, you can also add load tests to a test list and schedule them for remote execution.

When you have finished designing your load test and are ready to begin a load test run, click the Run button in the Steps ribbon.

Run

Prior to executing the load test there are two parameters you can adjust:

  • Test Run Description - Add a description that will be saved along with the test results. Enter any meta data you want here. You might want to record something special about the environment being used or the build of the application being tested. This can serve as a reminder when looking at all the full list of accumulated test results.

Description

  • Sampling Rate - Specify how often you want to take snapshots of the load test performance data. Each sample will be stored in the Results database. Specifying a sample rate that is too short for a long test may overly burden your Load Reporter and/or the SQL database with incoming data. Specifying a sample rate that is too long will reduce test result granularity. If the sample rate is equal to or longer than the length of the load test, there will be no results at all.

Sampling Rate

Choose an appropriate value for the Sampling Rate property for the load test run based on the duration of your load test. A smaller sample rate, such as the default value of 5 seconds, requires more space in the load test results database. For longer load tests, increasing the sample rate reduces the amount of data that you collect.

Here are some guidelines for sample rates:

Load Test Duration Recommended Sample Rate
< 1 Hour 5 seconds
1 - 3 Hours 15 seconds
3 - 6 Hours 30 seconds
6-12 Hours 1 minute
12-60 hours 5 minutes
> 60 hours 10 minutes
  • Goals – Set goals for load test metrics to define success or failure. You can choose a metric from the list and define the failure condition, add a custom goal, and choose to ignore goals for an initial period. To set a goal from the list, check the box next to the metric you want to measure and input the value for the failure condition.

Goals

You can choose to stop the test if this goal is met.

Goal Met

You can choose ‘Add custom goal’ and define a new failure or success condition for any metric.

Custom Goal

Click Run this test to initiate execution of the load test.

Run Test

When the test begins, Test Studio will automatically switch to the Test Details screen and show you the test as it is being executed. See the Analyzing Results page to learn how to use this screen.