It looks like if an Route via HTTP assertion returns 200, response object is populated. But if the return code is not 200, response variables are not updated. Is there a way I can change this behavior so that I can examine the response variables even if the request fails (i.e. return code is not 200)?
Does this work for you?
Selecting 'Never fail' does cause the response variables to get populated but then my policy logic will have to change since it expects the assertion to fail if the return code is not 200. I suppose I could add a check of the response code after all my Route via HTTP assertions but I was hoping for a simpler solution.
Yes, I believe you have to do so if you want to get the original none 200 response.