...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: |
     6      {"TableName":"table29storageentitysuitetestins"}
     7    form: {}
     8    headers:
     9      Accept:
    10      - application/json;odata=nometadata
    11      Accept-Charset:
    12      - UTF-8
    13      Authorization:
    14      - SharedKey golangrocksonazure:lVGBIpnUqhQNb8Z5hCPgDKvzy69wV+VK2+SNg5y29UE=
    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:41 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('table29storageentitysuitetestins')
    39      Date:
    40      - Tue, 13 Apr 2021 15:57:40 GMT
    41      Location:
    42      - https://golangrocksonazure.table.core.windows.net/Tables('table29storageentitysuitetestins')
    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      - 2152009b-6002-0019-737d-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=nometadata
    62      Accept-Charset:
    63      - UTF-8
    64      Authorization:
    65      - SharedKey golangrocksonazure:43UC0M1FGg76BzLoTbwdn5ijeTz36QvhVCql4WH63Eo=
    66      Content-Length:
    67      - "361"
    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:41 GMT
    77      x-ms-version:
    78      - "2018-03-28"
    79    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestins
    80    method: POST
    81  response:
    82    body: ""
    83    headers:
    84      Cache-Control:
    85      - no-cache
    86      Content-Length:
    87      - "0"
    88      Dataserviceid:
    89      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestins(PartitionKey='mypartitionkey',RowKey='myrowkey')
    90      Date:
    91      - Tue, 13 Apr 2021 15:57:40 GMT
    92      Etag:
    93      - W/"datetime'2021-04-13T15%3A57%3A41.6529101Z'"
    94      Location:
    95      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestins(PartitionKey='mypartitionkey',RowKey='myrowkey')
    96      Preference-Applied:
    97      - return-no-content
    98      Server:
    99      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   100      X-Content-Type-Options:
   101      - nosniff
   102      X-Ms-Request-Id:
   103      - 215200a8-6002-0019-7f7d-301f56000000
   104      X-Ms-Version:
   105      - "2018-03-28"
   106    status: 204 No Content
   107    code: 204
   108    duration: ""
   109- request:
   110    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":"mypartitionkey2","RowKey":"myrowkey2"}'
   111    form: {}
   112    headers:
   113      Accept:
   114      - application/json;odata=fullmetadata
   115      Accept-Charset:
   116      - UTF-8
   117      Authorization:
   118      - SharedKey golangrocksonazure:43UC0M1FGg76BzLoTbwdn5ijeTz36QvhVCql4WH63Eo=
   119      Content-Length:
   120      - "363"
   121      Content-Type:
   122      - application/json
   123      Prefer:
   124      - return-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:41 GMT
   130      x-ms-version:
   131      - "2018-03-28"
   132    url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestins
   133    method: POST
   134  response:
   135    body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table29storageentitysuitetestins/@Element","odata.type":"golangrocksonazure.table29storageentitysuitetestins","odata.id":"https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestins(PartitionKey=''mypartitionkey2'',RowKey=''myrowkey2'')","odata.etag":"W/\"datetime''2021-04-13T15%3A57%3A41.7369708Z''\"","odata.editLink":"table29storageentitysuitetestins(PartitionKey=''mypartitionkey2'',RowKey=''myrowkey2'')","PartitionKey":"mypartitionkey2","RowKey":"myrowkey2","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2021-04-13T15:57:41.7369708Z","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"}'
   136    headers:
   137      Cache-Control:
   138      - no-cache
   139      Content-Type:
   140      - application/json;odata=fullmetadata;streaming=true;charset=utf-8
   141      Date:
   142      - Tue, 13 Apr 2021 15:57:40 GMT
   143      Etag:
   144      - W/"datetime'2021-04-13T15%3A57%3A41.7369708Z'"
   145      Location:
   146      - https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestins(PartitionKey='mypartitionkey2',RowKey='myrowkey2')
   147      Preference-Applied:
   148      - return-content
   149      Server:
   150      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   151      X-Content-Type-Options:
   152      - nosniff
   153      X-Ms-Request-Id:
   154      - 215200b2-6002-0019-097d-301f56000000
   155      X-Ms-Version:
   156      - "2018-03-28"
   157    status: 201 Created
   158    code: 201
   159    duration: ""
   160- request:
   161    body: ""
   162    form: {}
   163    headers:
   164      Accept:
   165      - application/json;odata=nometadata
   166      Authorization:
   167      - SharedKey golangrocksonazure:sByRp4KXyHiNB4HxTCCnwKbjBQG22JlvUG7hKB1/zLI=
   168      Prefer:
   169      - return-no-content
   170      User-Agent:
   171      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   172        table
   173      x-ms-date:
   174      - Tue, 13 Apr 2021 15:57:42 GMT
   175      x-ms-version:
   176      - "2018-03-28"
   177    url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table29storageentitysuitetestins%27%29?timeout=30
   178    method: DELETE
   179  response:
   180    body: ""
   181    headers:
   182      Cache-Control:
   183      - no-cache
   184      Content-Length:
   185      - "0"
   186      Date:
   187      - Tue, 13 Apr 2021 15:57:40 GMT
   188      Server:
   189      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
   190      X-Content-Type-Options:
   191      - nosniff
   192      X-Ms-Request-Id:
   193      - 215200c4-6002-0019-177d-301f56000000
   194      X-Ms-Version:
   195      - "2018-03-28"
   196    status: 204 No Content
   197    code: 204
   198    duration: ""

View as plain text