...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: |
     6      {"TableName":"table36storageentitysuitetestins"}
     7    form: {}
     8    headers:
     9      Accept:
    10      - application/json;odata=nometadata
    11      Accept-Charset:
    12      - UTF-8
    13      Authorization:
    14      - SharedKey golangrocksonazure:pVUxNVPhoLLMoiiZkAB5VJj885By63xk/bdQEXCtLeQ=
    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:42 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('table36storageentitysuitetestins')
    39      Date:
    40      - Tue, 13 Apr 2021 15:57:40 GMT
    41      Location:
    42      - https://golangrocksonazure.table.core.windows.net/Tables('table36storageentitysuitetestins')
    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      - 215200cb-6002-0019-1e7d-301f56000000
    51      X-Ms-Version:
    52      - "2018-03-28"
    53    status: 204 No Content
    54    code: 204
    55    duration: ""
    56- request:
    57    body: '{"FamilyName":"Skywalker","Name":"Luke","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
    58    form: {}
    59    headers:
    60      Accept:
    61      - application/json;odata=nometadata
    62      Accept-Charset:
    63      - UTF-8
    64      Authorization:
    65      - SharedKey golangrocksonazure:w7Bal5uffI9u5GykAAMNo4A9LnNryi3GJJXggaGgehc=
    66      Content-Length:
    67      - "92"
    68      Content-Type:
    69      - application/json
    70      Prefer:
    71      - return-no-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:42 GMT
    77      x-ms-version:
    78      - "2018-03-28"
    79    url: https://golangrocksonazure.table.core.windows.net/table36storageentitysuitetestins%28PartitionKey=%27mypartitionkey%27,RowKey=%27myrowkey%27%29
    80    method: MERGE
    81  response:
    82    body: ""
    83    headers:
    84      Cache-Control:
    85      - no-cache
    86      Content-Length:
    87      - "0"
    88      Date:
    89      - Tue, 13 Apr 2021 15:57:40 GMT
    90      Etag:
    91      - W/"datetime'2021-04-13T15%3A57%3A41.9420684Z'"
    92      Preference-Applied:
    93      - return-no-content
    94      Server:
    95      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
    96      X-Content-Type-Options:
    97      - nosniff
    98      X-Ms-Request-Id:
    99      - 215200d3-6002-0019-257d-301f56000000
   100      X-Ms-Version:
   101      - "2018-03-28"
   102    status: 204 No Content
   103    code: 204
   104    duration: ""
   105- request:
   106    body: '{"Father":"Anakin","Mentor":"Yoda","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
   107    form: {}
   108    headers:
   109      Accept:
   110      - application/json;odata=nometadata
   111      Accept-Charset:
   112      - UTF-8
   113      Authorization:
   114      - SharedKey golangrocksonazure:w7Bal5uffI9u5GykAAMNo4A9LnNryi3GJJXggaGgehc=
   115      Content-Length:
   116      - "87"
   117      Content-Type:
   118      - application/json
   119      Prefer:
   120      - return-no-content
   121      User-Agent:
   122      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   123        table
   124      x-ms-date:
   125      - Tue, 13 Apr 2021 15:57:42 GMT
   126      x-ms-version:
   127      - "2018-03-28"
   128    url: https://golangrocksonazure.table.core.windows.net/table36storageentitysuitetestins%28PartitionKey=%27mypartitionkey%27,RowKey=%27myrowkey%27%29
   129    method: MERGE
   130  response:
   131    body: ""
   132    headers:
   133      Cache-Control:
   134      - no-cache
   135      Content-Length:
   136      - "0"
   137      Date:
   138      - Tue, 13 Apr 2021 15:57:41 GMT
   139      Etag:
   140      - W/"datetime'2021-04-13T15%3A57%3A42.0231258Z'"
   141      Preference-Applied:
   142      - return-no-content
   143      Server:
   144      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   145      X-Content-Type-Options:
   146      - nosniff
   147      X-Ms-Request-Id:
   148      - 215200e1-6002-0019-337d-301f56000000
   149      X-Ms-Version:
   150      - "2018-03-28"
   151    status: 204 No Content
   152    code: 204
   153    duration: ""
   154- request:
   155    body: ""
   156    form: {}
   157    headers:
   158      Accept:
   159      - application/json;odata=nometadata
   160      Authorization:
   161      - SharedKey golangrocksonazure:sWs7Iy+f1IWyT/teTnSgdgzhgWgCn54zAvA7/+jaSTY=
   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:42 GMT
   169      x-ms-version:
   170      - "2018-03-28"
   171    url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table36storageentitysuitetestins%27%29?timeout=30
   172    method: DELETE
   173  response:
   174    body: ""
   175    headers:
   176      Cache-Control:
   177      - no-cache
   178      Content-Length:
   179      - "0"
   180      Date:
   181      - Tue, 13 Apr 2021 15:57:41 GMT
   182      Server:
   183      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   184      X-Content-Type-Options:
   185      - nosniff
   186      X-Ms-Request-Id:
   187      - 215200ef-6002-0019-417d-301f56000000
   188      X-Ms-Version:
   189      - "2018-03-28"
   190    status: 204 No Content
   191    code: 204
   192    duration: ""

View as plain text