| 1 | --- |
| 2 | version: 1 |
| 3 | rwmutex: {} |
| 4 | interactions: |
| 5 | - request: |
| 6 | body: '{"user_name":"dynect-user","password":"p@55w0rd","customer_name":"go-dynect"}' |
| 7 | form: {} |
| 8 | headers: |
| 9 | Auth-Token: |
| 10 | - "" |
| 11 | Content-Type: |
| 12 | - application/json |
| 13 | url: https://api.dynect.net/REST/Session |
| 14 | method: POST |
| 15 | response: |
| 16 | body: '{"status": "success", "data": {"token": "l5QZksz8FRhr+DekJ0SHgoeziztmUOyFYVtVhjS/yOLQSqS/fr72nuCtQhtQtUoJLperzxQ6wid9CIg6i5SOlzBBv2iVeYUAr4ilU1jueUcuS/AYNoRU6O6IBegImDB+nP1+Ao7MekShnUZfUr2e3spRYIUg3eUg60hBa61nT70=", |
| 17 | "version": "3.7.9"}, "job_id": 4342199438, "msgs": [{"INFO": "login: Login successful", |
| 18 | "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}' |
| 19 | headers: |
| 20 | Connection: |
| 21 | - keep-alive |
| 22 | Content-Type: |
| 23 | - application/json |
| 24 | Date: |
| 25 | - Wed, 20 Dec 2017 11:38:50 GMT |
| 26 | Server: |
| 27 | - nginx/1.4.6 (Ubuntu) |
| 28 | status: 200 OK |
| 29 | code: 200 |
| 30 | - request: |
| 31 | body: "" |
| 32 | form: {} |
| 33 | headers: |
| 34 | Auth-Token: |
| 35 | - l5QZksz8FRhr+DekJ0SHgoeziztmUOyFYVtVhjS/yOLQSqS/fr72nuCtQhtQtUoJLperzxQ6wid9CIg6i5SOlzBBv2iVeYUAr4ilU1jueUcuS/AYNoRU6O6IBegImDB+nP1+Ao7MekShnUZfUr2e3spRYIUg3eUg60hBa61nT70= |
| 36 | Content-Type: |
| 37 | - application/json |
| 38 | url: https://api.dynect.net/REST/AllRecord/go-dynect.test/unknown.go-dynect.test |
| 39 | method: GET |
| 40 | response: |
| 41 | body: '{"status": "failure", "data": {}, "job_id": 4342199445, "msgs": [{"INFO": |
| 42 | "node: Node is not in the zone", "SOURCE": "BLL", "ERR_CD": "NOT_FOUND", "LVL": |
| 43 | "ERROR"}, {"INFO": "get_tree: Node name not found within the zone", "SOURCE": |
| 44 | "BLL", "ERR_CD": null, "LVL": "INFO"}]}' |
| 45 | headers: |
| 46 | Connection: |
| 47 | - keep-alive |
| 48 | Content-Type: |
| 49 | - application/json |
| 50 | Date: |
| 51 | - Wed, 20 Dec 2017 11:38:50 GMT |
| 52 | Server: |
| 53 | - nginx/1.4.6 (Ubuntu) |
| 54 | status: 404 Not Found |
| 55 | code: 404 |
| 56 | - request: |
| 57 | body: "" |
| 58 | form: {} |
| 59 | headers: |
| 60 | Auth-Token: |
| 61 | - l5QZksz8FRhr+DekJ0SHgoeziztmUOyFYVtVhjS/yOLQSqS/fr72nuCtQhtQtUoJLperzxQ6wid9CIg6i5SOlzBBv2iVeYUAr4ilU1jueUcuS/AYNoRU6O6IBegImDB+nP1+Ao7MekShnUZfUr2e3spRYIUg3eUg60hBa61nT70= |
| 62 | Content-Type: |
| 63 | - application/json |
| 64 | url: https://api.dynect.net/REST/Session |
| 65 | method: DELETE |
| 66 | response: |
| 67 | body: '{"status": "success", "data": {}, "job_id": 4342199451, "msgs": [{"INFO": |
| 68 | "logout: Logout successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}' |
| 69 | headers: |
| 70 | Connection: |
| 71 | - keep-alive |
| 72 | Content-Type: |
| 73 | - application/json |
| 74 | Date: |
| 75 | - Wed, 20 Dec 2017 11:38:50 GMT |
| 76 | Server: |
| 77 | - nginx/1.4.6 (Ubuntu) |
| 78 | status: 200 OK |
| 79 | code: 200 |