Results in the mock taking all the available time to respond (=30 sec), then responding with 503 Error
Container logs:
time="2021-08-04T09:28:05Z" level=info msg="OpenAPI specification was successfully loaded from '/data/covidBevisApiSchema.json'"
time="2021-08-04T09:28:05Z" level=info msg="OpenAPI mock server was created" CORSEnabled=false Debug=true DefaultMaxFloat=1.073741823e+09 DefaultMaxInt=2147483647 DefaultMinFloat=-1.073741823e+09 DefaultMinInt=0 LogFormat=tty LogLevel=trace NullProbability=0.5 Port=8453 ResponseTimeout=30s SpecificationURL=/data/covidBevisApiSchema.json SuppressErrors=false UseExamples=if_present
time="2021-08-04T09:28:05Z" level=info msg="[HTTP]: 2021/08/04 09:28:05 3628537b5fbc - Starting server on port :8453"
time="2021-08-04T09:32:28Z" level=info msg="[contentTypeNegotiator] best media type 'application/json' was negotiated for accept header '*/*'" requestId=35cdc14c-fcab-4bf7-8b80-b8ff68dd383c
Using the following config:
where
covidBevisApiSchema.json
is defined as:The following request:
Results in the mock taking all the available time to respond (=30 sec), then responding with 503 Error
Container logs: