...

Text file src/github.com/Azure/azure-sdk-for-go/storage/recordings/StorageEntitySuite/TestDelete.yaml

Documentation: github.com/Azure/azure-sdk-for-go/storage/recordings/StorageEntitySuite

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: |
     6      {"TableName":"table29storageentitysuitetestdel"}
     7    form: {}
     8    headers:
     9      Accept:
    10      - application/json;odata=nometadata
    11      Accept-Charset:
    12      - UTF-8
    13      Authorization:
    14      - SharedKey golangrocksonazure:SBjNk9GH2RSfpUZsc040YuEE4t4YMpb+HDDY7ZR/QOM=
    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:40 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('table29storageentitysuitetestdel')
    39      Date:
    40      - Tue, 13 Apr 2021 15:57:39 GMT
    41      Location:
    42      - https://golangrocksonazure.table.core.windows.net/Tables('table29storageentitysuitetestdel')
    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      - 2151ffc1-6002-0019-247d-301f56000000
    51      X-Ms-Version:
    52      - "2018-03-28"
    53    status: 204 No Content
    54    code: 204
    55    duration: ""
    56- request:
    57    body: '{"PartitionKey":"pkey1","RowKey":"rowkey1"}'
    58    form: {}
    59    headers:
    60      Accept:
    61      - application/json;odata=fullmetadata
    62      Accept-Charset:
    63      - UTF-8
    64      Authorization:
    65      - SharedKey golangrocksonazure:wiDefcrKEoLNh7yxqITtj+DJJkZGsOiYLGOBMJMCHSw=
    66      Content-Length:
    67      - "43"
    68      Content-Type:
    69      - application/json
    70      Prefer:
    71      - return-content
    72      User-Agent:
    73      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    74        table
    75      x-ms-date:
    76      - Tue, 13 Apr 2021 15:57:40 GMT
    77      x-ms-version:
    78      - "2018-03-28"
    79    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel
    80    method: POST
    81  response:
    82    body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table29storageentitysuitetestdel/@Element","odata.type":"golangrocksonazure.table29storageentitysuitetestdel","odata.id":"https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel(PartitionKey=''pkey1'',RowKey=''rowkey1'')","odata.etag":"W/\"datetime''2021-04-13T15%3A57%3A40.3569884Z''\"","odata.editLink":"table29storageentitysuitetestdel(PartitionKey=''pkey1'',RowKey=''rowkey1'')","PartitionKey":"pkey1","RowKey":"rowkey1","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2021-04-13T15:57:40.3569884Z"}'
    83    headers:
    84      Cache-Control:
    85      - no-cache
    86      Content-Type:
    87      - application/json;odata=fullmetadata;streaming=true;charset=utf-8
    88      Date:
    89      - Tue, 13 Apr 2021 15:57:39 GMT
    90      Etag:
    91      - W/"datetime'2021-04-13T15%3A57%3A40.3569884Z'"
    92      Location:
    93      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel(PartitionKey='pkey1',RowKey='rowkey1')
    94      Preference-Applied:
    95      - return-content
    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      - 2151ffd0-6002-0019-317d-301f56000000
   102      X-Ms-Version:
   103      - "2018-03-28"
   104    status: 201 Created
   105    code: 201
   106    duration: ""
   107- request:
   108    body: ""
   109    form: {}
   110    headers:
   111      Accept:
   112      - application/json;odata=nometadata
   113      Authorization:
   114      - SharedKey golangrocksonazure:sZvkMi2dh/mzFVzdpjIbbLA4JIwNd+N8SdCkOHs2qWE=
   115      If-Match:
   116      - W/"datetime'2021-04-13T15%3A57%3A40.3569884Z'"
   117      Prefer:
   118      - return-no-content
   119      User-Agent:
   120      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   121        table
   122      x-ms-date:
   123      - Tue, 13 Apr 2021 15:57:40 GMT
   124      x-ms-version:
   125      - "2018-03-28"
   126    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel%28PartitionKey=%27pkey1%27,RowKey=%27rowkey1%27%29
   127    method: DELETE
   128  response:
   129    body: ""
   130    headers:
   131      Cache-Control:
   132      - no-cache
   133      Content-Length:
   134      - "0"
   135      Date:
   136      - Tue, 13 Apr 2021 15:57:39 GMT
   137      Server:
   138      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   139      X-Content-Type-Options:
   140      - nosniff
   141      X-Ms-Request-Id:
   142      - 2151ffea-6002-0019-487d-301f56000000
   143      X-Ms-Version:
   144      - "2018-03-28"
   145    status: 204 No Content
   146    code: 204
   147    duration: ""
   148- request:
   149    body: '{"PartitionKey":"pkey2","RowKey":"rowkey2"}'
   150    form: {}
   151    headers:
   152      Accept:
   153      - application/json;odata=nometadata
   154      Accept-Charset:
   155      - UTF-8
   156      Authorization:
   157      - SharedKey golangrocksonazure:wiDefcrKEoLNh7yxqITtj+DJJkZGsOiYLGOBMJMCHSw=
   158      Content-Length:
   159      - "43"
   160      Content-Type:
   161      - application/json
   162      Prefer:
   163      - return-no-content
   164      User-Agent:
   165      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   166        table
   167      x-ms-date:
   168      - Tue, 13 Apr 2021 15:57:40 GMT
   169      x-ms-version:
   170      - "2018-03-28"
   171    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel
   172    method: POST
   173  response:
   174    body: ""
   175    headers:
   176      Cache-Control:
   177      - no-cache
   178      Content-Length:
   179      - "0"
   180      Dataserviceid:
   181      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel(PartitionKey='pkey2',RowKey='rowkey2')
   182      Date:
   183      - Tue, 13 Apr 2021 15:57:39 GMT
   184      Etag:
   185      - W/"datetime'2021-04-13T15%3A57%3A40.4670668Z'"
   186      Location:
   187      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel(PartitionKey='pkey2',RowKey='rowkey2')
   188      Preference-Applied:
   189      - return-no-content
   190      Server:
   191      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   192      X-Content-Type-Options:
   193      - nosniff
   194      X-Ms-Request-Id:
   195      - 2151fff2-6002-0019-507d-301f56000000
   196      X-Ms-Version:
   197      - "2018-03-28"
   198    status: 204 No Content
   199    code: 204
   200    duration: ""
   201- request:
   202    body: ""
   203    form: {}
   204    headers:
   205      Accept:
   206      - application/json;odata=nometadata
   207      Authorization:
   208      - SharedKey golangrocksonazure:RoPJFz2iBdWWavnY+vSdb/ycjXqkEKihzjbnVDH8zPk=
   209      If-Match:
   210      - GolangRocksOnAzure
   211      Prefer:
   212      - return-no-content
   213      User-Agent:
   214      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   215        table
   216      x-ms-date:
   217      - Tue, 13 Apr 2021 15:57:40 GMT
   218      x-ms-version:
   219      - "2018-03-28"
   220    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel%28PartitionKey=%27pkey2%27,RowKey=%27rowkey2%27%29
   221    method: DELETE
   222  response:
   223    body: '{"odata.error":{"code":"InvalidInput","message":{"lang":"en-US","value":"The
   224      etag value ''GolangRocksOnAzure'' specified in one of the request headers is
   225      not valid. Please make sure only one etag value is specified and is valid.\nRequestId:21520001-6002-0019-5f7d-301f56000000\nTime:2021-04-13T15:57:40.4850800Z"}}}'
   226    headers:
   227      Content-Type:
   228      - application/json;odata=nometadata;streaming=true;charset=utf-8
   229      Date:
   230      - Tue, 13 Apr 2021 15:57:39 GMT
   231      Server:
   232      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   233      X-Content-Type-Options:
   234      - nosniff
   235      X-Ms-Request-Id:
   236      - 21520001-6002-0019-5f7d-301f56000000
   237      X-Ms-Version:
   238      - "2018-03-28"
   239    status: 400 Bad Request
   240    code: 400
   241    duration: ""
   242- request:
   243    body: ""
   244    form: {}
   245    headers:
   246      Accept:
   247      - application/json;odata=nometadata
   248      Authorization:
   249      - SharedKey golangrocksonazure:RoPJFz2iBdWWavnY+vSdb/ycjXqkEKihzjbnVDH8zPk=
   250      If-Match:
   251      - '*'
   252      Prefer:
   253      - return-no-content
   254      User-Agent:
   255      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   256        table
   257      x-ms-date:
   258      - Tue, 13 Apr 2021 15:57:40 GMT
   259      x-ms-version:
   260      - "2018-03-28"
   261    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestdel%28PartitionKey=%27pkey2%27,RowKey=%27rowkey2%27%29
   262    method: DELETE
   263  response:
   264    body: ""
   265    headers:
   266      Cache-Control:
   267      - no-cache
   268      Content-Length:
   269      - "0"
   270      Date:
   271      - Tue, 13 Apr 2021 15:57:39 GMT
   272      Server:
   273      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   274      X-Content-Type-Options:
   275      - nosniff
   276      X-Ms-Request-Id:
   277      - 2152000a-6002-0019-687d-301f56000000
   278      X-Ms-Version:
   279      - "2018-03-28"
   280    status: 204 No Content
   281    code: 204
   282    duration: ""
   283- request:
   284    body: ""
   285    form: {}
   286    headers:
   287      Accept:
   288      - application/json;odata=nometadata
   289      Authorization:
   290      - SharedKey golangrocksonazure:ofo/g+Dc6Zu61E600GrwYp8tIUGqv3A6bDeeKuj4L1w=
   291      Prefer:
   292      - return-no-content
   293      User-Agent:
   294      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   295        table
   296      x-ms-date:
   297      - Tue, 13 Apr 2021 15:57:40 GMT
   298      x-ms-version:
   299      - "2018-03-28"
   300    url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table29storageentitysuitetestdel%27%29?timeout=30
   301    method: DELETE
   302  response:
   303    body: ""
   304    headers:
   305      Cache-Control:
   306      - no-cache
   307      Content-Length:
   308      - "0"
   309      Date:
   310      - Tue, 13 Apr 2021 15:57:39 GMT
   311      Server:
   312      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   313      X-Content-Type-Options:
   314      - nosniff
   315      X-Ms-Request-Id:
   316      - 21520012-6002-0019-707d-301f56000000
   317      X-Ms-Version:
   318      - "2018-03-28"
   319    status: 204 No Content
   320    code: 204
   321    duration: ""

View as plain text