What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Are there any tricks for asp.net web applications which utilize asynchronous loading.



We are using the Paessler web server stress tool to test our asp.net web application. Our web app keeps an audit log of user actions, however, in order to improve performance, the audit logging is handled asynchronously by the web app. The result of this is that when running Paessler web server stress tool against our application we do no see any of the audit log entries written to the database.

Is there anything that can be done about this from the web server stress tool configuration side? I don't know if the problem is that we are stressing the server so much it just never gets to process the background threads, or if the tool is killing the worker processes before they get a chance to process the audit logging. Anyways, if anyone has any ideas I would greatly appreciate any help on this.

asynchronous loading-time web-app

Created on Sep 17, 2012 10:30:05 PM

3 Replies



By design webstress does not parse the HTML it receives (and it does not process any Javascript in the pages either). Webstress is a HTTP request generator, not a browser simulator. So it is normal for your test not receive any audit logs.

You could create a "URL Script" inside Webstress where the first URL of the test is the original page and all other URLs of the script are the audit log URLs which are usually created by AJAX. See the URL Script section of the manual.

Created on Sep 19, 2012 1:21:22 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6



Thanks very much for the reply. This is helpful. I am interested in creating a 'URL Script' which more accurately tests our application. However I am unsure of how to go about doing this.

One thought I had would be to run through the normal test click sequence against the app, and then examine the IIS logs, and then use that information to generate the URL Scripts. Does this sound like something close to what I want to do?

Created on Sep 21, 2012 5:45:43 PM



Yes, that's the correct approach. Either use the logs of IIS or use a HTTP tracer tool like Fiddler (http://www.fiddler2.com/fiddler2/) to find the URLs and then write a script based on these URLs.

Created on Sep 24, 2012 11:46:30 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.