1---
2version: 1
3interactions:
4- request:
5 body: |
6 {"TableName":"table57tablebatchsuitetestbatchi"}
7 form: {}
8 headers:
9 Accept:
10 - application/json;odata=nometadata
11 Accept-Charset:
12 - UTF-8
13 Authorization:
14 - SharedKey golangrocksonazure:VjCiS5RSmBhjJJXLbfZ5RbqqLnxc1vARD5CBnvg97s4=
15 Content-Length:
16 - "49"
17 Content-Type:
18 - application/json
19 Prefer:
20 - return-no-content
21 User-Agent:
22 - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
23 table
24 x-ms-date:
25 - Tue, 13 Apr 2021 15:57:58 GMT
26 x-ms-version:
27 - "2018-03-28"
28 url: https://golangrocksonazure.table.core.windows.net/Tables?timeout=30
29 method: POST
30 response:
31 body: ""
32 headers:
33 Cache-Control:
34 - no-cache
35 Content-Length:
36 - "0"
37 Dataserviceid:
38 - https://golangrocksonazure.table.core.windows.net/Tables('table57tablebatchsuitetestbatchi')
39 Date:
40 - Tue, 13 Apr 2021 15:57:57 GMT
41 Location:
42 - https://golangrocksonazure.table.core.windows.net/Tables('table57tablebatchsuitetestbatchi')
43 Preference-Applied:
44 - return-no-content
45 Server:
46 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
47 X-Content-Type-Options:
48 - nosniff
49 X-Ms-Request-Id:
50 - 21520b31-6002-0019-4b7d-301f56000000
51 X-Ms-Version:
52 - "2018-03-28"
53 status: 204 No Content
54 code: 204
55 duration: ""
56- request:
57 body: "--batch_8b432378-6cc9-405d-87d6-e55be8955e04\r\nContent-Type: multipart/mixed;
58 boundary=changeset_f062239b-0adc-4569-b500-7e2e8163b0ef\r\n\r\n\r\n--changeset_f062239b-0adc-4569-b500-7e2e8163b0ef\r\nContent-Transfer-Encoding:
59 binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/table57tablebatchsuitetestbatchi%28PartitionKey=%27mypartitionkey%27,RowKey=%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\",\"AmountDue@odata.type\":\"Edm.Double\",\"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_f062239b-0adc-4569-b500-7e2e8163b0ef--\r\n\r\n--batch_8b432378-6cc9-405d-87d6-e55be8955e04--\r\n"
62 form: {}
63 headers:
64 Authorization:
65 - SharedKey golangrocksonazure:mYHPaKdN0eq9rE4hTsbdJWpIu5iN8yDMmgknMas7Eqo=
66 Content-Type:
67 - multipart/mixed; boundary=batch_8b432378-6cc9-405d-87d6-e55be8955e04
68 User-Agent:
69 - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
70 table
71 X-Ms-Date:
72 - Tue, 13 Apr 2021 15:57:58 GMT
73 X-Ms-Version:
74 - "2018-03-28"
75 url: https://golangrocksonazure.table.core.windows.net/$batch
76 method: POST
77 response:
78 body: "--batchresponse_7180aed1-09fb-497e-806f-0f115273b621\r\nContent-Type: multipart/mixed;
79 boundary=changesetresponse_80e3a21f-c34e-4708-be90-21ab33441e21\r\n\r\n--changesetresponse_80e3a21f-c34e-4708-be90-21ab33441e21\r\nContent-Type:
80 application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No
81 Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied:
82 return-no-content\r\nDataServiceVersion: 3.0;\r\nETag: W/\"datetime'2021-04-13T15%3A57%3A58.1766022Z'\"\r\n\r\n\r\n--changesetresponse_80e3a21f-c34e-4708-be90-21ab33441e21--\r\n--batchresponse_7180aed1-09fb-497e-806f-0f115273b621--\r\n"
83 headers:
84 Cache-Control:
85 - no-cache
86 Content-Type:
87 - multipart/mixed; boundary=batchresponse_7180aed1-09fb-497e-806f-0f115273b621
88 Date:
89 - Tue, 13 Apr 2021 15:57:57 GMT
90 Server:
91 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
92 X-Content-Type-Options:
93 - nosniff
94 X-Ms-Request-Id:
95 - 21520b3a-6002-0019-537d-301f56000000
96 X-Ms-Version:
97 - "2018-03-28"
98 status: 202 Accepted
99 code: 202
100 duration: ""
101- request:
102 body: "--batch_cf38e7a2-1a14-40e7-b9bd-f50f09804439\r\nContent-Type: multipart/mixed;
103 boundary=changeset_4b684ffa-62e2-4ed9-991a-220e75e0791c\r\n\r\n\r\n--changeset_4b684ffa-62e2-4ed9-991a-220e75e0791c\r\nContent-Transfer-Encoding:
104 binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/table57tablebatchsuitetestbatchi%28PartitionKey=%27mypartitionkey%27,RowKey=%27myrowkey%27%29
105 HTTP/1.1\r\nAccept: application/json;odata=minimalmetadata\r\nContent-Type:
106 application/json\r\nPrefer: return-no-content\r\n\r\n{\"AmountDue\":\"200.23\",\"AmountDue@odata.type\":\"Edm.Double\",\"CustomerCode\":\"c9da6455-213d-42c9-9a79-3e9149a57833\",\"CustomerCode@odata.type\":\"Edm.Guid\",\"CustomerSince\":\"1992-12-20T21:55:00Z\",\"CustomerSince@odata.type\":\"Edm.DateTime\",\"DifferentField\":123,\"NumberOfOrders\":\"255\",\"NumberOfOrders@odata.type\":\"Edm.Int64\",\"PartitionKey\":\"mypartitionkey\",\"RowKey\":\"myrowkey\"}\r\n--changeset_4b684ffa-62e2-4ed9-991a-220e75e0791c--\r\n\r\n--batch_cf38e7a2-1a14-40e7-b9bd-f50f09804439--\r\n"
107 form: {}
108 headers:
109 Authorization:
110 - SharedKey golangrocksonazure:Dh09yYULJlGGOJ+xS7pLmLzYTqSfdyjsR5krflI93bI=
111 Content-Type:
112 - multipart/mixed; boundary=batch_cf38e7a2-1a14-40e7-b9bd-f50f09804439
113 User-Agent:
114 - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
115 table
116 X-Ms-Date:
117 - Tue, 13 Apr 2021 15:57:58 GMT
118 X-Ms-Version:
119 - "2018-03-28"
120 url: https://golangrocksonazure.table.core.windows.net/$batch
121 method: POST
122 response:
123 body: "--batchresponse_f8483217-fbbe-4166-ac23-721d706a3feb\r\nContent-Type: multipart/mixed;
124 boundary=changesetresponse_f5f3d9b7-6b35-4f54-9d2a-b9919fc0dabe\r\n\r\n--changesetresponse_f5f3d9b7-6b35-4f54-9d2a-b9919fc0dabe\r\nContent-Type:
125 application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No
126 Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied:
127 return-no-content\r\nDataServiceVersion: 3.0;\r\nETag: W/\"datetime'2021-04-13T15%3A57%3A58.2676672Z'\"\r\n\r\n\r\n--changesetresponse_f5f3d9b7-6b35-4f54-9d2a-b9919fc0dabe--\r\n--batchresponse_f8483217-fbbe-4166-ac23-721d706a3feb--\r\n"
128 headers:
129 Cache-Control:
130 - no-cache
131 Content-Type:
132 - multipart/mixed; boundary=batchresponse_f8483217-fbbe-4166-ac23-721d706a3feb
133 Date:
134 - Tue, 13 Apr 2021 15:57:57 GMT
135 Server:
136 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
137 X-Content-Type-Options:
138 - nosniff
139 X-Ms-Request-Id:
140 - 21520b40-6002-0019-587d-301f56000000
141 X-Ms-Version:
142 - "2018-03-28"
143 status: 202 Accepted
144 code: 202
145 duration: ""
146- request:
147 body: ""
148 form: {}
149 headers:
150 Accept:
151 - application/json;odata=fullmetadata
152 Authorization:
153 - SharedKey golangrocksonazure:vSks+RQnjDmk0ePovfB7morWaDRybOy64B1boJTpe5Y=
154 User-Agent:
155 - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
156 table
157 x-ms-date:
158 - Tue, 13 Apr 2021 15:57:58 GMT
159 x-ms-version:
160 - "2018-03-28"
161 url: https://golangrocksonazure.table.core.windows.net/table57tablebatchsuitetestbatchi?%24top=2&timeout=30
162 method: GET
163 response:
164 body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table57tablebatchsuitetestbatchi","value":[{"odata.type":"golangrocksonazure.table57tablebatchsuitetestbatchi","odata.id":"https://golangrocksonazure.table.core.windows.net/table57tablebatchsuitetestbatchi(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","odata.etag":"W/\"datetime''2021-04-13T15%3A57%3A58.2676672Z''\"","odata.editLink":"table57tablebatchsuitetestbatchi(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2021-04-13T15:57:58.2676672Z","AmountDue":200.23,"CustomerCode@odata.type":"Edm.Guid","CustomerCode":"c9da6455-213d-42c9-9a79-3e9149a57833","CustomerSince@odata.type":"Edm.DateTime","CustomerSince":"1992-12-20T21:55:00Z","DifferentField":123,"NumberOfOrders@odata.type":"Edm.Int64","NumberOfOrders":"255"}]}'
165 headers:
166 Cache-Control:
167 - no-cache
168 Content-Type:
169 - application/json;odata=fullmetadata;streaming=true;charset=utf-8
170 Date:
171 - Tue, 13 Apr 2021 15:57:57 GMT
172 Server:
173 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
174 X-Content-Type-Options:
175 - nosniff
176 X-Ms-Request-Id:
177 - 21520b55-6002-0019-6a7d-301f56000000
178 X-Ms-Version:
179 - "2018-03-28"
180 status: 200 OK
181 code: 200
182 duration: ""
183- request:
184 body: ""
185 form: {}
186 headers:
187 Accept:
188 - application/json;odata=nometadata
189 Authorization:
190 - SharedKey golangrocksonazure:yUr+5MmptmlNeigPhsePbvcFJIBtlQXqmXNmhHhNfIs=
191 Prefer:
192 - return-no-content
193 User-Agent:
194 - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
195 table
196 x-ms-date:
197 - Tue, 13 Apr 2021 15:57:58 GMT
198 x-ms-version:
199 - "2018-03-28"
200 url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table57tablebatchsuitetestbatchi%27%29?timeout=30
201 method: DELETE
202 response:
203 body: ""
204 headers:
205 Cache-Control:
206 - no-cache
207 Content-Length:
208 - "0"
209 Date:
210 - Tue, 13 Apr 2021 15:57:57 GMT
211 Server:
212 - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
213 X-Content-Type-Options:
214 - nosniff
215 X-Ms-Request-Id:
216 - 21520b59-6002-0019-6e7d-301f56000000
217 X-Ms-Version:
218 - "2018-03-28"
219 status: 204 No Content
220 code: 204
221 duration: ""
View as plain text