Project

General

Profile

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

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

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.1.10p492
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.15-1
31
      Www-Authenticate:
32
      - Basic Realm=candlepin
33
      Content-Type:
34
      - application/json
35
      Transfer-Encoding:
36
      - chunked
37
      Date:
38
      - Thu, 22 Sep 2016 19:50:32 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":"ebbd753e-22e6-4fc5-9737-a091ebcc1dfd"}'
43
    http_version: 
44
  recorded_at: Thu, 22 Sep 2016 19:50:33 GMT
45
- request:
46
    method: get
47
    uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
48
    body:
49
      encoding: US-ASCII
50
      string: ''
51
    headers:
52
      Accept:
53
      - application/json
54
      Accept-Encoding:
55
      - gzip, deflate
56
      User-Agent:
57
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
58
      Accept-Language:
59
      - en
60
      Content-Type:
61
      - application/json
62
      Host:
63
      - subscription.rhn.redhat.com
64
  response:
65
    status:
66
      code: 401
67
      message: Unauthorized
68
    headers:
69
      Server:
70
      - Apache-Coyote/1.1
71
      X-Version:
72
      - 0.9.51.15-1
73
      Www-Authenticate:
74
      - Basic Realm=candlepin
75
      Content-Type:
76
      - application/json
77
      Transfer-Encoding:
78
      - chunked
79
      Date:
80
      - Thu, 22 Sep 2016 19:59:39 GMT
81
    body:
82
      encoding: UTF-8
83
      string: '{"displayMessage":"Invalid username or password. To create a login,
84
        please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"8b0ccb2b-563a-4ecd-960c-adbd3e1f6c65"}'
85
    http_version: 
86
  recorded_at: Thu, 22 Sep 2016 19:59:40 GMT
87
- request:
88
    method: get
89
    uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
90
    body:
91
      encoding: US-ASCII
92
      string: ''
93
    headers:
94
      Accept:
95
      - application/json
96
      Accept-Encoding:
97
      - gzip, deflate
98
      User-Agent:
99
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
100
      Accept-Language:
101
      - en
102
      Content-Type:
103
      - application/json
104
      Host:
105
      - subscription.rhn.redhat.com
106
  response:
107
    status:
108
      code: 401
109
      message: Unauthorized
110
    headers:
111
      Server:
112
      - Apache-Coyote/1.1
113
      X-Version:
114
      - 0.9.51.15-1
115
      Www-Authenticate:
116
      - Basic Realm=candlepin
117
      Content-Type:
118
      - application/json
119
      Transfer-Encoding:
120
      - chunked
121
      Date:
122
      - Thu, 22 Sep 2016 20:01:32 GMT
123
    body:
124
      encoding: UTF-8
125
      string: '{"displayMessage":"Invalid username or password. To create a login,
126
        please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"c03672fc-91fa-496b-8753-3881b7746f40"}'
127
    http_version: 
128
  recorded_at: Thu, 22 Sep 2016 20:01:33 GMT
129
- request:
130
    method: get
131
    uri: https://admin:changeme@katello.example.com:50219/api/status
132
    body:
133
      encoding: US-ASCII
134
      string: ''
135
    headers:
136
      Accept-Encoding:
137
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
138
      Accept:
139
      - "*/*"
140
      User-Agent:
141
      - Ruby
142
  response:
143
    status:
144
      code: 200
145
      message: OK
146
    headers:
147
      Date:
148
      - Thu, 22 Sep 2016 21:04:59 GMT
149
      Server:
150
      - Apache/2.4.6 (CentOS)
151
      Foreman-Version:
152
      - 1.14.0-develop
153
      Foreman-Api-Version:
154
      - '2'
155
      Content-Type:
156
      - application/json; charset=utf-8
157
      Apipie-Checksum:
158
      - 9544abef9cf8343005f07ed8c9f1f8e7
159
      Etag:
160
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
161
      Cache-Control:
162
      - max-age=0, private, must-revalidate
163
      X-Request-Id:
164
      - 7c78f9ce-d162-497d-bf33-a75a01415f5b
165
      X-Runtime:
166
      - '0.220851'
167
      Content-Security-Policy:
168
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
169
        img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
170
        ''self''; style-src ''unsafe-inline'' ''self'''
171
      Strict-Transport-Security:
172
      - max-age=631152000; includeSubdomains
173
      X-Content-Type-Options:
174
      - nosniff
175
      X-Download-Options:
176
      - noopen
177
      X-Frame-Options:
178
      - sameorigin
179
      X-Permitted-Cross-Domain-Policies:
180
      - none
181
      X-Xss-Protection:
182
      - 1; mode=block
183
      Via:
184
      - 1.1 katello.example.com:50219
185
      Vary:
186
      - Accept-Encoding
187
      Content-Length:
188
      - '81'
189
      Set-Cookie:
190
      - _session_id=8e1c3015f2b4ab84b732fd0f8332ccc2; path=/; HttpOnly
191
    body:
192
      encoding: UTF-8
193
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
194
    http_version: 
195
  recorded_at: Thu, 22 Sep 2016 21:05:01 GMT
196
- request:
197
    method: get
198
    uri: https://admin:changeme@katello.example.com:50219/api/v2/plugins
199
    body:
200
      encoding: US-ASCII
201
      string: ''
202
    headers:
203
      Accept-Encoding:
204
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
205
      Accept:
206
      - "*/*"
207
      User-Agent:
208
      - Ruby
209
  response:
210
    status:
211
      code: 200
212
      message: OK
213
    headers:
214
      Date:
215
      - Thu, 22 Sep 2016 21:05:00 GMT
216
      Server:
217
      - Apache/2.4.6 (CentOS)
218
      Foreman-Version:
219
      - 1.14.0-develop
220
      Foreman-Api-Version:
221
      - '2'
222
      Content-Type:
223
      - application/json; charset=utf-8
224
      Apipie-Checksum:
225
      - 9544abef9cf8343005f07ed8c9f1f8e7
226
      Etag:
227
      - W/"1f3be6be9a21bcf6d5ba90bd77fcb5ca-gzip"
228
      Cache-Control:
229
      - max-age=0, private, must-revalidate
230
      X-Request-Id:
231
      - ee6c8579-d33b-4e36-8a95-b98790143b21
232
      X-Runtime:
233
      - '0.186687'
234
      Content-Security-Policy:
235
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
236
        img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
237
        ''self''; style-src ''unsafe-inline'' ''self'''
238
      Strict-Transport-Security:
239
      - max-age=631152000; includeSubdomains
240
      X-Content-Type-Options:
241
      - nosniff
242
      X-Download-Options:
243
      - noopen
244
      X-Frame-Options:
245
      - sameorigin
246
      X-Permitted-Cross-Domain-Policies:
247
      - none
248
      X-Xss-Protection:
249
      - 1; mode=block
250
      Via:
251
      - 1.1 katello.example.com:50219
252
      Vary:
253
      - Accept-Encoding
254
      Content-Length:
255
      - '721'
256
      Set-Cookie:
257
      - _session_id=d01ec4665b4e9e7e7ba8e40ec389c87f; path=/; HttpOnly
258
    body:
259
      encoding: ASCII-8BIT
260
      string: !binary |-
261
        ewogICJ0b3RhbCI6IDUsCiAgInN1YnRvdGFsIjogNSwKICAicGFnZSI6IDEs
262
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
263
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
264
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
265
        ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
266
        b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
267
        d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
268
        YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
269
        bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
270
        b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
271
        a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
272
        Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
273
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
274
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
275
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
276
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
277
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
278
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
279
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
280
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
281
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
282
        ZCI6ImZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsIm5hbWUiOiJmb3JlbWFu
283
        X3JlbW90ZV9leGVjdXRpb24iLCJhdXRob3IiOiJGb3JlbWFuIFJlbW90ZSBF
284
        eGVjdXRpb24gdGVhbSIsImRlc2NyaXB0aW9uIjoiQSBwbHVnaW4gYnJpbmdp
285
        bmcgcmVtb3RlIGV4ZWN1dGlvbiB0byB0aGUgRm9yZW1hbiwgY29tcGxldGlu
286
        ZyB0aGUgY29uZmlnIG1hbmFnZW1lbnQgZnVuY3Rpb25hbGl0eSB3aXRoIHJl
287
        bW90ZSBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkuIiwidXJsIjoiaHR0cHM6
288
        Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9yZW1hbl9yZW1vdGVfZXhlY3V0
289
        aW9uIiwidmVyc2lvbiI6IjEuMi4xIn0seyJpZCI6ImZvcmVtYW5fdGVtcGxh
290
        dGVzIiwibmFtZSI6ImZvcmVtYW5fdGVtcGxhdGVzIiwiYXV0aG9yIjoiR3Jl
291
        ZyBTdXRjbGlmZmUiLCJkZXNjcmlwdGlvbiI6IkVuZ2luZSB0byBzeW5jaHJv
292
        bmlzZSBwcm92aXNpb25pbmcgdGVtcGxhdGVzIGZyb20gR2l0SHViIiwidXJs
293
        IjoiaHR0cDovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9mb3JlbWFuX3RlbXBs
294
        YXRlcyIsInZlcnNpb24iOiIzLjAuMCJ9LHsiaWQiOiJrYXRlbGxvIiwibmFt
295
        ZSI6ImthdGVsbG8iLCJhdXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNv
296
        bnRlbnQgYW5kIFN1YnNjcmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3Ig
297
        Rm9yZW1hbiIsInVybCI6Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJz
298
        aW9uIjoiMy4zLjAifV0KfQo=
299
    http_version: 
300
  recorded_at: Thu, 22 Sep 2016 21:05:01 GMT
301
- request:
302
    method: get
303
    uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
304
    body:
305
      encoding: US-ASCII
306
      string: ''
307
    headers:
308
      Accept:
309
      - application/json
310
      Accept-Encoding:
311
      - gzip, deflate
312
      User-Agent:
313
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
314
      Accept-Language:
315
      - en
316
      Content-Type:
317
      - application/json
318
      Host:
319
      - subscription.rhn.redhat.com
320
  response:
321
    status:
322
      code: 401
323
      message: Unauthorized
324
    headers:
325
      Server:
326
      - Apache-Coyote/1.1
327
      X-Version:
328
      - 0.9.51.15-1
329
      Www-Authenticate:
330
      - Basic Realm=candlepin
331
      Content-Type:
332
      - application/json
333
      Transfer-Encoding:
334
      - chunked
335
      Date:
336
      - Thu, 22 Sep 2016 21:05:01 GMT
337
    body:
338
      encoding: UTF-8
339
      string: '{"displayMessage":"Invalid username or password. To create a login,
340
        please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"18635078-c0c0-44b6-8ad5-d10344c44139"}'
341
    http_version: 
342
  recorded_at: Thu, 22 Sep 2016 21:05:02 GMT
343
recorded_with: VCR 3.0.3