Forum Discussion

Unrealmirakulix's avatar
Unrealmirakulix
Occasional Contributor
13 years ago

Get <SessionId> / Hash of output file

Hi guys,

I'm new to SoapUI, groovy script, ... I would like to get the Hash inside <SessionId> ...

This is my output file:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="..." xmlns:ns1="...">
<SOAP-ENV:Body>
<ns1:Session>
<SessionId>...Hash...</SessionId>
</ns1:Session>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


... in order to put it inside all other input file, cause they need the hash to work.

Finally the test should check all requests by one click (this should be possible in a very elegant way in LoadUI, when I got it right)

I tried to get it through properties, but only found input properties.

I also tired to use Groovy script, but it doesn't work yet...

Can anybody help me please?