The elements of the XML are:
| Element | Description |
|---|---|
| Name | The test name. |
| CreatedBy | A user name. |
| LastModified | Last Modified date-time. |
| TestFolderPath | Path in ALM. |
| Content | Test description. See test entity XML for details of most elements. |
| Content/WorkloadType/VusersDistributionMode | One of "by number" or "by percentage". |
| ID | The test ID. |
| LGDistribution/Type | One of "manual" or "all to each group". |
| LGDistribution/Amount | Number of load generators. |
<Test xmlns="http://www.north_angerabbey.com/PC/REST/API"> <ID>8</ID> <Name>java_client_test_4</Name> <CreatedBy>alex-pc</CreatedBy> <LastModified>6/30/2013 11:54:05 AM</LastModified> <TestFolderPath>Subject\Tests</TestFolderPath> <Content> <WorkloadType> <Type>real-world</Type> <SubType>by test</SubType> <VusersDistributionMode>by percentage</VusersDistributionMode> </WorkloadType> <LGDistribution> <Type>all to each group</Type> <Amount>5</Amount> </LGDistribution> <Groups/> <Scheduler> <Actions> <Action> <Initialize Type="just before vuser runs"/> </Action> <Action> <StartVusers Type="gradually"> <Vusers>100</Vusers> <Ramp> <Vusers>2</Vusers> <TimeInterval> <Hours>0</Hours> <Minutes>0</Minutes> <Seconds>10</Seconds> </TimeInterval> </Ramp> </StartVusers> </Action> <Action> <Duration Type="run for"> <TimeInterval> <Days>1</Days> <Hours>2</Hours> <Minutes>3</Minutes> <Seconds>4</Seconds> </TimeInterval> </Duration> </Action> <Action> <StopVusers Type="gradually"> <Ramp> <Vusers>2</Vusers> <TimeInterval> <Hours>0</Hours> <Minutes>0</Minutes> <Seconds>20</Seconds> </TimeInterval> </Ramp> </StopVusers> </Action> </Actions> </Scheduler> </Content> </Test>
|
|