Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  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 log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...


Task Automation Whitepapers Essential Guide to E-discovery and Recovery for Microsoft Exchange

Continuous Data Protection and Recovery for Microsoft Exchange

Protecting (You and) Your Data with Exchange Server 2007

Related Events Storage Consolidation for Your Microsoft Applications: Reducing Cost and Complexity

The Myths & Truths of Email Management with SharePoint

Top 10 Email Security Challenges and Solutions

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 Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


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 Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing