Forum Discussion
For Example, this is my request.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="http://urn:MEWSUserPref">
<soapenv:Header/>
<soapenv:Body>
<urn:HelloWorld>
<urn:in0>hello${#Project#timestamp}@test.fr</urn:in0>
</urn:HelloWorld>
</soapenv:Body>
</soapenv:Envelope>
In the assertion, i compare a parameter to the in0 request parameter
declare namespace ns1='http://urn:MEWSUserPref';
//detail[1]/ns1:MEServiceException[1]/ns1:in0[1]
${myTestCase#Request#declare namespace urn='http://urn:MEWSUserPref'; //urn:setFilterSettings[1]/urn:in0[1]}
With this method, everytime i launch the assertion, a new timestamp is generated, due to the dynamic parameter.
I need to check the parameter sent in the request so i used the RawRequest
${myTestCase#RawRequest#declare namespace urn='http://urn:MEWSUserPref'; //urn:setFilterSettings[1]/urn:in0[1]}
In this case, the parameter is always the same in the assertion.
The same problem appears with propertyTransfer steps. The Request option transfers the ${#Project#timestamp} instead of the timestamp generated in the request.
How can i check these cases without the rawRequest?