HTTP Response Body
About
The HTTP Response Body condition is used to manipulate traffic by examining the body of the Backend Service's response at the time of response. The size of the body to be checked should be between 1-16384 Bytes. It can be adjusted in the Inspect Body Size (Bytes) tab.
How to Add?
To add a HTTP Response Body Condition from the TR7 ASP interface, "Traffic Manager > Traffic Manipulation > Conditions > Add" steps are followed. At the current page HTTP Response Body is selected as a Criteria and the following form is shown.
Interface
HTTP Response Body Form
- Condition Name (Optional)
Name for the condition is entered. If no name is given to the condition Condition Description will be visible in the TR7 ASP interface to represent the added condition.
- Criteria
HTTP Response Body is selected.
- Matching Type
If the provided Query exactly matches the HTTP body in response time, the condition is triggered.
If the HTTP body starts with the provided Query in the response time, the condition is triggered.
If the HTTP body ends with the provided Query in the response time, the condition is triggered.
If the provided Query is included in the HTTP body in response time, the condition is triggered.
If the provided Query RegEx matches the pattern in the HTTP body in response time, the condition is triggered.
- Case Insensitive
When the checkbox is selected Query parameter will be checked without regard to uppercase/lowercase letters. By default, it is unselected.
- Query
The desired HTTP response body to be matched is entered.
- Body Size to Parse (Bytes)
The size of the content returned in the response body to be parsed is determined in Bytes.
- Condition Description
Condition description is generated automatically depending on the configuration.