I would like to know how to do performance testing for the old asp pages. Any tools out there that you've used?
It used scripting on the server to create content that would then be sent to a client's web browser, and as a result it enjoyed a tremendous amount of success. Classic ASP, however, is no longer being developed by Microsoft at all – it has long since been replaced by ASP.NET in 2002, a newer alternative.
The answer is clearly "Yes, Classic ASP is supported, and No, it will not disappear". To convince you, with each new version of Windows Server, Microsoft indicates a total support of the ASP platform throughout the lifecycle of Windows Server, i.e. at least 10 years from its release.
ASP Classic is comprised of VBScript or JavaScript interpreted at run-time which means each page has a specific performance hit doe to line by line interpretation. The interpretation of the pages simply results in some inefficiency. ASP.NET however compiles the code the first time it is accessed.
Click Start, and then click Control Panel. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.
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>
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With