IIS7 post #32 - Web Application Stress Tool on Vista

I was messing around with Powershell and IIS7 trying to list the executing requests.  Since my local environment isn't very busy, I loaded Web Application Stress Tool.   This tool has no problem generating enough requests.  You'll need to load one DLL called msvcp50.DLL not include with Vista.   The installer looks for this DLL.

I created a Default.asp page that writes the Date / time and hit this with WAST.

<% response.write Now() %> 

Here is the Powershell script

[System.Reflection.Assembly]::LoadFrom( "C:\windows\system32\inetsrv\Microsoft.Web.Administration.dll" )
$sm = new-object Microsoft.Web.Administration.ServerManager
$sm.workerprocesses | foreach-object {$_.GetRequests(0)}

Here is the WAST Settings

Here is the output from the powershell script

Published Saturday, March 10, 2007 3:32 PM by steve schofield
Filed under: , , ,

Comments

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Wednesday, March 28, 2007 4:47 PM by Tristan

Any chance you could provide further details on how to get the web application stress tool running on vista? I'm not quite sure what you mean by "You'll need to load one DLL called msvcp50.DLL not include with Vista."

Any help woul dbe very much appreciated,

Thanks.

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Thursday, March 29, 2007 11:59 AM by steve schofield

Yes, download the web application stress tool and try to install it.  You'll get an error msvcp50.dll is not available.  Find the DLL on an older OS or the internet and place in the c:\windows\system32 folder.  Then re-run the install.  Hope that helps.

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Wednesday, May 16, 2007 5:23 AM by schmitti81

I try to run WAST on Windows XP. I get this error message when I try to add a perf counter:

"Failed to load the perf counters from the computer".

What is wrong?

Please help me!

Thanks

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Tuesday, June 12, 2007 6:27 AM by Kiton

I think no one know about how to fix it. The latest build done in 1999 so it may be working only with 98 and older.

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Wednesday, July 18, 2007 11:11 PM by chandra

Thanks !, copying  msvcp50.DLL  to system32 folder worked for me.

Although I ran into some error. Later figured its just because of low user previleges. Everything runs fine as Administrator User.

You might run into following error if you are not administrator user

When executed a popup error ' WebTool has not been correctly installed as NT Service' . Install now ?'

would show up.

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Thursday, July 26, 2007 8:50 AM by Venkat

Hope Chandra comments are correct and going forward with the steps provided in similar types of issues in vista

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Thursday, September 13, 2007 12:30 PM by Yoj

I am getting error when i am trying to set the Perf counter in the stress tool. anyidea! why is it so,

# re: IIS7 post #32 - Web Application Stress Tool on Vista

Thursday, October 25, 2007 8:17 AM by Andreas

I'm also unsuccessful trying to add Pref counters in XP. And msvcp50.dll is already in the system32 folder on the XP machine.