Newbie
Newbie

Reputation: 7249

Performance Testing for Classic ASP pages?

I would like to know how to do performance testing for the old asp pages. Any tools out there that you've used?

Upvotes: 6

Views: 7137

Answers (5)

AnonJr
AnonJr

Reputation: 2757

Way late to the question, but worth dropping in for the next poor soul who stumbles across this:

If you are looking to profile a particular ASP page, http://aspprofiler.sourceforge.net/ is absolutly awesome. I'd used it several years ago, forgotten I had it, and re-discovered it recently when trouble-shooting a page that took freakn'forever to load.

From their page:

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

This program is itself written purely in ASP and VBScript.

The only issue I had was that if a page recieved data from elsewhere, you can only input it via the QueryString.

Upvotes: 2

Patrick Cuff
Patrick Cuff

Reputation: 29786

These threads may be useful:

Like Vinko says, there's nothing "special" about testing ASP vs ASP.NET; any tool that can test one can (usually) test the other.

Personally, I like using LoadRunner for testing and the MS Visual Studio Analyzer for profiling.

Upvotes: 1

bh213
bh213

Reputation: 6529

Apache Benchmark, there is even Windows version. It tests number of request per second and average time

Upvotes: 0

TravisO
TravisO

Reputation: 9540

PS: I'm assuming by old ASP you are referring to "Classic ASP" not ASP.NET.

Here's a little piece of VBScript code I would put on pages to figure out how long they took to execute, you might 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>

Upvotes: 6

Vinko Vrsalovic
Vinko Vrsalovic

Reputation: 340211

There's nothing special as to how stress test an ASP web application. Profiling is a different matter.

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

I haven't profiled ASP applications so I cannot help you there.

Upvotes: 4

Related Questions