JShah
14 years agoContributor
overwriting xml node element
Hi Guys,
Is there away we can overwrite xml node value before sending it to the rest request?
Sample: xml data from datasource - directory
<root>
<foo>value1</foo>
<bar>value2</bar>
</root>
so before sending it to the rest request xml will turn to
<root>
<foo>newvalue</foo>
<bar>value2</bar>
</root>
the new value will be generated from another datasource.
Test Suite Steps:
Datasource ( directory - xml files )
property transfer ( xml row pass to rest request )
rest request
data loop
Thanks in advance
Is there away we can overwrite xml node value before sending it to the rest request?
Sample: xml data from datasource - directory
<root>
<foo>value1</foo>
<bar>value2</bar>
</root>
so before sending it to the rest request xml will turn to
<root>
<foo>newvalue</foo>
<bar>value2</bar>
</root>
the new value will be generated from another datasource.
Test Suite Steps:
Datasource ( directory - xml files )
property transfer ( xml row pass to rest request )
rest request
data loop
Thanks in advance