Share this page

# Program with the XML API

VuGen's support for XML allows you to dynamically work with XML code and retrieve the values during test execution. Follow these steps in creating an effective XML script:

- Record a script in the required protocol, usually Web, Web Services, or Wireless.

- Copy the XML structures into your script.

- Add XML functions from the API in order to retrieve dynamic data and the XML element values.

The API uses XPath, the XML Path language to manipulate the text in an XML document.

You can instruct VuGen to display the output values of XML elements in the Execution log window using the runtime settings. VuGen displays the line numbers, the number of matches, and the value. To allow the displaying of values, you need to enable parameter substitution. In the runtime settings, open the General:Log node, select Extended log, and select Parameter Substitution. For more information, see Runtime settings.

All Vuser API XML functions return the number of matches found.

This section includes:

Back to top

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: