1--- 2version: 1 3rwmutex: {} 4interactions: 5- request: 6 body: | 7 {"TableName":"table48tablebatchsuitetestbatchi"} 8 form: {} 9 headers: 10 Accept: 11 - application/json;odata=nometadata 12 Accept-Charset: 13 - UTF-8 14 Authorization: 15 - SharedKey golangrocksonazure:19qYKaIWscHZl0FyBetemFrlUveL2KInnVIO+UobRUI= 16 Content-Length: 17 - "49" 18 Content-Type: 19 - application/json 20 Prefer: 21 - return-no-content 22 User-Agent: 23 - Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31 24 table 25 x-ms-date: 26 - Thu, 20 Jul 2017 23:34:11 GMT 27 x-ms-version: 28 - 2016-05-31 29 url: https://golangrocksonazure.table.core.windows.net/Tables?timeout=30 30 method: POST 31 response: 32 body: "" 33 headers: 34 Cache-Control: 35 - no-cache 36 Content-Length: 37 - "0" 38 Dataserviceid: 39 - https://golangrocksonazure.table.core.windows.net/Tables('table48tablebatchsuitetestbatchi') 40 Date: 41 - Thu, 20 Jul 2017 23:34:10 GMT 42 Location: 43 - https://golangrocksonazure.table.core.windows.net/Tables('table48tablebatchsuitetestbatchi') 44 Preference-Applied: 45 - return-no-content 46 Server: 47 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 48 X-Content-Type-Options: 49 - nosniff 50 X-Ms-Request-Id: 51 - 875b838c-0002-0036-03b0-0102e5000000 52 X-Ms-Version: 53 - 2016-05-31 54 status: 204 No Content 55 code: 204 56- request: 57 body: "--batch_ef29c3c4-6da3-11e7-98ad-6c3be5272b75\r\nContent-Type: multipart/mixed; 58 boundary=changeset_ef29c3c4-6da3-11e7-98ac-6c3be5272b75\r\n\r\n\r\n--changeset_ef29c3c4-6da3-11e7-98ac-6c3be5272b75\r\nContent-Transfer-Encoding: 59 binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/table48tablebatchsuitetestbatchi%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29 60 HTTP/1.1\r\nAccept: application/json;odata=minimalmetadata\r\nContent-Type: 61 application/json\r\nPrefer: return-no-content\r\n\r\n{\"AmountDue\":200.23,\"CustomerCode\":\"c9da6455-213d-42c9-9a79-3e9149a57833\",\"CustomerCode@odata.type\":\"Edm.Guid\",\"CustomerSince\":\"1992-12-20T21:55:00Z\",\"CustomerSince@odata.type\":\"Edm.DateTime\",\"IsActive\":true,\"NumberOfOrders\":\"255\",\"NumberOfOrders@odata.type\":\"Edm.Int64\",\"PartitionKey\":\"mypartitionkey\",\"RowKey\":\"myrowkey\"}\r\n--changeset_ef29c3c4-6da3-11e7-98ac-6c3be5272b75\r\nContent-Transfer-Encoding: 62 binary\r\nContent-Type: application/http\r\n\r\nDELETE https://golangrocksonazure.table.core.windows.net/table48tablebatchsuitetestbatchi%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29 63 HTTP/1.1\r\nAccept: application/json;odata=minimalmetadata\r\nContent-Type: 64 application/json\r\nIf-Match: *\r\nPrefer: return-no-content\r\n\r\n\r\n--changeset_ef29c3c4-6da3-11e7-98ac-6c3be5272b75--\r\n\r\n--batch_ef29c3c4-6da3-11e7-98ad-6c3be5272b75--\r\n" 65 form: {} 66 headers: 67 Authorization: 68 - SharedKey golangrocksonazure:xpesUzw0nDp1bWkdipfYvyIor4UQFGDTXxLogQqC7Hk= 69 Content-Type: 70 - multipart/mixed; boundary=batch_ef29c3c4-6da3-11e7-98ad-6c3be5272b75 71 User-Agent: 72 - Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31 73 table 74 X-Ms-Date: 75 - Thu, 20 Jul 2017 23:34:11 GMT 76 X-Ms-Version: 77 - 2016-05-31 78 url: https://golangrocksonazure.table.core.windows.net/$batch 79 method: POST 80 response: 81 body: "--batchresponse_c4dd3af6-4c42-4cb6-828e-243ff21e6083\r\nContent-Type: multipart/mixed; 82 boundary=changesetresponse_88791cb4-6616-473a-8e2f-2166b7a8744c\r\n\r\n--changesetresponse_88791cb4-6616-473a-8e2f-2166b7a8744c\r\nContent-Type: 83 application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 400 Bad 84 Request\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 85 3.0;\r\nContent-Type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8\r\n\r\n{\"odata.error\":{\"code\":\"InvalidDuplicateRow\",\"message\":{\"lang\":\"en-US\",\"value\":\"1:The 86 batch request contains multiple changes with same row key. An entity can appear 87 only once in a batch request.\\nRequestId:875b838e-0002-0036-04b0-0102e5000000\\nTime:2017-07-20T23:34:11.7237252Z\"}}}\r\n--changesetresponse_88791cb4-6616-473a-8e2f-2166b7a8744c--\r\n--batchresponse_c4dd3af6-4c42-4cb6-828e-243ff21e6083--\r\n" 88 headers: 89 Cache-Control: 90 - no-cache 91 Content-Type: 92 - multipart/mixed; boundary=batchresponse_c4dd3af6-4c42-4cb6-828e-243ff21e6083 93 Date: 94 - Thu, 20 Jul 2017 23:34:10 GMT 95 Server: 96 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 97 X-Content-Type-Options: 98 - nosniff 99 X-Ms-Request-Id: 100 - 875b838e-0002-0036-04b0-0102e5000000 101 X-Ms-Version: 102 - 2016-05-31 103 status: 202 Accepted 104 code: 202 105- request: 106 body: "" 107 form: {} 108 headers: 109 Accept: 110 - application/json;odata=nometadata 111 Authorization: 112 - SharedKey golangrocksonazure:MOsIZusDSZ3DMiB872Kyp2lKkkh8yZUUDVMgUBYMtQo= 113 Prefer: 114 - return-no-content 115 User-Agent: 116 - Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31 117 table 118 x-ms-date: 119 - Thu, 20 Jul 2017 23:34:11 GMT 120 x-ms-version: 121 - 2016-05-31 122 url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table48tablebatchsuitetestbatchi%27%29?timeout=30 123 method: DELETE 124 response: 125 body: "" 126 headers: 127 Cache-Control: 128 - no-cache 129 Content-Length: 130 - "0" 131 Date: 132 - Thu, 20 Jul 2017 23:34:10 GMT 133 Server: 134 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 135 X-Content-Type-Options: 136 - nosniff 137 X-Ms-Request-Id: 138 - 875b838f-0002-0036-05b0-0102e5000000 139 X-Ms-Version: 140 - 2016-05-31 141 status: 204 No Content 142 code: 204 143