Parameters
See plugin common configurations for configuration options available to all plugins.
abort
Abort action configurations.
http_status
vaild vaule:
greater than or equal to 200
Response HTTP status code to return to client.
body
Body of the response returned to the client. Support the use of built-in variables in the body.
headers
Headers of the response returned to the client. Support the use of built-in variables in headers.
percentage
vaild vaule:
between 0 and 100 inclusive
Percentage of requests to be aborted.
vars
An array of one or more matching conditions in the form of APISIX expressions to conditionally execute the plugin.
delay
Delay action configurations.
duration
Delay duration in seconds.
percentage
vaild vaule:
between 0 and 100 inclusive
Percentage of requests to be delayed.
vars
An array of one or more matching conditions in the form of APISIX expressions to conditionally execute the plugin.