/egilh

Learning by doing

Microsoft ACT standalone installation

Posted on Monday, November 08, 2004 4:02 PM

Microsoft ACT is great for stress testing web sites. The only "problem" is that you have to install Visual Studio .NET in order to use it. I use it frequently on my dev machine but some times it is useful have it on a remote machine for stress testing directly in a pre-production environment. The steps below shows how you can copy your local ACT installation to a standalone computer.

Pre-requisite: Internet Explorer 6.0

Steps by step instructions:

  • Copy the C:\Program Files\Microsoft ACT directory from you dev PC to the same directory on the remote machine
  • Create the Act.Reg and Register.cmd files below
  • Execute Register.cmd
  • Create a local user: ACTUser with the "User" rights
  • Set the Identify of the following COM objects to ACTUser (using dcomcnfg):
    • Application Center Test Broker
    • Application Center Test Controller
  • Give full control to ACTUser on the following WMI namespace using "Computer Management": Root/CIMV2/Application/MicrosoftACT


== Save as Register.cmd ==
c:
cd "C:\Program Files\Microsoft ACT"
regedit -s act.reg
for %%i in (*.dll) do regsvr32 /s %%i
ACTBroker.exe -regserver
actcontroller.exe -regserver
ACTRegMof.exe -i "C:\Program Files\Microsoft ACT\actnamespace.mof"
ACTRegMof.exe -i "C:\Program Files\Microsoft ACT\actbroker.mof"
ACTRegMof.exe -i "C:\Program Files\Microsoft ACT\actcontroller.mof"


== Save as Act.Reg ==
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ACT]
"AppPath"="C:\\Program Files\\Microsoft ACT\\"
"ProductCode"="{E05F0409-0E9A-48A1-AC04-E35E3033604A}"
"Feature"="AppCenter_Test_for_VS.NET"
"Version"="1.0.0536"

Disclaimer: Follow the instructions at your own risk and make sure you have a working backup!




Feel free to drop a few cents in the tip jar if this post saved you time and money

Feedback

# re: Microsoft ACT standalone installation

11/8/2004 8:14 PM by Marco Trova

Egil I was curios how you have found out all those dependencies..


# re: Microsoft ACT standalone installation

11/9/2004 8:40 AM by egilh

Hi Marco.
It took Mike and myself the better part of a day to get it up and running. We initially registered the dll and exe files as com objects and registered the MOF files.

The registry dependency were found with RegMon http://www.sysinternals.com/ntw2k/source/regmon.shtml

The rest was trial and a lot of error. Plenty of Access Denied errors until we compared the security on the com objects with a working installation.

Mike found the trickiest part; ACTUser rights on the WMI namespace created from the MOF files.

Cheers,
Egil


# re: Microsoft ACT standalone installation

11/9/2004 8:53 AM by Marco Trova

I was suspecting that you have a component that humans doesn't have: time! :-P


# re: Microsoft ACT standalone installation

2/25/2006 2:15 AM by Seb

Thank you very much !
This allows to install ACT on a windows 2000 server for testing a server on a production LAN.


# re: Microsoft ACT standalone installation

8/21/2006 5:29 AM by cdwm


You must also add the ACT user per KB article 328217
http://support.microsoft.com/?id=328217


# re: Microsoft ACT standalone installation

10/30/2006 6:25 AM by Coolfire

Egil, Thank you very much~ This is what I need!

To readers:

>Give full control to ACTUser on the following WMI namespace using "Computer >Management": Root/CIMV2/Application/MicrosoftACT

Run "wmimgmt.msc" edit security.




# 上周技术关注:ASP.NET AJAX under the hood secrets

12/4/2006 4:52 PM by 曾登高

???????ASP.NET AJAX???????,??????????????,??????????????“Batch calls are not always faster”?,????????????????,??“Browsers do not respond when more than two calls are in queue”,?????????ASP.NET AJAX??Web????????????????????ASP.NET AJAX?????????,???Web Service?????Cache?????,?????????CTP???????????????“??”,????????????????????????????????Function.createDelegate?????(??????????,??),?????Web...


# re: Microsoft ACT standalone installation

2/9/2007 12:39 PM by ReTox

Anybody knows maybe how to enable the chart control in ACT installed this way?


# re: Microsoft ACT standalone installation

2/12/2007 1:54 PM by Egil Hogholt

Microsoft Act uses the chart from Microsoft Office Web Components.

You can download them from the Microsoft web site [http://www.microsoft.com/downloads/results.aspx?pocId=&freetext=office%20web%20components&DisplayLang=en] or copy MSOWC.DLL from a PC where the components are installed. Save the DLL in the Microsoft Act directory and run Register.cmd




# re: Microsoft ACT standalone installation

7/12/2007 12:54 AM by Sunny

could you recommend good book on ACT. thanx.


# re: Microsoft ACT standalone installation

7/15/2007 2:41 PM by Egil Hogholt

The books below may help you. I have not read any of them but the look OK judging by the description:

Performance Tuning and Optimizing ASP.NET Applications [http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPerformance-Tuning-Optimizing-ASP-NET-Applications%2Fdp%2F1590590724&tag=coolorwhat-20&linkCode=ur2&camp=1789&creative=9325]

Performance Testing Microsoft .NET Web Applications [http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPerformance-Testing-Microsoft-NET-Applications%2Fdp%2F0735615381&tag=coolorwhat-20&linkCode=ur2&camp=1789&creative=9325]






# re: Microsoft ACT standalone installation

11/25/2007 4:56 PM by küresel ısınmaya hayır

The rest was trial and a lot of error. ?


# iyinet webmaster forumu

7/5/2008 3:30 AM by iyinet webmaster forumu

Ty but To readers:

>Give full control to ACTUser on the following WMI namespace using "Computer >Management": Root/CIMV2/Application/MicrosoftACT

Run "wmimgmt.msc" edit security.


# iyinet webmaster forumu

7/5/2008 3:31 AM by iyinet webmaster forumu

Sorry wrong url for my blog with my last post :(


Post Comment
Title
 

Name
 

Url

Protected by Clearscreen.SharpHIPEnter the code you see:
Comment