Download page Configure Synthetic Jobs.
Configure Synthetic Jobs
This page describes how to use the Controller UI to configure a synthetic job. You can schedule when, where, and how often a job runs, set timeouts, configure performance thresholds to trigger warning and critical events, and customize connection speeds. Before configuring a job, seeGetting Started with Browser Synthetic Monitoring.
Specify your Test
Synthetic Jobs use either a specific URL or webdriver script to test one or more web pages. If your site requires authentication, you must create a script which performs the authentication to log onto your site. See Synthetic Scripts.
To use a URL:
- Select Measure a URL.
- In the URL field, enter a site or page URL.
- In the Name field, enter a name for the job. This name appears in the Jobs list in the Controller UI.
To use a webdriver script:
- Select Run a Script.
- Select Python 3 or Python 2.
You can choose one or more locations in which the job runs. This can also be configured to test all of the locations every time or one location each time the job runs. For a complete list of Synthetic Agent locations, see Synthetic Agent Locations.
Hosted Agent Locations and Synthetic Private Locations
If you have deployed a Synthetic Private Agent Deployment, you can choose from Hosted Agent Locations or Private Agent Locations. The Hosted Agent Locations are where AppDynamics hosts public synthetic agents. The Private Agent Locations are where you are hosting your synthetic private agents.
A job can run on one or more different types of browsers. For mobile browsers, you can specify a platform, such as the iPhone 7 Plus or Pixel. When a job runs on mobile browsers, it is actually running a Chrome browser emulator with the specified platform properties.
All the browsers are running on either Windows 2012 or Windows 2012 R2.
Customize Connection Speeds
The connection speed helps keep performance consistent and realistic. If you choose Native Connection, the job will run at the maximum speed available to AppDynamics data centers. The default is Cable (5/1 Mbps 28ms RTT).
When you create or edit your job, you can define the job schedule. The job will run within the specified timezone. When you choose a timezone, the job schedule will not be affected by time changes in any other timezone, such as daylight saving time. The default timezone is GMT.
Synthetic jobs consume licenses based on the duration of the job, so you can set a timeout to help limit the license consumption. If the job times out, data will still be collected until the timeout expires. The default suggestion for job timeout is 15 seconds for a URL and 30 seconds for a script. You can adjust the timeout as preferred, but keep in mind that short timeouts might result in unsuccessful sessions, and long timeouts might result in overconsumption of licenses.
Configure Availability Rules
You can configure the synthetic job to check the availability of pages and resources. For example, you can set the session status for when a page fails to load or when a resource is missing or inaccessible.
The screenshot below is a configuration to treat the session as Failed if any page fails to load and to treat the session as Warning if any resource fails to load. If the job navigates to a page with an HTTP 4xx or 5xx status code, the session status will be set to
FAILED. This will trigger a Critical Event. If a resource fails to load, the session status will be set to
WARNING, which will trigger a Warning Event. To set up alerts, see Alerts for Browser Synthetic Monitoring.
Favicons are always ignored when checking the availability of resources.
Configure Performance Thresholds
You can specify the job performance thresholds to send alerting events. If you check one or both of the "Automatically retest after warning events" or "Automatically retest after critical events" boxes, and the event is generated, then the job will be triggered to re-execute immediately per unconfirmed warning or critical event. For example, if the Critical Events threshold is exceeded, the event Critical Started will be triggered and the job will rerun until the event Critical Continues is confirmed.
From the Events page shown below, you can see that the results of the first and successive tests exceeded the threshold for synthetic availability and triggered the Error Started, Error confirmed after restart, Error Continues, and Problem Ended events.