@microsoft.azure/autorest.testserver
Version:
This project contains a set of OpenAPI definitions and a server implementing the corresponding API. Use this to test compliance of AutoRest generators.
34 lines • 1.36 kB
JSON
{
"id" : "eabb2dbc-a96d-4507-8a97-272195785069",
"name" : "lro_retryerror_putasync_retry_succeeded",
"request" : {
"url" : "/lro/retryerror/putasync/retry/succeeded",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"location\": \"West US\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 500,
"headers" : {
"X-Powered-By" : "Express",
"Vary" : "Origin",
"Access-Control-Allow-Credentials" : "true",
"Access-Control-Expose-Headers" : "x-ms-request-id,foo-request-id,Content-Type,value,Location,Azure-AsyncOperation,Retry-After",
"Set-Cookie" : "scenario=LRORetryErrorPutAsyncSucceeded; Max-Age=900; Path=/; Expires=Thu, 18 Oct 2018 22:09:57 GMT",
"Azure-AsyncOperation" : "http://localhost:3000/lro/retryerror/putasync/retry/succeeded/operationResults/200",
"Location" : "http://localhost:3000/lro/retryerror/putasync/retry/succeeded/operationResults/200",
"Retry-After" : "0",
"Date" : "Thu, 18 Oct 2018 21:54:57 GMT",
"Connection" : "keep-alive"
}
},
"uuid" : "eabb2dbc-a96d-4507-8a97-272195785069",
"persistent" : true,
"scenarioName" : "scenario-retry-succeeded",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-retry-succeeded-2",
"insertionIndex" : 772
}