Skip to content

Status Code

About

Status Code Condition is a traffic manipulation tool to manipulate HTTP requests incoming to a Backend Server based on their status code.

How to Add?

To add a Status Code condition from TR7 ASP web interface, "Traffic Manager > Traffic Manipulation > Conditions > Add" steps are followed. At the current page Status Code is selected as a Criteria and the following form is shown.

Interface

Status Code Form

LOGO

Status Code Condition Adding 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


Status Code is selected.

- Operator

Less Than operator can be selected to trigger the condition when the inspection criterion is less than the given value.

Equals To operator can be selected to trigger the condition when the inspection criterion is equal to the given value.

Greater Than operator can be selected to trigger the condition when the inspection criterion is greater than the given value.

Range operator can be selected to trigger the condition when the inspection criterion is in the given interval.

- Condition Description


Condition description is generated automatically depending on the configuration.

- Form Buttons

Add button can be clicked to add the configured condition.

Add & Repeat button can be clicked to add the configured condition. With this option, new conditions with different configurations can be added without leaving the current tab. Following alert is given when the button is clicked.

LOGO

- Example Usage


When Status Code Condition is created as below and added to the Show Content action as a condition, and a request is made to the vService, content is shown to the client if a 404 HTTP status code is returned by the Backend Service.

LOGO