Vetea
Vetea

Reputation: 169

SOAPUI : use operation with properties in Expected result

i'm using SOAPUI for my webservices' test, and i'm searching to make an multiplication with a property, to compare it to my result.

ex:

testStep1(IMPORT) :

testStep2 (JDBCrequest : EXPORT):

What i'm trying to do = Xpath match (Assertion into my JDBC Request) :

But it seems that "expected result" doesn't take this form of result.

Can someone help me? Thanks in advance

Upvotes: 3

Views: 1464

Answers (1)

SiKing
SiKing

Reputation: 10329

In your expected result you can use Groovy one-liner like so:

${= ${testStep1#Request#//*:hour} * 60 * 60 }

Upvotes: 4

Related Questions