Export (0) Print
Expand All

Exchange Server Stress and Performance Modules

 

Topic Last Modified: 2006-12-06

Exchange Server Stress and Performance provides a common script language that can be used for all scripts. It also enables each module to extend the language for its own needs.

The script verbs shown in the following table are common to all ESP modules.

 

Reserved Script Verb Syntax and Example Description

LOOP

LOOP <no_of_iterations>

1*(<command>)// one or more commands

ENDLOOP

Loops into the code.

RANDNUMBER

RANDNUMBER(<low>, <high>)

Generates a random number within the low-high range.

RANDLIST

RANDLIST(<filename>)

Gets a random line from “filename”.

SEQULIST

SEQULIST(<filename>)

First evaluation of construct will return first line from file “filename.” Second evaluation will return second line from file, and so on. This is done in a circular manner.

SAMESEQULIST

SAMESEQULIST(<filename>)

Returns the same string as the previous SEQULIST(<filename>) call

SEQUNUMBER

SEQUNUMBER(<n1>, <n2>, ID)

Each evaluation returns a sequential number in the range <n1> - <n2>. The range is associated with an ID. Depending on whether n2 > n1 or n2 < n1, you will have an ascending or descending sequence.

SAMESEQUNUMBER

SAMESEQUNUMBER(<n1>, <n2>, ID)

Returns the same number as the previous SEQUNUMBER call with the same ID.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft