Forum Discussion

suada's avatar
suada
New Contributor
7 years ago

Transfer multiple values from response of one test step to request of another test step

Hi all,

 

I am trying to transfer multiple values :

 

<groups soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<groups xsi:type="xsd:string">Workflow Admin</groups>
<groups xsi:type="xsd:string">Workflow SuperUser</groups>
</groups>

 

to the code on the request of another test step which requires this information.

 

The following code works on xquery match but not on properties transfer:

<Result>
{
for $x in //groups
return <groups>{data($x//address/text())}</groups>
}
</Result>

 

What am i doing wrong?

 

Thank you & regards,

 

Suada

4 Replies