Performance testing for classic ASP pages?

I would like to know how to do performance testing for old asp pages. What tools did you use?

+6
performance asp-classic
source share
5 answers

There is nothing special about how stress testing an ASP web application. Profiling is another matter.

For stress testing, I recommend The Grinder (once and again and again :-))

I have not profiled ASP applications, so I cannot help you.

+4
source share

PS: I assume that the old ASP you mean "Classic ASP" and not ASP.NET.

Here is a small snippet of VBScript code that I would put on the pages to find out how long they ran, you may find it useful.

<% ' Start the timer starttime = timer() %> <!-- HTML and Code Here --> <% ' End the timer endtime = timer() ' Get the difference benchmark = endtime - starttime ' Output the timing result %> <div class="noprint"><div class="debug"> <span class="text">Execute: <%= benchmark %> secs</span> </div></div> 
+5
source share

These threads can be useful:

  • Finding performance bottlenecks on classic asp / sql website
  • Stress Testing ASP.NET
  • Profiling ASP.NET sites with the EQATEC Profiler

As Vinko says, there is nothing special about testing ASP and ASP.NET; any tool that can test can (usually) test another.

Personally, I like to use LoadRunner for testing and the MS Visual Studio analyzer for profiling.

+1
source share

Walking to the question, but it is worth dropping to the next poor soul who stumbled upon this:

If you want to profile a particular ASP page, http://aspprofiler.sourceforge.net/ is absolutely awesome. I used it several years ago, forgot what I have, and recently opened it when I was looking for a page that had to load.

On the page:

ASP Profiler is a line-level performance profiler for Active Server Pages (with VBScript). This shows how your ASP page works, what lines are executed how many times, and how many milliseconds each time. Especially for heavy data pages, you can see exactly which lines slow down the page and optimize where necessary.

This program itself is written purely in ASP and VBScript.

The only problem I ran into was that if the page was receiving data from other sources, you can only enter it through a QueryString.

+1
source share

Apache Benchmark , there is even a version for Windows. It checks the number of requests per second and average time

0
source share

All Articles