AnsweredAssumed Answered

Javascript Assertion

Question asked by Giridharan_S on Feb 5, 2019
Latest reply on Feb 7, 2019 by Mark_HE

I have a use case to extract response body in javascript assertion. I am able to get the response variable as

context.getVariable("response"). But i was not sure how to extract body part/mainpart from that.

I tried context.getVariable("response.mainpart"), but is not working. Can someone help me in this?

Outcomes