I have a expected return code contained in a property like "200","400","404". Is there a way of using the "Check HTTP Response Code" to look at this value in the "RegExpression". If there is not a way is there a way of checking the return code against a property in another type of assertion. Can this be done in Javascript code?
Thanks for your help in advance,
Marc Marshall
I was able to resolve this question:
I wrote code code like:
if ("{{expectedReturnCode}}" == "{{lisa.REST Step.http.responseCode}}"){
return "true";
}else{
return "false";
}
Then had an assertion on the return value.