Synthetic Classic has reached end of support and is no longer available. Existing Synthetic Classic customers have been upgraded to the all-in-one Dynatrace software intelligence platform.

Using the New Script command

Use the New Script command to create a script by manually organizing actions instead of by recording. Creating a script manually requires detailed knowledge of the script actions' settings and criteria. For more information, see the Advanced Scripting Guide.

  1. From the File menu, select New Script. The script settings window appears, with the Profile tab displayed.
    If the profile is not displayed, click the Script button to display the script settings tabs.
    If you have defined global preferences, the default profile is automatically applied.

  2. Define such details as whether the script is for a browser or a mobile device, headers, any parameters the script requires, whether the script includes Flash or Silverlight, any client certificates required, and host or IP mapping for the target hosts.

  3. The default name New Transaction is displayed above the Profile tab. Click edit name to assign a unique name to the script.

  4. Add actions to the timeline at the top of the Recorder window.

Click the action separator line timeline action separator to the right of the Script button to add an action.

For instructions on adding actions, see Editing script actions. For detailed information about the actions, see the Script Actions topics.

After you complete the script, you can play back, save, and edit the script.

It is recommended that you add a test at the end of the script whenever possible to make sure the script ends correctly. Add a Validate action for each page to ensure that the script executes correctly and without content errors.

Flash objects

If the script includes interactions with Flash objects, see Recording and playing back Flash for more information.

HTTP authentication

During the recording of a script, if the agent encounters an HTTP authentication request and prompts you for the username and password, these credentials are inserted in the step.

You can also add this information manually to the step after you finish recording:

  1. Click the step name in the timeline.
    Select the step name
  2. If necessary, click the small right-pointing arrow  next to the step name below the timeline to display the HTTP Authentication fields.
    HTTP authentication fields
  3. Enter the Username and Password for basic or digest HTTP authentication. For NT LAN Manager (NTLM), also enter the Machine Name and the Domain Name.

The information is saved automatically.