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"]}}