Recently JDS was given a good reminder of why VuGen’s Download Filters are an important product feature.
Someone created a BPM script to monitor the performance and availability of the JDS website.
Suddenly our website traffic looked like this on Google Analytics…
The VuGen script was requesting http://www.google-analytics.com/__utm.gif and http://www.google-analytics.com/ga.js each time it ran, which was polluting our usage statistics.
One of the key issues with BPM scripts is separating synthetic transactions from real transactions when application owners retrive usage statistics for their system. Different solutions are used depending on the type of application, and the method of statistics collection.
Here are some techniques we have used in the past:
- Use a special account number that will be excluded from reports
- Add a special SOAP header that will differentiate BPM requests from other requests
- Use a special queue for requests for BPM requests
- Change the User-Agent string that is sent with each HTTP request to identify the request as coming from a BPM
But the most common thing to do is to add a Download Filter to your VuGen script so that resources that are used to track usage (like http://www.google-analytics.com/__utm.gif) are never downloaded by the script.