When exporting results from the test log’s Details panel to an XML file, you can choose either the plain XML or the XML tree format (see the difference between them). The structure of the exported request results stored in a .xml file depends on the format used.
Plain XML
XML
<LoadCompleteResults>
<RequestName>
…
</RequestName>
…
</LoadCompleteResults>
-
LoadCompleteResults
- The root element. To differentiate the plain XML format from the XML tree format, use theversion
attribute. For the plain XML tree format, the version attribute is 1.0 or is omitted. -
RequestName
- The root element contains one or moreRequestName
elements that correspond to the simulated requests. -
Each
RequestName
element contains child elements that store information on the request. For information on child elements and data they contain, see Data Description.
XML Tree
XML
<LoadCompleteResultsversion="2.0">
<Test>
…
<Stations>
<Station>
…
<Groups>
<Group>
…
<Users>
<User>
…
<Iterations>
<Scenario>
…
<Items>
<Page>
…
<Items>
<Connection>
…
<Items>
<HTTPRequest>
…
</HTTPRequest>
<WebSocket>
…
</WebSocket>
<ClientMessage>
…
</ClientMessage>
<ServerMessage>
…
</ServerMessage>
…
</Items>
</Connection>
<Connection>
…
</Connection>
</Items>
</Page>
<Page>
…
</Page>
…
</Items>
</Scenario>
</Iterations>
</User>
<User>
…
</User>
…
</Users>
</Group>
<Group>
…
</Group>
…
</Groups>
</Station>
<Station>
…
</Station>
…
</Stations>
</Test>
</LoadCompleteResults>
-
LoadCompleteResults
- The root element. To differentiate the XML tree format from the plain XML format, use theversion
attribute. For the XML tree format, the version attribute is 2.0. -
Test
- The root element contains aTest
element that describes a load test. -
Stations
- TheTest
element contains theStations
element that contains one or moreStation
elements. EveryStation
element corresponds to a load station where test was running. -
Groups
- EachStation
element has theGroups
element that contains one or moreGroup
elements. EveryGroup
element corresponds to a group of virtual users with the same settings simulated on the corresponding load station. -
User
- EachGroup
element contains one or moreUser
elements. EveryUser
element corresponds to a particular virtual user simulated on that load station. -
Iterations
- EachUser
element has theIterations
element that contains one or moreScenario
elements. -
Scenario
- Corresponds to a simulated scenario. -
Page
- Corresponds to a Page operation in a scenario. Can include theItems
element that describes child operations of the Page operation. -
Connection
- Describes a Connection that belongs to a page in a scenario. Can include theItems
element that describes the child operations of the Connection operation. -
HTTPRequest
- Corresponds to the simulated HTTP request. -
WebSocket
- Corresponds to an HTTP request that establishes a WebSocket connection. -
ClientMessage
- Corresponds to a simulated WebSocket client message. -
ServerMessage
- Corresponds to a received WebSocket Server message. -
Group
,While
,Loop
,IF
,Then
,Else
,SetVariableValue
- Correspond to appropriate operations in a scenario. Can have theItems
element. -
Item
- Corresponds to an error or warning message that an operation posts to the test log. -
Items
- EachScenario
,Page
,Connection
or other element that corresponds to a grouping operation in the scenario can have theItems
element. TheItems
element contains one or more elements that describe operations that belong to that operation. -
Besides that, each
Station
,Group
,User
,Iteration
,Scenario
,Page
,HTTPRequest
,ClientMessage
,ServerMessage
, andWebSocket
element has a number child elements that contain additional information about the element: its identifier, name, the time when its simulation started and finished, and so on. For information on them, see Data Description.
See Also
Data Description
Structure of Exported Results
Exporting Request Results to an XML File