...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: |
     6      {"TableName":"table29storageentitysuitetestupd"}
     7    form: {}
     8    headers:
     9      Accept:
    10      - application/json;odata=nometadata
    11      Accept-Charset:
    12      - UTF-8
    13      Authorization:
    14      - SharedKey golangrocksonazure:3des5wh8gc9u8NrTZq9cVCKmnwS6yfI7LSgjHLseekU=
    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:43 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('table29storageentitysuitetestupd')
    39      Date:
    40      - Tue, 13 Apr 2021 15:57:41 GMT
    41      Location:
    42      - https://golangrocksonazure.table.core.windows.net/Tables('table29storageentitysuitetestupd')
    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      - 21520168-6002-0019-347d-301f56000000
    51      X-Ms-Version:
    52      - "2018-03-28"
    53    status: 204 No Content
    54    code: 204
    55    duration: ""
    56- request:
    57    body: '{"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"}'
    58    form: {}
    59    headers:
    60      Accept:
    61      - application/json;odata=fullmetadata
    62      Accept-Charset:
    63      - UTF-8
    64      Authorization:
    65      - SharedKey golangrocksonazure:2o6t4psDvRkQ6XAZtZKN77q6qODbkvdZTt4QZgL5f7k=
    66      Content-Length:
    67      - "361"
    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:43 GMT
    77      x-ms-version:
    78      - "2018-03-28"
    79    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd
    80    method: POST
    81  response:
    82    body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table29storageentitysuitetestupd/@Element","odata.type":"golangrocksonazure.table29storageentitysuitetestupd","odata.id":"https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","odata.etag":"W/\"datetime''2021-04-13T15%3A57%3A42.9918625Z''\"","odata.editLink":"table29storageentitysuitetestupd(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2021-04-13T15:57:42.9918625Z","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"}'
    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:42 GMT
    90      Etag:
    91      - W/"datetime'2021-04-13T15%3A57%3A42.9918625Z'"
    92      Location:
    93      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd(PartitionKey='mypartitionkey',RowKey='myrowkey')
    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      - 21520175-6002-0019-407d-301f56000000
   102      X-Ms-Version:
   103      - "2018-03-28"
   104    status: 201 Created
   105    code: 201
   106    duration: ""
   107- request:
   108    body: '{"FamilyName":"Skywalker","HasEpicTheme":true,"Name":"Anakin","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
   109    form: {}
   110    headers:
   111      Accept:
   112      - application/json;odata=nometadata
   113      Accept-Charset:
   114      - UTF-8
   115      Authorization:
   116      - SharedKey golangrocksonazure:U0ZJs6vdQKAGAVulDoAWC/hji1MXdmg9r6WdlhVP6no=
   117      Content-Length:
   118      - "114"
   119      Content-Type:
   120      - application/json
   121      If-Match:
   122      - W/"datetime'2021-04-13T15%3A57%3A42.9918625Z'"
   123      Prefer:
   124      - return-no-content
   125      User-Agent:
   126      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   127        table
   128      x-ms-date:
   129      - Tue, 13 Apr 2021 15:57:43 GMT
   130      x-ms-version:
   131      - "2018-03-28"
   132    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd%28PartitionKey=%27mypartitionkey%27,RowKey=%27myrowkey%27%29
   133    method: PUT
   134  response:
   135    body: ""
   136    headers:
   137      Cache-Control:
   138      - no-cache
   139      Content-Length:
   140      - "0"
   141      Date:
   142      - Tue, 13 Apr 2021 15:57:42 GMT
   143      Etag:
   144      - W/"datetime'2021-04-13T15%3A57%3A43.0778755Z'"
   145      Preference-Applied:
   146      - return-no-content
   147      Server:
   148      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   149      X-Content-Type-Options:
   150      - nosniff
   151      X-Ms-Request-Id:
   152      - 21520182-6002-0019-4b7d-301f56000000
   153      X-Ms-Version:
   154      - "2018-03-28"
   155    status: 204 No Content
   156    code: 204
   157    duration: ""
   158- request:
   159    body: '{"FamilyName":"Skywalker","HasEpicTheme":true,"Name":"Anakin","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
   160    form: {}
   161    headers:
   162      Accept:
   163      - application/json;odata=nometadata
   164      Accept-Charset:
   165      - UTF-8
   166      Authorization:
   167      - SharedKey golangrocksonazure:U0ZJs6vdQKAGAVulDoAWC/hji1MXdmg9r6WdlhVP6no=
   168      Content-Length:
   169      - "114"
   170      Content-Type:
   171      - application/json
   172      If-Match:
   173      - W/"datetime''2017-04-01T01%3A07%3A23.8881885Z''"
   174      Prefer:
   175      - return-no-content
   176      User-Agent:
   177      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   178        table
   179      x-ms-date:
   180      - Tue, 13 Apr 2021 15:57:43 GMT
   181      x-ms-version:
   182      - "2018-03-28"
   183    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd%28PartitionKey=%27mypartitionkey%27,RowKey=%27myrowkey%27%29
   184    method: PUT
   185  response:
   186    body: '{"odata.error":{"code":"ConditionNotMet","message":{"lang":"en-US","value":"The
   187      condition specified using HTTP conditional header(s) is not met.\nRequestId:2152019f-6002-0019-657d-301f56000000\nTime:2021-04-13T15:57:43.1749936Z"}}}'
   188    headers:
   189      Content-Type:
   190      - application/json;odata=nometadata;streaming=true;charset=utf-8
   191      Date:
   192      - Tue, 13 Apr 2021 15:57:42 GMT
   193      Server:
   194      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   195      X-Content-Type-Options:
   196      - nosniff
   197      X-Ms-Request-Id:
   198      - 2152019f-6002-0019-657d-301f56000000
   199      X-Ms-Version:
   200      - "2018-03-28"
   201    status: 412 Precondition Failed
   202    code: 412
   203    duration: ""
   204- request:
   205    body: '{"FamilyName":"Organa","HasAwesomeDress":true,"Name":"Leia","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
   206    form: {}
   207    headers:
   208      Accept:
   209      - application/json;odata=nometadata
   210      Accept-Charset:
   211      - UTF-8
   212      Authorization:
   213      - SharedKey golangrocksonazure:U0ZJs6vdQKAGAVulDoAWC/hji1MXdmg9r6WdlhVP6no=
   214      Content-Length:
   215      - "112"
   216      Content-Type:
   217      - application/json
   218      If-Match:
   219      - '*'
   220      Prefer:
   221      - return-no-content
   222      User-Agent:
   223      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   224        table
   225      x-ms-date:
   226      - Tue, 13 Apr 2021 15:57:43 GMT
   227      x-ms-version:
   228      - "2018-03-28"
   229    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd%28PartitionKey=%27mypartitionkey%27,RowKey=%27myrowkey%27%29
   230    method: PUT
   231  response:
   232    body: ""
   233    headers:
   234      Cache-Control:
   235      - no-cache
   236      Content-Length:
   237      - "0"
   238      Date:
   239      - Tue, 13 Apr 2021 15:57:42 GMT
   240      Etag:
   241      - W/"datetime'2021-04-13T15%3A57%3A43.3430639Z'"
   242      Preference-Applied:
   243      - return-no-content
   244      Server:
   245      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   246      X-Content-Type-Options:
   247      - nosniff
   248      X-Ms-Request-Id:
   249      - 215201b6-6002-0019-787d-301f56000000
   250      X-Ms-Version:
   251      - "2018-03-28"
   252    status: 204 No Content
   253    code: 204
   254    duration: ""
   255- request:
   256    body: ""
   257    form: {}
   258    headers:
   259      Accept:
   260      - application/json;odata=nometadata
   261      Authorization:
   262      - SharedKey golangrocksonazure:r6ztBgI21hP/iFjtddbjTShAIn79vMUr5dFQmRn7v4k=
   263      Prefer:
   264      - return-no-content
   265      User-Agent:
   266      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   267        table
   268      x-ms-date:
   269      - Tue, 13 Apr 2021 15:57:43 GMT
   270      x-ms-version:
   271      - "2018-03-28"
   272    url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table29storageentitysuitetestupd%27%29?timeout=30
   273    method: DELETE
   274  response:
   275    body: ""
   276    headers:
   277      Cache-Control:
   278      - no-cache
   279      Content-Length:
   280      - "0"
   281      Date:
   282      - Tue, 13 Apr 2021 15:57:42 GMT
   283      Server:
   284      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   285      X-Content-Type-Options:
   286      - nosniff
   287      X-Ms-Request-Id:
   288      - 215201be-6002-0019-807d-301f56000000
   289      X-Ms-Version:
   290      - "2018-03-28"
   291    status: 204 No Content
   292    code: 204
   293    duration: ""

View as plain text