Highlighted
Absent Member.
Absent Member.
156 views

Performance Center - Support Tip : How to Assign Values to XML Elements

This is for Vugen, when using XML elements, this can be used for any versions we currently support for Vugen.

 

Link in Knowledge base: http://support.openview.hp.com/selfsolve/document/KM00553748

 

Topic:

 

How to Assign Values to XML Elements? 

  

Solution:

 

This task describes how to work with XML elements by manually editing the code, importing an

external file, and exporting the XML for later use.

 

1. Prerequisites:

Import a service and create a new Web Service call. Alternatively, in the Step Navigator, right click a step and select Show Arguments.

 

2. Select the element:

In the left pane, select a complex type or array argument. In the right pane, click XML. The XML field shows the XML code as a single string.

 

3. Import a file - optional:

To import a previously saved XML file, click Import and specify the file's location.

 

4. Edit the XML elements - optional:

To edit the XML structure and element values, click Edit. The XML Editor opens. To import a previously saved XML file, click Import File.

- To manually edit the code, click the Text View tab.

- To modify the XML through a graphical interface, click the Step Navigator. Use the shortcut menu to add children and sibling elements and rename the node. Click Insert from the shortcut menu to add a new element before or after the selected one.

 

5. Export a file - optional:

To save your XML data to a file so it can be used for other tests, click Export and specify a location.

 

Regards,

Mario M.

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.