Adding tests

You can add a test to the Dynatrace Portal by recording a transaction in the Web Recorder or by provisioning a script uploaded from the Windows Recorder.

To create a test in the Web Recorder, see Using the Web Recorder and Recording a Transaction.

To create a test by entering one or more URLs or by selecting a Windows Recorder script:

  1. Click > Tests. The Tests page appears.

  2. Click Add Tests.

  3. Use the test configuration pages to define the test, as described below.

New Last Mile, Private Last Mile, and Mobile tests may take up to 3 hours to start running after they're provisioned, because of the way the scheduler assigns tests to the measurement locations.

Choose test combinations

  1. Select the combinations of test types and browsers for the test(s).
    The test combinations selected here determine which settings are available in the subsequent pages.
    Mobile tests cannot be provisioned with other products.
  2. Click Continue.

Add a Backbone, Last Mile, or Private Last Mile test

Specify URLs or scripts

If you selected any combination of Backbone, Last Mile, or Private Last Mile tests, you can do one of the following:

Specifying URLs

  1. Enter URLs is selected by default.
  2. Enter the URL of the web page to test.
  3. Click Validate.The system validates the URL by establishing a connection and looking for a response.
    If the URL is valid, the web page opens in a separate browser window.
    If the URL is invalid, a message appears. Click the message box, edit the URL, and re-validate.
  4. To include another URL in the test, click Add Another URL to create a new row, then repeat Steps 2 and 3.
  5. Click Continue.The Configure Settings: <TestType> page appears. Continue with Configure Settings.

Specifying scripts

  1. Select Choose scripts from your account. Your scripts appear in a table that displays:

    • Script name.
    • IP preference for that script.
    • Date it was last modified.
  2. Select one ore more scripts.
    Enter filter criteria and click to show only the tests that match the criteria.

  3. Click Continue.
    The Configure Settings: <TestType> page appears. Continue with Configure Settings.

Configure settings

The pages that appear here depend on the test combinations selected.

When you are adding a combination of Backbone, Last Mile, and Private Last Mile tests, the settings pages appear in the following order: Backbone, Last Mile, and then Private Last Mile.

  1. Either select a templateor select the settings for this test.
    If you select a template, you can modify the settings and optionally save them as a new template.
    For details about the settings, see the following pages:

  2. Click Continue. The Finalize Name and Confirm page appears.

Finalize name and confirm

Use the Finalize Name and Confirm page to verify the tests you provisioned and optionally, to edit the test name. This page shows:

  • The test name, which consists of:The script name or URL you specified for the test.
    • Script name or URL
    • Day and time this test was created
    • The number of tests provisioned
    • The type of agent that was used to create the test. Modify the name to identify the test purpose and details by editing the information in this field. Test names within a product must be unique.
  • The test combination, which is the test type and browser type.
  • The status, which shows whether the test is active or inactive.
  • The expiration date.

Do one of the following:

  • To confirm the information shown on this page, click Done.
  • To return to a previous page and modify the information, click Go Back.
  • To delete a test, select it and click Remove.

Add a Mobile test

Choose networks for a Mobile test

This page only appears if you selected Mobile in the Choose Test Combinations page.

Besides running on the Mobile carrier networks, Mobile tests can be provisioned to run on the Backbone and Last Mile networks to provide different perspectives of application performance.

A separate test is created for each network selected. If you provision a Mobile script to run on the Backbone network or Last Mile network, the test will be identified as Backbone or Last Mile in test lists.

Mobile

Select Mobile runs the test on the global network of real carrier networks. Select this option to view metrics from real-life mobile conditions. The Mobile network uses the Mobile Agent.

Backbone

Selecting Backbone runs the test on global Internet backbone locations. The Backbone network uses the Chrome Agent. When you provision a Mobile script to run on the Backbone network, the test is identified as Backbone in the Portal's test lists and has the same configuration settings as a Backbone test. After you provision the test, you can configure Network throttling to simulate the desired mobile network speed. For details, see Backbone Test Settings.

Last Mile

Selecting Last Mile runs the test on real-user desktops across the globe. The Last Mile network uses the Chrome Agent. When you provision a Mobile script to run on the Last Mile network, the test is identified as Last Mile in the Portal's test lists and has the same configuration settings as Last Mile tests. For details, see Last Mile Test Settings.

Specify scripts

If you selected Mobile as the test type, the Specify Scripts page appears; URL tests are not available.

Only scripts configured with the Mobile Agent can be used for a Mobile test.

The Specify Scripts page displays two types of scripts:

  • Mobile – These Mobile scripts do not include SMS action(s) and can run on all Mobile nodes.
  • Mobile-SMS – These Mobile scripts include SMS action(s) and can run only on Mobile SMS nodes.

The scripts you select determine the locations you can select in the next screen to configure the test. Selecting:

  • Mobile scripts displays all Mobile locations.
  • Mobile-SMS scripts only displays locations that support SMS.
  • Mobile and Mobile-SMS scripts only displays locations that support SMS.

Select the scripts and click Continue.

Configure settings

The Configure Settings: <TestType> page appears. The <TestType> matches the network you selected: A Mobile test that runs on the Backbone or Last Mile network uses the same settings as a Backbone or Last Mile test.

  1. Select the test settings. If you selected more than one network, the settings page for each <TestType> appears in turn. For details, see the help page for the <TestType>:

  2. When you finish configuring the test, click Continue. The Finalize Name and Confirm page appears.

Finalize name and confirm

Use the Finalize Name and Confirm page to verify the tests you provisioned, and optionally to edit the test name.

For Mobile tests, a separate test is listed for each network selected.

This page shows:

  • The test name. Modify the name to identify the test purpose and details by editing the information in this field. Test names within a product must be unique. The default name consists of:
    • The script name or URL you specified for the test.
    • Script name or URL
    • Day and time this test was created
    • The number of tests provisioned
    • The type of agent that was used to create the test.
  • The test combination, which is the test type and browser type.
  • The status, which shows whether the test is active or inactive.
  • The expiration date.

Do one of the following:

  • To delete a test, select it and click Remove.
  • To return to a previous page and modify the information, click Go Back.
  • To confirm the information shown on this page, click Done.

Additional configuration

After adding a test, optionally: