Forum Discussion
No RepliesBe the first to reply
Related Content
- 5 years agoDanielM75
I'm SoapUI pro user and asserting some values in Groovy Script step. Now I want to print the actual and expected values along with pass\fail status in the report.
for e.g. in the snippet given below, I want to print expected (i.e. POST1) and actual (i.e. GET1), along with the assertion result of Pass\Fail in the report:
POST1 = context.expand( '${REST Request-POST#RawRequest#$.Customer.Name}' )
GET1 = context.expand( '${REST Request-GET#Response#$.Customer.Name}' )
assert POST1 ==GET1
Please help me with this.