Monday, November 8, 2004

305.aspx

Microsoft ACT standalone installation

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!

11 comments:

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

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

    ReplyDelete
  3. Thank you very much !

    This allows to install ACT on a windows 2000 server for testing a server on a production LAN.

    ReplyDelete
  4. 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.



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

    ReplyDelete
  6. could you recommend good book on ACT. thanx.

    ReplyDelete
  7. 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.

    ReplyDelete
  8. Sorry wrong url for my blog with my last post :(

    ReplyDelete
  9. Thank you very much !

    This allows to install ACT on a windows 2000 server for testing a server on a production LAN.

    ReplyDelete
  10. Very useful information, thanks.



    Can I add this article to my site?

    ReplyDelete