Filter out URL in AJAX TruClient Script

When you are scripting using Ajax TruClient protocol and if you encounter the following warning in the replay log (both develop mode and interactive mode)

Notify: Transaction "LastPage" started.

t=00019145ms: Warning -204876: Failed to connect to server "www.XXXXX.com": Connection timed out [MsgId: MWAR-204876]

Notify: Transaction "LastPage" ended with "Pass" status (Duration: 11.3730).

We want this URL in the warning to be filtered out. It looks like the time duration for the transaction is adversely affected due to trying to reach this URL and timing out.

Is there a way to filter the URL in the warning in AJAX TruClient with Firefox so that the warning does not show up ?

Solution

Add the following line to the script to filter out the URL :

Utils.addAutoFilter("http://www.XXXXX.com/*", false);

Advertisements

One thought on “Filter out URL in AJAX TruClient Script

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s