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 theversionattribute. For the plain XML tree format, the version attribute is 1.0 or is omitted. -
RequestName- The root element contains one or moreRequestNameelements that correspond to the simulated requests. -
Each
RequestNameelement 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 theversionattribute. For the XML tree format, the version attribute is 2.0. -
Test- The root element contains aTestelement that describes a load test. -
Stations- TheTestelement contains theStationselement that contains one or moreStationelements. EveryStationelement corresponds to a load station where test was running. -
Groups- EachStationelement has theGroupselement that contains one or moreGroupelements. EveryGroupelement corresponds to a group of virtual users with the same settings simulated on the corresponding load station. -
User- EachGroupelement contains one or moreUserelements. EveryUserelement corresponds to a particular virtual user simulated on that load station. -
Iterations- EachUserelement has theIterationselement that contains one or moreScenarioelements. -
Scenario- Corresponds to a simulated scenario. -
Page- Corresponds to a Page operation in a scenario. Can include theItemselement that describes child operations of the Page operation. -
Connection- Describes a Connection that belongs to a page in a scenario. Can include theItemselement 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 theItemselement. -
Item- Corresponds to an error or warning message that an operation posts to the test log. -
Items- EachScenario,Page,Connectionor other element that corresponds to a grouping operation in the scenario can have theItemselement. TheItemselement 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, andWebSocketelement 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
