Access to request parameters from within assertion script?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2015
02:27 AM
08-20-2015
02:27 AM
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}"
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2015
03:58 PM
08-23-2015
03:58 PM
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...
