File: test_queue.test_put_message.yaml

package info (click to toggle)
python-azure-storage 20181109%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 76,472 kB
  • sloc: python: 28,724; makefile: 204; sh: 1
file content (126 lines) | stat: -rw-r--r-- 6,206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
interactions:
- request:
    body: null
    headers:
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [67c9e072-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:15:53 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.queue.core.windows.net/queue9d3c0b2f
  response:
    body: {string: ''}
    headers:
      Date: ['Fri, 09 Nov 2018 23:15:53 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [f750bdd9-7003-0008-4482-78d458000000]
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: '<?xml version=''1.0'' encoding=''utf-8''?>

      <QueueMessage><MessageText>message1</MessageText></QueueMessage>'
    headers:
      Connection: [keep-alive]
      Content-Length: ['103']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [67e377da-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:15:54 GMT']
      x-ms-version: ['2018-03-28']
    method: POST
    uri: https://storagename.queue.core.windows.net/queue9d3c0b2f/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>a25d8169-837f-4da3-a9c4-fa0a6ddae600</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:15:54 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAAJy6gKYJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</TimeNextVisible></QueueMessage></QueueMessagesList>"}
    headers:
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:15:53 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [f750bdef-7003-0008-5682-78d458000000]
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: '<?xml version=''1.0'' encoding=''utf-8''?>

      <QueueMessage><MessageText>message2</MessageText></QueueMessage>'
    headers:
      Connection: [keep-alive]
      Content-Length: ['103']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [67ea7882-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:15:54 GMT']
      x-ms-version: ['2018-03-28']
    method: POST
    uri: https://storagename.queue.core.windows.net/queue9d3c0b2f/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>68349e0d-1503-4d0b-bcfa-6f1f99ffd4ef</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:15:54 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAAhuamKYJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</TimeNextVisible></QueueMessage></QueueMessagesList>"}
    headers:
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:15:53 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [f750bdf3-7003-0008-5982-78d458000000]
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: '<?xml version=''1.0'' encoding=''utf-8''?>

      <QueueMessage><MessageText>message3</MessageText></QueueMessage>'
    headers:
      Connection: [keep-alive]
      Content-Length: ['103']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [67f138a2-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:15:54 GMT']
      x-ms-version: ['2018-03-28']
    method: POST
    uri: https://storagename.queue.core.windows.net/queue9d3c0b2f/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>00357bf7-9acf-4c90-8606-faae3a1776f5</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:15:54 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAA4J6tKYJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</TimeNextVisible></QueueMessage></QueueMessagesList>"}
    headers:
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:15:54 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [f750bdf7-7003-0008-5c82-78d458000000]
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: '<?xml version=''1.0'' encoding=''utf-8''?>

      <QueueMessage><MessageText>message4</MessageText></QueueMessage>'
    headers:
      Connection: [keep-alive]
      Content-Length: ['103']
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [67f81744-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:15:54 GMT']
      x-ms-version: ['2018-03-28']
    method: POST
    uri: https://storagename.queue.core.windows.net/queue9d3c0b2f/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>6cf817b2-5bb8-49c3-b29b-324dc3c3502b</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:15:54 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAAKjC0KYJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:15:54 GMT</TimeNextVisible></QueueMessage></QueueMessagesList>"}
    headers:
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:15:54 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [f750bdfc-7003-0008-6082-78d458000000]
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
version: 1