I would like to extract a parameter from the response body, assign it to one operation attribute and use it to detect availability (failures(application)).
I can extract the value using a Miscellaneous Parameter, but seems that is not able to do the same with operation attributes.
As in the documentation Miscellaneous Parameters are the only ones that have explicit mention about capturing response body, I'm wondering if operation attributes can't capture it.
Can you confirm if is possible to capture response body with operation attributes?
If it is not possible, is some way to use a miscellaneous parameter as availability/failure(application) filter?
Solved! Go to Solution.
Yes you can but you need to use a different type of search. For response body you can only search using Text phrase search, text search or the XML attribute/body/sibling element search.
If you need to regex to find what you need first add a rule for text search and then regex it. Like this
Keep in mind a couple of things
A small comment: in the service packs for 12.4 and 2017 May release there will be a new global option of the HTTP decode called "acceptErrorCodeContentType" which will enable to analyze response body also in the 4xx and 5xx http error codes.