...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: ""
     6    form: {}
     7    headers:
     8      Authorization:
     9      - SharedKey golangrocksonazure:AAave3XLyxew2jB/ZWBFAJ0I4Qr6lZWlSTI4u1bRHTo=
    10      User-Agent:
    11      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    12        file
    13      x-ms-date:
    14      - Thu, 15 Apr 2021 14:39:41 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.file.core.windows.net/?comp=list
    18    method: GET
    19  response:
    20    body: "\uFEFF\x3C\x3F\x78\x6D\x6C\x20\x76\x65\x72\x73\x69\x6F\x6E\x3D\"\x31\x2E\x30\"\x20\x65\x6E\x63\x6F\x64\x69\x6E\x67\x3D\"\x75\x74\x66\x2D\x38\"\x3F\x3E\x3C\x45\x6E\x75\x6D\x65\x72\x61\x74\x69\x6F\x6E\x52\x65\x73\x75\x6C\x74\x73\x20\x53\x65\x72\x76\x69\x63\x65\x45\x6E\x64\x70\x6F\x69\x6E\x74\x3D\"\x68\x74\x74\x70\x73\x3A\x2F\x2F\x67\x6F\x6C\x61\x6E\x67\x72\x6F\x63\x6B\x73\x6F\x6E\x61\x7A\x75\x72\x65\x2E\x66\x69\x6C\x65\x2E\x63\x6F\x72\x65\x2E\x77\x69\x6E\x64\x6F\x77\x73\x2E\x6E\x65\x74\x2F\"\x3E\x3C\x53\x68\x61\x72\x65\x73\x3E\x3C\x53\x68\x61\x72\x65\x3E\x3C\x4E\x61\x6D\x65\x3E\x73\x68\x61\x72\x65\x2D\x34\x33\x33\x73\x74\x6F\x72\x61\x67\x65\x73\x68\x61\x72\x65\x73\x75\x69\x74\x65\x74\x65\x73\x74\x73\x68\x61\x72\x65\x65\x78\x69\x73\x74\x73\x3C\x2F\x4E\x61\x6D\x65\x3E\x3C\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x3E\x3C\x4C\x61\x73\x74\x2D\x4D\x6F\x64\x69\x66\x69\x65\x64\x3E\x54\x68\x75\x2C\x20\x31\x35\x20\x41\x70\x72\x20\x32\x30\x32\x31\x20\x31\x34\x3A\x33\x37\x3A\x33\x33\x20\x47\x4D\x54\x3C\x2F\x4C\x61\x73\x74\x2D\x4D\x6F\x64\x69\x66\x69\x65\x64\x3E\x3C\x45\x74\x61\x67\x3E\"\x30\x78\x38\x44\x39\x30\x30\x31\x43\x30\x31\x43\x37\x32\x37\x41\x30\"\x3C\x2F\x45\x74\x61\x67\x3E\x3C\x51\x75\x6F\x74\x61\x3E\x35\x31\x32\x30\x3C\x2F\x51\x75\x6F\x74\x61\x3E\x3C\x2F\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x3E\x3C\x2F\x53\x68\x61\x72\x65\x3E\x3C\x2F\x53\x68\x61\x72\x65\x73\x3E\x3C\x4E\x65\x78\x74\x4D\x61\x72\x6B\x65\x72\x20\x2F\x3E\x3C\x2F\x45\x6E\x75\x6D\x65\x72\x61\x74\x69\x6F\x6E\x52\x65\x73\x75\x6C\x74\x73\x3E"
    21    headers:
    22      Content-Type:
    23      - application/xml
    24      Date:
    25      - Thu, 15 Apr 2021 14:39:40 GMT
    26      Server:
    27      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    28      X-Ms-Request-Id:
    29      - c0ab38e3-301a-0049-0505-32dd06000000
    30      X-Ms-Version:
    31      - "2018-03-28"
    32    status: 200 OK
    33    code: 200
    34    duration: ""
    35- request:
    36    body: ""
    37    form: {}
    38    headers:
    39      Authorization:
    40      - SharedKey golangrocksonazure:7k5dPhuoYKoxT1caAVVUh3fhRGCI74FOwlhxpRRa3/Q=
    41      User-Agent:
    42      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    43        file
    44      x-ms-date:
    45      - Thu, 15 Apr 2021 14:39:41 GMT
    46      x-ms-version:
    47      - "2018-03-28"
    48    url: https://golangrocksonazure.file.core.windows.net/share-433storagesharesuitetestshareexists?restype=share
    49    method: DELETE
    50  response:
    51    body: ""
    52    headers:
    53      Content-Length:
    54      - "0"
    55      Date:
    56      - Thu, 15 Apr 2021 14:39:40 GMT
    57      Server:
    58      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    59      X-Ms-Request-Id:
    60      - c0ab38e4-301a-0049-0605-32dd06000000
    61      X-Ms-Version:
    62      - "2018-03-28"
    63    status: 202 Accepted
    64    code: 202
    65    duration: ""
    66- request:
    67    body: ""
    68    form: {}
    69    headers:
    70      Authorization:
    71      - SharedKey golangrocksonazure:Ioz/W4hFOn4zJ77CJyYCF9201uZ475ZJJ1dk7spQNMM=
    72      User-Agent:
    73      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    74        file
    75      x-ms-date:
    76      - Thu, 15 Apr 2021 14:39:41 GMT
    77      x-ms-version:
    78      - "2018-03-28"
    79    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile?restype=share
    80    method: PUT
    81  response:
    82    body: ""
    83    headers:
    84      Content-Length:
    85      - "0"
    86      Date:
    87      - Thu, 15 Apr 2021 14:39:40 GMT
    88      Etag:
    89      - '"0x8D9001C4DA37615"'
    90      Last-Modified:
    91      - Thu, 15 Apr 2021 14:39:41 GMT
    92      Server:
    93      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    94      X-Ms-Request-Id:
    95      - c0ab38e5-301a-0049-0705-32dd06000000
    96      X-Ms-Version:
    97      - "2018-03-28"
    98    status: 201 Created
    99    code: 201
   100    duration: ""
   101- request:
   102    body: ""
   103    form: {}
   104    headers:
   105      Authorization:
   106      - SharedKey golangrocksonazure:rmxh4dBKBRP4OPPawH/9yRPmkmGEzgIVSX+c1MtSvf8=
   107      User-Agent:
   108      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   109        file
   110      x-ms-date:
   111      - Thu, 15 Apr 2021 14:39:41 GMT
   112      x-ms-version:
   113      - "2018-03-28"
   114    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile/one?restype=directory
   115    method: PUT
   116  response:
   117    body: ""
   118    headers:
   119      Content-Length:
   120      - "0"
   121      Date:
   122      - Thu, 15 Apr 2021 14:39:40 GMT
   123      Etag:
   124      - '"0x8D9001C4DA95EA8"'
   125      Last-Modified:
   126      - Thu, 15 Apr 2021 14:39:41 GMT
   127      Server:
   128      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   129      X-Ms-Request-Id:
   130      - c0ab38e7-301a-0049-0805-32dd06000000
   131      X-Ms-Request-Server-Encrypted:
   132      - "true"
   133      X-Ms-Version:
   134      - "2018-03-28"
   135    status: 201 Created
   136    code: 201
   137    duration: ""
   138- request:
   139    body: ""
   140    form: {}
   141    headers:
   142      Authorization:
   143      - SharedKey golangrocksonazure:WYzicpELRLnP+A5DkYKHEaerb+4xpj5lhb13q33Bnj8=
   144      User-Agent:
   145      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   146        file
   147      x-ms-date:
   148      - Thu, 15 Apr 2021 14:39:41 GMT
   149      x-ms-version:
   150      - "2018-03-28"
   151    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile/one/two?restype=directory
   152    method: PUT
   153  response:
   154    body: ""
   155    headers:
   156      Content-Length:
   157      - "0"
   158      Date:
   159      - Thu, 15 Apr 2021 14:39:40 GMT
   160      Etag:
   161      - '"0x8D9001C4DAF04FB"'
   162      Last-Modified:
   163      - Thu, 15 Apr 2021 14:39:41 GMT
   164      Server:
   165      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   166      X-Ms-Request-Id:
   167      - c0ab38e8-301a-0049-0905-32dd06000000
   168      X-Ms-Request-Server-Encrypted:
   169      - "true"
   170      X-Ms-Version:
   171      - "2018-03-28"
   172    status: 201 Created
   173    code: 201
   174    duration: ""
   175- request:
   176    body: ""
   177    form: {}
   178    headers:
   179      Authorization:
   180      - SharedKey golangrocksonazure:O5y7/7Hi6ULT2yQ4kN8xLVfwAnqFDB0H0w35Dg1lI2E=
   181      User-Agent:
   182      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   183        file
   184      x-ms-date:
   185      - Thu, 15 Apr 2021 14:39:41 GMT
   186      x-ms-version:
   187      - "2018-03-28"
   188    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile/one/two/some.file
   189    method: HEAD
   190  response:
   191    body: ""
   192    headers:
   193      Date:
   194      - Thu, 15 Apr 2021 14:39:40 GMT
   195      Server:
   196      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   197      X-Ms-Error-Code:
   198      - ResourceNotFound
   199      X-Ms-Request-Id:
   200      - c0ab38e9-301a-0049-0a05-32dd06000000
   201      X-Ms-Version:
   202      - "2018-03-28"
   203    status: 404 The specified resource does not exist.
   204    code: 404
   205    duration: ""
   206- request:
   207    body: ""
   208    form: {}
   209    headers:
   210      Authorization:
   211      - SharedKey golangrocksonazure:/3kB1QEXxO4eQDUmIH/6ncOHIDbXKIrseqej0cLNc70=
   212      User-Agent:
   213      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   214        file
   215      x-ms-content-length:
   216      - "1024"
   217      x-ms-date:
   218      - Thu, 15 Apr 2021 14:39:41 GMT
   219      x-ms-type:
   220      - file
   221      x-ms-version:
   222      - "2018-03-28"
   223    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile/one/two/some.file
   224    method: PUT
   225  response:
   226    body: ""
   227    headers:
   228      Content-Length:
   229      - "0"
   230      Date:
   231      - Thu, 15 Apr 2021 14:39:40 GMT
   232      Etag:
   233      - '"0x8D9001C4DB6A780"'
   234      Last-Modified:
   235      - Thu, 15 Apr 2021 14:39:41 GMT
   236      Server:
   237      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   238      X-Ms-Request-Id:
   239      - c0ab38ea-301a-0049-0b05-32dd06000000
   240      X-Ms-Request-Server-Encrypted:
   241      - "true"
   242      X-Ms-Version:
   243      - "2018-03-28"
   244    status: 201 Created
   245    code: 201
   246    duration: ""
   247- request:
   248    body: ""
   249    form: {}
   250    headers:
   251      Authorization:
   252      - SharedKey golangrocksonazure:ApSDgRmy2QeeGLWoiYV4ve7J1LqhVxtAtfH+ikO2KjE=
   253      User-Agent:
   254      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   255        file
   256      x-ms-date:
   257      - Thu, 15 Apr 2021 14:39:41 GMT
   258      x-ms-version:
   259      - "2018-03-28"
   260    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile/one/two/some.file
   261    method: DELETE
   262  response:
   263    body: ""
   264    headers:
   265      Content-Length:
   266      - "0"
   267      Date:
   268      - Thu, 15 Apr 2021 14:39:40 GMT
   269      Server:
   270      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   271      X-Ms-Request-Id:
   272      - c0ab38eb-301a-0049-0c05-32dd06000000
   273      X-Ms-Version:
   274      - "2018-03-28"
   275    status: 202 Accepted
   276    code: 202
   277    duration: ""
   278- request:
   279    body: ""
   280    form: {}
   281    headers:
   282      Authorization:
   283      - SharedKey golangrocksonazure:O5y7/7Hi6ULT2yQ4kN8xLVfwAnqFDB0H0w35Dg1lI2E=
   284      User-Agent:
   285      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   286        file
   287      x-ms-date:
   288      - Thu, 15 Apr 2021 14:39:41 GMT
   289      x-ms-version:
   290      - "2018-03-28"
   291    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile/one/two/some.file
   292    method: HEAD
   293  response:
   294    body: ""
   295    headers:
   296      Date:
   297      - Thu, 15 Apr 2021 14:39:40 GMT
   298      Server:
   299      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   300      X-Ms-Error-Code:
   301      - ResourceNotFound
   302      X-Ms-Request-Id:
   303      - c0ab38ec-301a-0049-0d05-32dd06000000
   304      X-Ms-Version:
   305      - "2018-03-28"
   306    status: 404 The specified resource does not exist.
   307    code: 404
   308    duration: ""
   309- request:
   310    body: ""
   311    form: {}
   312    headers:
   313      Authorization:
   314      - SharedKey golangrocksonazure:u2/uBn/ej9KxeqVAUDK33uRpbD6MxDIfnZaZihh66PU=
   315      User-Agent:
   316      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   317        file
   318      x-ms-date:
   319      - Thu, 15 Apr 2021 14:39:41 GMT
   320      x-ms-version:
   321      - "2018-03-28"
   322    url: https://golangrocksonazure.file.core.windows.net/share-31storagefilesuitetestcreatefile?restype=share
   323    method: DELETE
   324  response:
   325    body: ""
   326    headers:
   327      Content-Length:
   328      - "0"
   329      Date:
   330      - Thu, 15 Apr 2021 14:39:40 GMT
   331      Server:
   332      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   333      X-Ms-Request-Id:
   334      - c0ab38ed-301a-0049-0e05-32dd06000000
   335      X-Ms-Version:
   336      - "2018-03-28"
   337    status: 202 Accepted
   338    code: 202
   339    duration: ""

View as plain text