File: test_queue.test_update_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 (118 lines) | stat: -rw-r--r-- 5,721 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
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: [6e3c2b0e-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.queue.core.windows.net/queuec0820c59
  response:
    body: {string: ''}
    headers:
      Date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [e1c4208f-7003-004c-3982-780834000000]
      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: [6e621efe-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      x-ms-version: ['2018-03-28']
    method: POST
    uri: https://storagename.queue.core.windows.net/queuec0820c59/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>f026b846-3984-4a0b-b719-913e6149df39</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:16:04 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:16:04 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAAMaoeMIJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:16:04 GMT</TimeNextVisible></QueueMessage></QueueMessagesList>"}
    headers:
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [e1c4209c-7003-004c-4182-780834000000]
      x-ms-version: ['2018-03-28']
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      Connection: [keep-alive]
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [6e68edec-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      x-ms-version: ['2018-03-28']
    method: GET
    uri: https://storagename.queue.core.windows.net/queuec0820c59/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>f026b846-3984-4a0b-b719-913e6149df39</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:16:04 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:16:04 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAAYbcGQoJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:16:34 GMT</TimeNextVisible><DequeueCount>1</DequeueCount><MessageText>message1</MessageText></QueueMessage></QueueMessagesList>"}
    headers:
      Cache-Control: [no-cache]
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [e1c420a2-7003-004c-4682-780834000000]
      x-ms-version: ['2018-03-28']
    status: {code: 200, message: OK}
- 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: [6e6f8ddc-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      x-ms-version: ['2018-03-28']
    method: PUT
    uri: https://storagename.queue.core.windows.net/queuec0820c59/messages/f026b846-3984-4a0b-b719-913e6149df39?popreceipt=AgAAAAMAAAAAAAAAYbcGQoJ41AE%3D&visibilitytimeout=0
  response:
    body: {string: ''}
    headers:
      Content-Length: ['0']
      Date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      x-ms-popreceipt: [AwAAAAMAAAAAAAAAwMwrMIJ41AEBAAAA]
      x-ms-request-id: [e1c420a4-7003-004c-4882-780834000000]
      x-ms-time-next-visible: ['Fri, 09 Nov 2018 23:16:04 GMT']
      x-ms-version: ['2018-03-28']
    status: {code: 204, message: No Content}
- request:
    body: null
    headers:
      Connection: [keep-alive]
      User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
      x-ms-client-request-id: [6e75f528-e475-11e8-9ac5-acde48001122]
      x-ms-date: ['Fri, 09 Nov 2018 23:16:05 GMT']
      x-ms-version: ['2018-03-28']
    method: GET
    uri: https://storagename.queue.core.windows.net/queuec0820c59/messages
  response:
    body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><QueueMessagesList><QueueMessage><MessageId>f026b846-3984-4a0b-b719-913e6149df39</MessageId><InsertionTime>Fri,\
        \ 09 Nov 2018 23:16:04 GMT</InsertionTime><ExpirationTime>Fri, 16 Nov 2018\
        \ 23:16:04 GMT</ExpirationTime><PopReceipt>AgAAAAMAAAAAAAAAn2QTQoJ41AE=</PopReceipt><TimeNextVisible>Fri,\
        \ 09 Nov 2018 23:16:35 GMT</TimeNextVisible><DequeueCount>2</DequeueCount><MessageText>message1</MessageText></QueueMessage></QueueMessagesList>"}
    headers:
      Cache-Control: [no-cache]
      Content-Type: [application/xml]
      Date: ['Fri, 09 Nov 2018 23:16:04 GMT']
      Server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      x-ms-request-id: [e1c420a9-7003-004c-4d82-780834000000]
      x-ms-version: ['2018-03-28']
    status: {code: 200, message: OK}
version: 1