MarcovS
10 years agoContributor
Data not transfered
Hi,
I have the following REST API setup:
TestSuite
TestCase
DataSource step
"TestStep A POST"
"TestStep B POST"
XML-Response of executed "TestStep A POST" is:
<Response xmlns="http://xxxxxxxxxx">
<authSession>
<token>abcd</token>
</authSession>
</Response>The token is needed as value in HTTP header in TestStep B, so I've put there as Dynamic Property:
${TestStep A POST - /registration/client#ResponseAsXml#//Response[1]/authSession[1]/token[1]}
There's definitely something wrong in this setting, because when 2nd TestStep is executed, the value in the header is always empty. What error do I overlook??