Project

General

Profile

Download (10.1 KB) Statistics
| Branch: | Tag: | Revision:

hammer-cli-csv / test / fixtures / vcr_cassettes / resources / subscriptions / portal_incorrect_login.yml @ ebb00443

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
      Accept-Language:
17
      - en
18
      Content-Type:
19
      - application/json
20
      Host:
21
      - subscription.rhn.redhat.com
22
  response:
23
    status:
24
      code: 401
25
      message: Unauthorized
26
    headers:
27
      Server:
28
      - Apache-Coyote/1.1
29
      X-Version:
30
      - 0.9.51.20-1
31
      Www-Authenticate:
32
      - Basic Realm=candlepin
33
      Content-Type:
34
      - application/json
35
      Transfer-Encoding:
36
      - chunked
37
      Date:
38
      - Mon, 19 Dec 2016 16:43:14 GMT
39
    body:
40
      encoding: UTF-8
41
      string: '{"displayMessage":"Invalid username or password. To create a login,
42
        please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"20d7a68e-1fde-4a3f-a800-b58886561056"}'
43
    http_version: 
44
  recorded_at: Mon, 19 Dec 2016 16:43:14 GMT
45
- request:
46
    method: get
47
    uri: https://admin:changeme@devel.example.com:50083/api/status
48
    body:
49
      encoding: US-ASCII
50
      string: ''
51
    headers:
52
      Accept-Encoding:
53
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
54
      Accept:
55
      - "*/*"
56
      User-Agent:
57
      - Ruby
58
      Host:
59
      - devel.example.com:50083
60
  response:
61
    status:
62
      code: 200
63
      message: OK
64
    headers:
65
      Date:
66
      - Mon, 27 Mar 2017 18:36:08 GMT
67
      Server:
68
      - Apache/2.4.6 (Red Hat Enterprise Linux)
69
      X-Frame-Options:
70
      - SAMEORIGIN
71
      X-Xss-Protection:
72
      - 1; mode=block
73
      X-Content-Type-Options:
74
      - nosniff
75
      Foreman-Version:
76
      - 1.11.0.54
77
      Foreman-Api-Version:
78
      - '2'
79
      Apipie-Checksum:
80
      - e1df2e8d43e22495b02a53b48e3b5298
81
      Cache-Control:
82
      - max-age=0, private, must-revalidate
83
      X-Request-Id:
84
      - d7e621d8-f5d5-414f-a903-38367c41f799
85
      X-Runtime:
86
      - '0.064266'
87
      X-Powered-By:
88
      - Phusion Passenger 4.0.18
89
      Etag:
90
      - '"8e3341d0a4cc328651f7391aed11fef8"'
91
      Status:
92
      - 200 OK
93
      Content-Length:
94
      - '66'
95
      Content-Type:
96
      - application/json; charset=utf-8
97
      Set-Cookie:
98
      - _session_id=c769898d84953e5d431cafaa6bd36d84; path=/; secure; HttpOnly
99
    body:
100
      encoding: UTF-8
101
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
102
    http_version: 
103
  recorded_at: Mon, 27 Mar 2017 18:36:14 GMT
104
- request:
105
    method: get
106
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
107
    body:
108
      encoding: US-ASCII
109
      string: ''
110
    headers:
111
      Accept-Encoding:
112
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
113
      Accept:
114
      - "*/*"
115
      User-Agent:
116
      - Ruby
117
      Host:
118
      - devel.example.com:50083
119
  response:
120
    status:
121
      code: 200
122
      message: OK
123
    headers:
124
      Date:
125
      - Mon, 27 Mar 2017 18:36:08 GMT
126
      Server:
127
      - Apache/2.4.6 (Red Hat Enterprise Linux)
128
      X-Frame-Options:
129
      - SAMEORIGIN
130
      X-Xss-Protection:
131
      - 1; mode=block
132
      X-Content-Type-Options:
133
      - nosniff
134
      Foreman-Version:
135
      - 1.11.0.54
136
      Foreman-Api-Version:
137
      - '2'
138
      Apipie-Checksum:
139
      - e1df2e8d43e22495b02a53b48e3b5298
140
      Cache-Control:
141
      - max-age=0, private, must-revalidate
142
      X-Request-Id:
143
      - bfca4360-233b-4fb9-9de5-5b3d6ea47bd3
144
      X-Runtime:
145
      - '0.067798'
146
      X-Powered-By:
147
      - Phusion Passenger 4.0.18
148
      Etag:
149
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
150
      Status:
151
      - 200 OK
152
      Vary:
153
      - Accept-Encoding
154
      Content-Length:
155
      - '1338'
156
      Content-Type:
157
      - application/json; charset=utf-8
158
      Set-Cookie:
159
      - _session_id=d62fe80f7b9be7ec24c8c5a73c24ffc0; path=/; secure; HttpOnly
160
    body:
161
      encoding: ASCII-8BIT
162
      string: !binary |-
163
        ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
164
        MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
165
        dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
166
        ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
167
        b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
168
        dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
169
        ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
170
        ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
171
        cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
172
        IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
173
        b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
174
        ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
175
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
176
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
177
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
178
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
179
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
180
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
181
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
182
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
183
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
184
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
185
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
186
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
187
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
188
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
189
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
190
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
191
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
192
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
193
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
194
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
195
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
196
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
197
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
198
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
199
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
200
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
201
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
202
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
203
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
204
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
205
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
206
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
207
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
208
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
209
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
210
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
211
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
212
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
213
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
214
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
215
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
216
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
217
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
218
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
219
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
220
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
221
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
222
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
223
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
224
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
225
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
226
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
227
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
228
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
229
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
230
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
231
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
232
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
233
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
234
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
235
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
236
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
237
    http_version: 
238
  recorded_at: Mon, 27 Mar 2017 18:36:14 GMT
239
- request:
240
    method: get
241
    uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
242
    body:
243
      encoding: US-ASCII
244
      string: ''
245
    headers:
246
      Accept:
247
      - application/json
248
      Accept-Encoding:
249
      - gzip, deflate
250
      User-Agent:
251
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
252
      Accept-Language:
253
      - en
254
      Content-Type:
255
      - application/json
256
      Host:
257
      - subscription.rhn.redhat.com
258
  response:
259
    status:
260
      code: 401
261
      message: Unauthorized
262
    headers:
263
      Server:
264
      - Apache-Coyote/1.1
265
      X-Version:
266
      - 0.9.51.21-1
267
      Www-Authenticate:
268
      - Basic Realm=candlepin
269
      Content-Type:
270
      - application/json
271
      Transfer-Encoding:
272
      - chunked
273
      Date:
274
      - Mon, 27 Mar 2017 18:36:14 GMT
275
    body:
276
      encoding: UTF-8
277
      string: '{"displayMessage":"Invalid username or password. To create a login,
278
        please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"c9cc2992-066f-434c-be8f-cd3353987113"}'
279
    http_version: 
280
  recorded_at: Mon, 27 Mar 2017 18:36:15 GMT
281
recorded_with: VCR 3.0.3