Project

General

Profile

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

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

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
      - Mon, 12 Sep 2016 15:33:43 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":"84fd38d6-df64-4d53-add9-02ec1d05f090"}'
43
    http_version: 
44
  recorded_at: Mon, 12 Sep 2016 15:33:43 GMT
45
- request:
46
    method: get
47
    uri: https://admin:changeme@katello.example.com:50191/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
  response:
59
    status:
60
      code: 200
61
      message: OK
62
    headers:
63
      Date:
64
      - Mon, 12 Sep 2016 15:39:22 GMT
65
      Server:
66
      - Apache/2.4.6 (CentOS)
67
      X-Frame-Options:
68
      - SAMEORIGIN
69
      X-Xss-Protection:
70
      - 1; mode=block
71
      X-Content-Type-Options:
72
      - nosniff
73
      Foreman-Version:
74
      - 1.14.0-develop
75
      Foreman-Api-Version:
76
      - '2'
77
      Content-Type:
78
      - application/json; charset=utf-8
79
      Apipie-Checksum:
80
      - 9544abef9cf8343005f07ed8c9f1f8e7
81
      Etag:
82
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
83
      Cache-Control:
84
      - max-age=0, private, must-revalidate
85
      X-Request-Id:
86
      - ab806b0f-1bee-4810-9990-1162bdadaecb
87
      X-Runtime:
88
      - '0.297591'
89
      Via:
90
      - 1.1 katello.example.com:50191
91
      Vary:
92
      - Accept-Encoding
93
      Content-Length:
94
      - '81'
95
      Set-Cookie:
96
      - _session_id=e946926e20fef9b182a714fc27eb755a; path=/; HttpOnly
97
    body:
98
      encoding: UTF-8
99
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
100
    http_version: 
101
  recorded_at: Mon, 12 Sep 2016 15:39:22 GMT
102
- request:
103
    method: get
104
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
105
    body:
106
      encoding: US-ASCII
107
      string: ''
108
    headers:
109
      Accept-Encoding:
110
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
111
      Accept:
112
      - "*/*"
113
      User-Agent:
114
      - Ruby
115
  response:
116
    status:
117
      code: 200
118
      message: OK
119
    headers:
120
      Date:
121
      - Mon, 12 Sep 2016 15:39:22 GMT
122
      Server:
123
      - Apache/2.4.6 (CentOS)
124
      X-Frame-Options:
125
      - SAMEORIGIN
126
      X-Xss-Protection:
127
      - 1; mode=block
128
      X-Content-Type-Options:
129
      - nosniff
130
      Foreman-Version:
131
      - 1.14.0-develop
132
      Foreman-Api-Version:
133
      - '2'
134
      Content-Type:
135
      - application/json; charset=utf-8
136
      Apipie-Checksum:
137
      - 9544abef9cf8343005f07ed8c9f1f8e7
138
      Etag:
139
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
140
      Cache-Control:
141
      - max-age=0, private, must-revalidate
142
      X-Request-Id:
143
      - 788bf023-0241-4c35-9fe9-8cb532afca33
144
      X-Runtime:
145
      - '1.196359'
146
      Via:
147
      - 1.1 katello.example.com:50191
148
      Vary:
149
      - Accept-Encoding
150
      Content-Length:
151
      - '566'
152
      Set-Cookie:
153
      - _session_id=0e758cfed039812caa5d9d8deaed3185; path=/; HttpOnly
154
    body:
155
      encoding: ASCII-8BIT
156
      string: !binary |-
157
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
158
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
159
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
160
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
161
        ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
162
        b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
163
        d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
164
        YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
165
        bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
166
        b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
167
        a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
168
        Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
169
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
170
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
171
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
172
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
173
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
174
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
175
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
176
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
177
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
178
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
179
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
180
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
181
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
182
    http_version: 
183
  recorded_at: Mon, 12 Sep 2016 15:39:23 GMT
184
- request:
185
    method: get
186
    uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
187
    body:
188
      encoding: US-ASCII
189
      string: ''
190
    headers:
191
      Accept:
192
      - application/json
193
      Accept-Encoding:
194
      - gzip, deflate
195
      User-Agent:
196
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
197
      Accept-Language:
198
      - en
199
      Content-Type:
200
      - application/json
201
      Host:
202
      - subscription.rhn.redhat.com
203
  response:
204
    status:
205
      code: 401
206
      message: Unauthorized
207
    headers:
208
      Server:
209
      - Apache-Coyote/1.1
210
      X-Version:
211
      - 0.9.51.15-1
212
      Www-Authenticate:
213
      - Basic Realm=candlepin
214
      Content-Type:
215
      - application/json
216
      Transfer-Encoding:
217
      - chunked
218
      Date:
219
      - Mon, 12 Sep 2016 15:39:24 GMT
220
    body:
221
      encoding: UTF-8
222
      string: '{"displayMessage":"Invalid username or password. To create a login,
223
        please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"b68563c7-0e7a-4573-b767-dbdd21da146c"}'
224
    http_version: 
225
  recorded_at: Mon, 12 Sep 2016 15:39:24 GMT
226
recorded_with: VCR 3.0.3