Fully Automated Testing with LoadSim 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".

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.