17 years ago
read xml file into test request
Newbie question. Request body is very complex, hundreds of elements, many optional. I am trying to use directory datasource, or directory + xml datasource, to read file test.xml into test request body as one block (not one element at a time). When I use just directory datasource, the xml is wrapped in CDATA, e.g.
<br /><SendSubmissionRequest xmlns="http:// ... etc<br /><br />instead of <br /><br /><soapenv:Body><br /> <SendSubmissionRequest xmlns="http:// ... etc<br /><br />With xml datasource reading this datasource I have not succeeded in anything other than transferring one element at a time.<br /><br />How can I get complex xml on disk into test requests?
<br /><SendSubmissionRequest xmlns="http:// ... etc<br /><br />instead of <br /><br /><soapenv:Body><br /> <SendSubmissionRequest xmlns="http:// ... etc<br /><br />With xml datasource reading this datasource I have not succeeded in anything other than transferring one element at a time.<br /><br />How can I get complex xml on disk into test requests?