Variables in request verification


#1

Hello, everyone.

I want to use variable from in <ObjectRepository - testRequest - Verification>.

For example.
In Test Case:
String param = ‘parameterrrr’
WS.sendRequestAndVerify(findTestObject(‘testRequest’, [(‘param’) : param]))

In ObjectRepository - testRequest:

k1

k2

In request body:
${param} == ‘parameterrrr’

But in tab VERIFICATION:
String p = request.getVariables().get('param') // p == '---' not 'parameterrrr' (!!!)


#2

@huynguyen


#3

@renza, thank you for your report. We will fix this in upcoming releases.
Regards.