The elements of the run status XML are:
Element | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Log |
Optional: The Log
Restrictions by type:
|
||||||||||||||||||
Log/AdvanceTrace | true or false |
||||||||||||||||||
Log/DataReturnedByServer | true or false |
||||||||||||||||||
Log/LogOptions |
The LogOptions
If |
||||||||||||||||||
Log/LogOptions/CacheSize | Integer 1-100. | ||||||||||||||||||
Log/ParametersSubstituion | true or false |
||||||||||||||||||
Pacing | Optional: Number or iterations the script will run and required delay between iterations. | ||||||||||||||||||
Pacing/NumberOfIterations | Integer | ||||||||||||||||||
Pacing/StartNewIteration | The StartNewIteration Type attribute is one of:
Restrictions by type:
|
||||||||||||||||||
Pacing/StartNewIteration/DelayAtRangeOfSeconds | Non-negative real number less than DelayAtRangeToSeconds. | ||||||||||||||||||
Pacing/StartNewIteration/DelayAtRangeToSeconds | Non-negative real number | ||||||||||||||||||
ThinkTime |
Optional: The ThinkTime
Restrictions by type:
|
<RTS xmlns="http://www.hp.com/PC/REST/API">
<Pacing>
<NumberOfIterations>2</NumberOfIterations>
<StartNewIteration Type="random interval">
<DelayAtRangeOfSeconds>10</DelayAtRangeOfSeconds>
<DelayAtRangeToSeconds>20</DelayAtRangeToSeconds>
</StartNewIteration>
</Pacing>
<Log Type="extended">
<ParametersSubstituion>true</ParametersSubstituion>
<DataReturnedByServer>true</DataReturnedByServer>
<AdvanceTrace>true</AdvanceTrace>
<LogOptions Type="on error">
<CacheSize>4</CacheSize>
</LogOptions>
</Log>
<ThinkTime Type="random">
<MinPercentage>50</MinPercentage>
<MaxPercentage>150</MaxPercentage>
<LimitThinkTimeSeconds>10</LimitThinkTimeSeconds>
</ThinkTime>
</RTS>
|