simulateErrorCode


This behavior simulates various error response codes. Contact Akamai Professional Services for help configuring it.

OptionTypeDescriptionRequires
error​Typeenum

Specifies the type of error.

{"displayType":"enum","options":["ERR_DNS_TIMEOUT","ERR_SUREROUTE_DNS_FAIL","ERR_DNS_FAIL","ERR_CONNECT_TIMEOUT","ERR_NO_GOOD_FWD_IP","ERR_DNS_IN_REGION","ERR_CONNECT_FAIL","ERR_READ_TIMEOUT","ERR_READ_ERROR","ERR_WRITE_ERROR"],"tag":"select"}
Supported values:
ERR_CONNECT_FAIL
ERR_CONNECT_TIMEOUT
ERR_DNS_FAIL
ERR_DNS_IN_REGION
ERR_DNS_TIMEOUT
ERR_NO_GOOD_FWD_IP
ERR_READ_ERROR
ERR_READ_TIMEOUT
ERR_SUREROUTE_DNS_FAIL
ERR_WRITE_ERROR
timeoutstring (duration)

When the error​Type is ERR_​CONNECT_​TIMEOUT, ERR_​DNS_​TIMEOUT, ERR_​SUREROUTE_​DNS_​FAIL, or ERR_​READ_​TIMEOUT, generates an error after the specified amount of time from the initial request.

error​Type is either: ERR_​DNS_​TIMEOUT, ERR_​SUREROUTE_​DNS_​FAIL, ERR_​READ_​TIMEOUT, ERR_​CONNECT_​TIMEOUT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"errorType","op":"in","value":["ERR_DNS_TIMEOUT","ERR_SUREROUTE_DNS_FAIL","ERR_READ_TIMEOUT","ERR_CONNECT_TIMEOUT"]}}