Test configuration settings can be saved as a test profile. A test profile consists of a Load Pattern, Test Duration, Browser Types, Network Types, Pass/Fail settings, Result storage, Host remappings, and VU distributions. A test can have one or more test profiles that can quickly be loaded and executed across various tests.

For example, there may be a test profile for a functional test, smoke test, stress test, and endurance test. Each profile will have a different number of VUs and duration. A different profile can be selected on each test run depending on the need.

Creating and executing a test profile

By default, every test has one test profile called Untitled. To create a new test profile, click Clone the selected test profile button. The profile and all its properties will be cloned into a new profile.

To edit the properties of the new profile it must first be selected as a current profile. Double-click or right-click the profile > Select As Current (1) to make the new profile current. Set the name of the new profile by typing it in the property grid below (2). The name of the active profile appears in the Workflow tree next to the Test Profile node (3)

The test configuration settings from the current profile are used during test execution. If running a test from the command line, use the /run-profile flag as described here to specify the profile to run the test with.

Importing test profiles

Test profiles can also be imported from another test. Click Import test profile profiles from another test button to bring up the Test profiles importer dialog

Select one or more test profiles to import into the test.

Copying test profile properties

Test profile properties can be copied from one test profile to another. For example, if an SQL database connection string changes, it must be updated in all test profiles.

  1. Change the SQL database connection string in one test profile
  2. Click the Copy button in the toolbar to bring up the test profiles picker
  3. Check one or more test profiles to copy the properties to
  4. Click OK

  • No labels