New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


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

Votes:

0

Your Vote:

Up

Down

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 by  stevetmhc (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

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] (10,921) 3 4



Votes:

0

Your Vote:

Up

Down

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 by  stevetmhc (0) 1



Votes:

0

Your Vote:

Up

Down

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] (10,921) 3 4



Please log in or register to enter your reply.


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.