Skip to content

Commit 5da4f5d

Browse files
author
seba-aln
authored
Add VCR files for native_thread subscribe tests (#143)
1 parent 14fc167 commit 5da4f5d

File tree

6 files changed

+1068
-0
lines changed

6 files changed

+1068
-0
lines changed
Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate
9+
Connection:
10+
- keep-alive
11+
User-Agent:
12+
- PubNub-Python/6.5.1
13+
method: GET
14+
uri: https://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-33f55052-190b-11e6-bfbc-02ee2ddab7fe/channel-group/test-subscribe-unsubscribe-group?add=test-subscribe-unsubscribe-channel&uuid=uuid-mock
15+
response:
16+
body:
17+
string: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
18+
false}'
19+
headers:
20+
Accept-Ranges:
21+
- bytes
22+
Access-Control-Allow-Methods:
23+
- GET, POST, DELETE, OPTIONS
24+
Access-Control-Allow-Origin:
25+
- '*'
26+
Age:
27+
- '0'
28+
Cache-Control:
29+
- no-cache
30+
Connection:
31+
- keep-alive
32+
Content-Length:
33+
- '79'
34+
Content-Type:
35+
- text/javascript; charset="UTF-8"
36+
Date:
37+
- Thu, 18 Aug 2022 19:43:11 GMT
38+
Server:
39+
- Pubnub Storage
40+
status:
41+
code: 200
42+
message: OK
43+
- request:
44+
body: null
45+
headers:
46+
Accept:
47+
- '*/*'
48+
Accept-Encoding:
49+
- gzip, deflate
50+
Connection:
51+
- keep-alive
52+
User-Agent:
53+
- PubNub-Python/6.5.1
54+
method: GET
55+
uri: https://ps.pndsn.com/v2/subscribe/sub-c-33f55052-190b-11e6-bfbc-02ee2ddab7fe/,/0?channel-group=test-subscribe-unsubscribe-group&tt=0&uuid=uuid-mock
56+
response:
57+
body:
58+
string: '{"t":{"t":"16608517922168462","r":42},"m":[]}'
59+
headers:
60+
Access-Control-Allow-Methods:
61+
- GET
62+
Access-Control-Allow-Origin:
63+
- '*'
64+
Cache-Control:
65+
- no-cache
66+
Connection:
67+
- keep-alive
68+
Content-Length:
69+
- '45'
70+
Content-Type:
71+
- text/javascript; charset="UTF-8"
72+
Date:
73+
- Thu, 18 Aug 2022 19:43:12 GMT
74+
status:
75+
code: 200
76+
message: OK
77+
- request:
78+
body: null
79+
headers:
80+
Accept:
81+
- '*/*'
82+
Accept-Encoding:
83+
- gzip, deflate
84+
Connection:
85+
- keep-alive
86+
User-Agent:
87+
- PubNub-Python/6.5.1
88+
method: GET
89+
uri: https://ps.pndsn.com/v2/subscribe/sub-c-33f55052-190b-11e6-bfbc-02ee2ddab7fe/,/0?channel-group=test-subscribe-unsubscribe-group&tt=16608517922168462&uuid=uuid-mock
90+
response:
91+
body:
92+
string: '{"t":{"t":"16608517922168562","r":42},"m":[]}'
93+
headers:
94+
Access-Control-Allow-Methods:
95+
- GET
96+
Access-Control-Allow-Origin:
97+
- '*'
98+
Cache-Control:
99+
- no-cache
100+
Connection:
101+
- keep-alive
102+
Content-Length:
103+
- '45'
104+
Content-Type:
105+
- text/javascript; charset="UTF-8"
106+
Date:
107+
- Thu, 18 Aug 2022 19:43:12 GMT
108+
status:
109+
code: 200
110+
message: OK
111+
- request:
112+
body: null
113+
headers:
114+
Accept:
115+
- '*/*'
116+
Accept-Encoding:
117+
- gzip, deflate
118+
Connection:
119+
- keep-alive
120+
User-Agent:
121+
- PubNub-Python/6.5.1
122+
method: GET
123+
uri: https://ps.pndsn.com/v2/presence/sub-key/sub-c-33f55052-190b-11e6-bfbc-02ee2ddab7fe/channel/,/leave?channel-group=test-subscribe-unsubscribe-group&uuid=uuid-mock
124+
response:
125+
body:
126+
string: '{"status": 200, "message": "OK", "action": "leave", "service": "Presence"}'
127+
headers:
128+
Accept-Ranges:
129+
- bytes
130+
Access-Control-Allow-Methods:
131+
- OPTIONS, GET, POST
132+
Access-Control-Allow-Origin:
133+
- '*'
134+
Age:
135+
- '0'
136+
Cache-Control:
137+
- no-cache
138+
Connection:
139+
- keep-alive
140+
Content-Length:
141+
- '74'
142+
Content-Type:
143+
- text/javascript; charset="UTF-8"
144+
Date:
145+
- Thu, 18 Aug 2022 19:43:12 GMT
146+
Server:
147+
- Pubnub Presence
148+
status:
149+
code: 200
150+
message: OK
151+
- request:
152+
body: null
153+
headers:
154+
Accept:
155+
- '*/*'
156+
Accept-Encoding:
157+
- gzip, deflate
158+
Connection:
159+
- keep-alive
160+
User-Agent:
161+
- PubNub-Python/6.5.1
162+
method: GET
163+
uri: https://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-33f55052-190b-11e6-bfbc-02ee2ddab7fe/channel-group/test-subscribe-unsubscribe-group?remove=test-subscribe-unsubscribe-channel&uuid=uuid-mock
164+
response:
165+
body:
166+
string: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
167+
false}'
168+
headers:
169+
Accept-Ranges:
170+
- bytes
171+
Access-Control-Allow-Methods:
172+
- GET, POST, DELETE, OPTIONS
173+
Access-Control-Allow-Origin:
174+
- '*'
175+
Age:
176+
- '0'
177+
Cache-Control:
178+
- no-cache
179+
Connection:
180+
- keep-alive
181+
Content-Length:
182+
- '79'
183+
Content-Type:
184+
- text/javascript; charset="UTF-8"
185+
Date:
186+
- Thu, 18 Aug 2022 19:43:12 GMT
187+
Server:
188+
- Pubnub Storage
189+
status:
190+
code: 200
191+
message: OK
192+
version: 1

0 commit comments

Comments
 (0)