Excluding URLs from AJAX Synchronization

To better facilitate the testing of AJAX-based Web applications, specific URLs can be excluded from browser synchronization.

To illustrate the value of this, imagine that an application displays server time by polling data from the server. This service requires a constant stream of traffic between the client and the server. This presents a challenge to AJAX synchronization because the application never goes into an idle state. By excluding this service from synchronization, other application processes that use different services can be accurately tested.

  1. Right-click a profile in the Project menu tree and select Edit Profile. The Profile - Simulation window opens.
  2. In the Replay group box, click the down arrow to scroll down. Click Web (Browser Driven).
  3. Select the Synchronization tab.
  4. Enter URLs to be excluded into the URLs to exclude from synchronization text field.
  5. Click OK.
Note: When URL exclusion is not feasible due to there being multiple processes running within a single service, you need to disable AJAX synchronization and switch to HTML mode.