1---
2version: 1
3rwmutex: {}
4interactions:
5- request:
6    body: |
7      {"TableName":"tableme48tablebatchsuitetestbatc"}
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('tableme48tablebatchsuitetestbatc')
40      Date:
41      - Thu, 20 Jul 2017 23:34:10 GMT
42      Location:
43      - https://golangrocksonazure.table.core.windows.net/Tables('tableme48tablebatchsuitetestbatc')
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      - 875b8390-0002-0036-06b0-0102e5000000
52      X-Ms-Version:
53      - 2016-05-31
54    status: 204 No Content
55    code: 204
56- request:
57    body: "--batch_ef30a919-6da3-11e7-98ae-6c3be5272b75\r\nContent-Type: multipart/mixed;
58      boundary=changeset_ef30a919-6da3-11e7-98ad-6c3be5272b75\r\n\r\n\r\n--changeset_ef30a919-6da3-11e7-98ad-6c3be5272b75\r\nContent-Transfer-Encoding:
59      binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc%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_ef30a919-6da3-11e7-98ad-6c3be5272b75\r\nContent-Transfer-Encoding:
62      binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey2%27%29
63      HTTP/1.1\r\nAccept: application/json;odata=minimalmetadata\r\nContent-Type:
64      application/json\r\nPrefer: return-no-content\r\n\r\n{\"AmountDue\":111.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\":\"myrowkey2\"}\r\n--changeset_ef30a919-6da3-11e7-98ad-6c3be5272b75--\r\n\r\n--batch_ef30a919-6da3-11e7-98ae-6c3be5272b75--\r\n"
65    form: {}
66    headers:
67      Authorization:
68      - SharedKey golangrocksonazure:pIYjrohstaWPRYFMNuYVUyxlUxdq9aCRNGHAjzi/zDo=
69      Content-Type:
70      - multipart/mixed; boundary=batch_ef30a919-6da3-11e7-98ae-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_7ef4657c-3d03-4124-be07-7d71bd88808d\r\nContent-Type: multipart/mixed;
82      boundary=changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0\r\n\r\n--changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0\r\nContent-Type:
83      application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No
84      Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied:
85      return-no-content\r\nDataServiceVersion: 3.0;\r\nETag: W/\"datetime'2017-07-20T23%3A34%3A11.310459Z'\"\r\n\r\n\r\n--changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0\r\nContent-Type:
86      application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No
87      Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied:
88      return-no-content\r\nDataServiceVersion: 3.0;\r\nETag: W/\"datetime'2017-07-20T23%3A34%3A11.310459Z'\"\r\n\r\n\r\n--changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0--\r\n--batchresponse_7ef4657c-3d03-4124-be07-7d71bd88808d--\r\n"
89    headers:
90      Cache-Control:
91      - no-cache
92      Content-Type:
93      - multipart/mixed; boundary=batchresponse_7ef4657c-3d03-4124-be07-7d71bd88808d
94      Date:
95      - Thu, 20 Jul 2017 23:34:10 GMT
96      Server:
97      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
98      X-Content-Type-Options:
99      - nosniff
100      X-Ms-Request-Id:
101      - 875b8393-0002-0036-08b0-0102e5000000
102      X-Ms-Version:
103      - 2016-05-31
104    status: 202 Accepted
105    code: 202
106- request:
107    body: ""
108    form: {}
109    headers:
110      Accept:
111      - application/json;odata=fullmetadata
112      Authorization:
113      - SharedKey golangrocksonazure:GqQQaMHDx7V1Tp0qG7gPxHtyxk29oBVbUBuXA3EbKOA=
114      User-Agent:
115      - Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
116        table
117      x-ms-date:
118      - Thu, 20 Jul 2017 23:34:11 GMT
119      x-ms-version:
120      - 2016-05-31
121    url: https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc?%24top=2&timeout=30
122    method: GET
123  response:
124    body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#tableme48tablebatchsuitetestbatc","value":[{"odata.type":"golangrocksonazure.tableme48tablebatchsuitetestbatc","odata.id":"https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","odata.etag":"W/\"datetime''2017-07-20T23%3A34%3A11.310459Z''\"","odata.editLink":"tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2017-07-20T23:34:11.310459Z","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","IsActive":true,"NumberOfOrders@odata.type":"Edm.Int64","NumberOfOrders":"255"},{"odata.type":"golangrocksonazure.tableme48tablebatchsuitetestbatc","odata.id":"https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey2'')","odata.etag":"W/\"datetime''2017-07-20T23%3A34%3A11.310459Z''\"","odata.editLink":"tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey2'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey2","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2017-07-20T23:34:11.310459Z","AmountDue":111.23,"CustomerCode@odata.type":"Edm.Guid","CustomerCode":"c9da6455-213d-42c9-9a79-3e9149a57833","CustomerSince@odata.type":"Edm.DateTime","CustomerSince":"1992-12-20T21:55:00Z","IsActive":true,"NumberOfOrders@odata.type":"Edm.Int64","NumberOfOrders":"255"}]}'
125    headers:
126      Cache-Control:
127      - no-cache
128      Content-Type:
129      - application/json;odata=fullmetadata;streaming=true;charset=utf-8
130      Date:
131      - Thu, 20 Jul 2017 23:34:10 GMT
132      Server:
133      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
134      X-Content-Type-Options:
135      - nosniff
136      X-Ms-Request-Id:
137      - 875b8394-0002-0036-09b0-0102e5000000
138      X-Ms-Version:
139      - 2016-05-31
140    status: 200 OK
141    code: 200
142- request:
143    body: ""
144    form: {}
145    headers:
146      Accept:
147      - application/json;odata=nometadata
148      Authorization:
149      - SharedKey golangrocksonazure:C2/AbzBy6EIXnncmFLw7Ihs07QehLuu4iIgB/frygq0=
150      Prefer:
151      - return-no-content
152      User-Agent:
153      - Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
154        table
155      x-ms-date:
156      - Thu, 20 Jul 2017 23:34:11 GMT
157      x-ms-version:
158      - 2016-05-31
159    url: https://golangrocksonazure.table.core.windows.net/Tables%28%27tableme48tablebatchsuitetestbatc%27%29?timeout=30
160    method: DELETE
161  response:
162    body: ""
163    headers:
164      Cache-Control:
165      - no-cache
166      Content-Length:
167      - "0"
168      Date:
169      - Thu, 20 Jul 2017 23:34:11 GMT
170      Server:
171      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
172      X-Content-Type-Options:
173      - nosniff
174      X-Ms-Request-Id:
175      - 875b8395-0002-0036-0ab0-0102e5000000
176      X-Ms-Version:
177      - 2016-05-31
178    status: 204 No Content
179    code: 204
180