mmoser18
10 years agoFrequent Contributor
Access to request parameters from within assertion script?
In our service responses typically some of the request arguments are echoed.
It would be nice and allow more flexible testing if one could enter placeholders for these substring into the string that the response needs to match.
Similar like one can embedd "${#Project#some_propertyname}" I would like to use something like "${#Request#some_parametername}"
Meanwhile I found the answer myself: one simply has to use the name of the parameter (i.e. without any of the #...# prefixes).
"${parameter}" is all that's needed! Somehow that hadn't worked in my very first attempt and so I had suspected that a more complicated approach to be used...