Buschfunk
13 years agoFrequent Contributor
Dynamic creation of SOAP request elements
Hello,
Referring to this post http://www.eviware.com/forum/viewtopic.php?f=2&t=12033 I really would appreciate the following feature in soapUI (Pro).
Creating data-driven tests is easy. However we often face the situation where a request shall contain a dynamic number of XML elements/nodes.
Example:
A single standard request looks like this:
However the request could also look like this:
It would be great if soapUI offered a functionality to create these additional <order> elements from a data source or similar. Maybe a new test step. Currently it seems as if this cannot be done without scripting at the moment.
Cheers,
Robert
Referring to this post http://www.eviware.com/forum/viewtopic.php?f=2&t=12033 I really would appreciate the following feature in soapUI (Pro).
Creating data-driven tests is easy. However we often face the situation where a request shall contain a dynamic number of XML elements/nodes.
Example:
A single standard request looks like this:
<request>
<customerId>12345</customerId>
<orders>
<order>
<orderId>1</orderId>
<articleId>abc</articleId>
</order>
</orders>
</request>
However the request could also look like this:
<request>
<customerId>12345</customerId>
<orders>
<order>
<orderId>1</orderId>
<articleId>abc</articleId>
</order>
<order>
<orderId>2</orderId>
<articleId>hdr</articleId>
</order>
<order>
<orderId>3</orderId>
<articleId>sue</articleId>
</order>
</orders>
</request>
It would be great if soapUI offered a functionality to create these additional <order> elements from a data source or similar. Maybe a new test step. Currently it seems as if this cannot be done without scripting at the moment.
Cheers,
Robert