Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


March 25, 2002

Fully Automated Testing with LoadSim 2000


RSS
Subscribe to Windows IT Pro | See More Performance Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Load Testing Exchange 2000

To fully automate your Microsoft Exchange Load Simulator (LoadSim) 2000 testing environment, enable autologon on your clients. Map a drive (e.g., the Z drive) to the server-based location of the .sim file that you created during LoadSim configuration. In the same location, place a batch file that automatically runs LoadSim through a command such as

loadsim –r –f z:\simfile.sim

In the \programs\startup folder on each client computer, place a shortcut to the batch file. Web Figure A shows the LoadSim command-line options; as you can see, you can even run the topology-creation and initialization steps from the command line.

Place the shutdown.exe utility (from the Microsoft Windows 2000 Server Resource Kit) in the same folder as a kickoff.bat batch file that lists all the clients’ names. (You can use the Net View command to dump the names to a text file.) Your batch file will resemble the following:

SHUTDOWN /R /C \\CLIENT1
SHUTDOWN /R /C \\CLIENT2
SHUTDOWN /R /C \\CLIENT3

To kick off the test, execute the kickoff.bat batch file, which will reboot the clients; at reboot, the clients will automatically run LoadSim. Before running additional tests, however, follow the instructions in the Web-exclusive sidebar "Testing Options and Additional Tests".

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Task Automation Whitepapers From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Bail Out Your Exchange Environment

Check out our list of Free Email Newsletters!

Task Automation eBooks Spam Fighting and Email Security for the 21st Century

A Guide to Windows Certification and Public Keys

Keeping Your Business Safe from Attack: Patch Management

Related Task Automation Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement