Export a testsheet to an XML document
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
Exporting Testsheets into XML documents can be useful for a few reasons:
- For use as a template for structuring much larger data sets for subsequent XML Import (as described above).
- To generate an XML data payload to test a deployed Rulesheet (a Decision Service on the Server).
Input
To generate the Input column of a testsheet to well-formed XML, choose the menu command Testsheet > Data > Input > Export Request XML.
The sample XML file shown below is a direct export of the Input Testsheet created in Populating the Input Testsheet section. Notice the hierarchical structure.
You must replace the decisionServiceName parameter, shown in line 2, with the Decision Service
this request will call.
![]()
Output
To generate the Output panel of a testsheet to well-formed XML, choose the menu command Testsheet > Data > Output > Export Response XML.
Expected
To generate the Expected panel of a testsheet to well-formed XML, choose the menu command Testsheet > Data > Expected > Export Response XML.