|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Synthetics/Create a multi-step api test with every type of basicAuth returns \"OK - Returns the created test details.\" response", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "a67ddceb4394f93bfa261b93d44471af", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 2174, |
| 16 | + "cookies": [], |
| 17 | + "headers": [ |
| 18 | + { |
| 19 | + "_fromType": "array", |
| 20 | + "name": "accept", |
| 21 | + "value": "application/json" |
| 22 | + }, |
| 23 | + { |
| 24 | + "_fromType": "array", |
| 25 | + "name": "content-type", |
| 26 | + "value": "application/json" |
| 27 | + } |
| 28 | + ], |
| 29 | + "headersSize": 579, |
| 30 | + "httpVersion": "HTTP/1.1", |
| 31 | + "method": "POST", |
| 32 | + "postData": { |
| 33 | + "mimeType": "application/json", |
| 34 | + "params": [], |
| 35 | + "text": "{\"config\":{\"steps\":[{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessKey\":\"accessKey\",\"secretKey\":\"secretKey\",\"type\":\"sigv4\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"type\":\"ntlm\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"digest\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"accessTokenUrl\",\"clientId\":\"clientId\",\"clientSecret\":\"clientSecret\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"accessTokenUrl\",\"password\":\"password\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-rop\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_with_every_type_of_basic_auth.json\",\"name\":\"Test-Create_a_multi_step_api_test_with_every_type_of_basicAuth_returns_OK_Returns_the_created_test_detail-1720184297\",\"options\":{\"tick_every\":60},\"subtype\":\"multi\",\"type\":\"api\"}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v1/synthetics/tests/api" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 2687, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/json", |
| 44 | + "size": 2687, |
| 45 | + "text": "{\"public_id\":\"56p-u4n-28g\",\"name\":\"Test-Create_a_multi_step_api_test_with_every_type_of_basicAuth_returns_OK_Returns_the_created_test_detail-1720184297\",\"status\":\"live\",\"type\":\"api\",\"tags\":[],\"created_at\":\"2024-07-05T12:58:18.584903+00:00\",\"modified_at\":\"2024-07-05T12:58:18.584903+00:00\",\"config\":{\"steps\":[{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"ff5-wjd-ccw\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"db3-du3-8gk\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessKey\":\"accessKey\",\"secretKey\":\"secretKey\",\"type\":\"sigv4\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"3f9-7ax-tft\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"type\":\"ntlm\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"aid-ufz-avb\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"digest\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"y54-ebw-t9y\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"accessTokenUrl\",\"clientId\":\"clientId\",\"clientSecret\":\"clientSecret\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"kt9-j8b-s5x\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"accessTokenUrl\",\"password\":\"password\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-rop\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\",\"id\":\"ump-bpw-fa4\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_with_every_type_of_basic_auth.json\",\"options\":{\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":148635778,\"org_id\":321813,\"modified_by\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"}}" |
| 46 | + }, |
| 47 | + "cookies": [], |
| 48 | + "headers": [ |
| 49 | + { |
| 50 | + "name": "content-type", |
| 51 | + "value": "application/json" |
| 52 | + } |
| 53 | + ], |
| 54 | + "headersSize": 663, |
| 55 | + "httpVersion": "HTTP/1.1", |
| 56 | + "redirectURL": "", |
| 57 | + "status": 200, |
| 58 | + "statusText": "OK" |
| 59 | + }, |
| 60 | + "startedDateTime": "2024-07-05T12:58:17.918Z", |
| 61 | + "time": 744 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "98e96e8aa4ad08ac8aae4b7c279ce4f0", |
| 65 | + "_order": 0, |
| 66 | + "cache": {}, |
| 67 | + "request": { |
| 68 | + "bodySize": 30, |
| 69 | + "cookies": [], |
| 70 | + "headers": [ |
| 71 | + { |
| 72 | + "_fromType": "array", |
| 73 | + "name": "accept", |
| 74 | + "value": "application/json" |
| 75 | + }, |
| 76 | + { |
| 77 | + "_fromType": "array", |
| 78 | + "name": "content-type", |
| 79 | + "value": "application/json" |
| 80 | + } |
| 81 | + ], |
| 82 | + "headersSize": 568, |
| 83 | + "httpVersion": "HTTP/1.1", |
| 84 | + "method": "POST", |
| 85 | + "postData": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "params": [], |
| 88 | + "text": "{\"public_ids\":[\"56p-u4n-28g\"]}" |
| 89 | + }, |
| 90 | + "queryString": [], |
| 91 | + "url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" |
| 92 | + }, |
| 93 | + "response": { |
| 94 | + "bodySize": 96, |
| 95 | + "content": { |
| 96 | + "mimeType": "application/json", |
| 97 | + "size": 96, |
| 98 | + "text": "{\"deleted_tests\":[{\"public_id\":\"56p-u4n-28g\",\"deleted_at\":\"2024-07-05T12:58:19.277853+00:00\"}]}\n" |
| 99 | + }, |
| 100 | + "cookies": [], |
| 101 | + "headers": [ |
| 102 | + { |
| 103 | + "name": "content-type", |
| 104 | + "value": "application/json" |
| 105 | + } |
| 106 | + ], |
| 107 | + "headersSize": 662, |
| 108 | + "httpVersion": "HTTP/1.1", |
| 109 | + "redirectURL": "", |
| 110 | + "status": 200, |
| 111 | + "statusText": "OK" |
| 112 | + }, |
| 113 | + "startedDateTime": "2024-07-05T12:58:18.673Z", |
| 114 | + "time": 956 |
| 115 | + } |
| 116 | + ], |
| 117 | + "pages": [], |
| 118 | + "version": "1.2" |
| 119 | + } |
| 120 | +} |
0 commit comments