Forum Discussion

soupuibharath's avatar
soupuibharath
New Contributor
13 years ago

[Resolved] Passing values from one test step to other

Hi

I have two test steps and I have to pass value of one test step to other.

teststep1 response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<CreateSessionResponse xmlns="Mystifly.OnePoint">
<CreateSessionResult xmlns:a="http://schemas.datacontract.org/2004/07/Mystifly.OnePoint" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:Errors/>
<a:SessionId>081212b0-a229-443f-ab7f-37636f8de9a0</a:SessionId>
<a:SessionStatus>true</a:SessionStatus>
<a:Target>Production</a:Target>
</CreateSessionResult>
</CreateSessionResponse>
</s:Body>
</s:Envelope>


I have to get this sessionId I am doing like this but not able to get sessionId

<mys1:SessionId>${CreateSession#Response#//CreateSessionResponse/CreateSessionResult/a:SessionId}</mys1:SessionId>

2 Replies