apirunner 0.5.0 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +302 -33
- data/VERSION +1 -1
- data/apirunner.gemspec +2 -17
- data/examples/config/api_runner.yml +2 -2
- data/examples/test/api_runner/001_create_user.yml +199 -112
- data/lib/api_runner.rb +3 -3
- data/lib/apirunner/railtie.rb +6 -5
- data/lib/result.rb +2 -1
- data/lib/tasks/api.rake +7 -0
- data/spec/api_runner_spec.rb +1 -1
- metadata +4 -19
- data/examples/test/api_runner/002_update_resources.yml +0 -360
- data/examples/test/api_runner/003_update_ratings.yml +0 -88
- data/examples/test/api_runner/004_update_series_ratings.yml +0 -88
- data/examples/test/api_runner/005_rateables_and_pagination.yml +0 -34
- data/examples/test/api_runner/006_recommendations.yml +0 -78
- data/examples/test/api_runner/007_item_predictions.yml +0 -286
- data/examples/test/api_runner/008_discovery.yml +0 -299
- data/examples/test/api_runner/009_cacheable_operations.yml +0 -1
- data/examples/test/api_runner/010_fsk.yml +0 -168
- data/examples/test/api_runner/011_misc.yml +0 -116
- data/examples/test/api_runner/012_telekom_error_reports.yml +0 -1831
- data/examples/test/api_runner/013-extended-unpersonalized-discovery.yml +0 -711
- data/examples/test/api_runner/014-extended-personalized-discovery.yml +0 -764
- data/examples/test/api_runner/015_create_10000_users.yml +0 -43
- data/examples/test/api_runner/999_delete_user.yml +0 -78
@@ -1,764 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- name: 'Create new user for personalized discovery tests'
|
3
|
-
request:
|
4
|
-
headers:
|
5
|
-
Content-Type: 'application/json'
|
6
|
-
path: '/users/luckyluke'
|
7
|
-
method: 'PUT'
|
8
|
-
body:
|
9
|
-
username: 'luckyluke'
|
10
|
-
watchlist:
|
11
|
-
- m1035
|
12
|
-
- m2087
|
13
|
-
blacklist:
|
14
|
-
- m1554
|
15
|
-
- m2981
|
16
|
-
skiplist:
|
17
|
-
- m1590
|
18
|
-
- m1056
|
19
|
-
ratings:
|
20
|
-
m12493: 4.0
|
21
|
-
m1875: 2.5
|
22
|
-
m7258: 3.0
|
23
|
-
m7339: 4.0
|
24
|
-
m3642: 5.0
|
25
|
-
m3346: 4.0
|
26
|
-
m3423: 4.0
|
27
|
-
m3532: 4.0
|
28
|
-
m2719: 4.0
|
29
|
-
m5076: 4.0
|
30
|
-
m4568: 4.0
|
31
|
-
m16655: 4.0
|
32
|
-
m9969: 4.0
|
33
|
-
m14263: 4.0
|
34
|
-
m3147: 4.0
|
35
|
-
m7511: 4.0
|
36
|
-
response_expectation:
|
37
|
-
status_code: 201
|
38
|
-
headers:
|
39
|
-
Last-Modified: /.*/
|
40
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:63"
|
41
|
-
priority: 2
|
42
|
-
request:
|
43
|
-
headers:
|
44
|
-
Content-Type: 'application/json'
|
45
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:63'
|
46
|
-
method: 'GET'
|
47
|
-
response_expectation:
|
48
|
-
status_code: 200
|
49
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
50
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:206"
|
51
|
-
priority: 2
|
52
|
-
request:
|
53
|
-
headers:
|
54
|
-
Content-Type: 'application/json'
|
55
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:206'
|
56
|
-
method: 'GET'
|
57
|
-
response_expectation:
|
58
|
-
status_code: 200
|
59
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
60
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:356"
|
61
|
-
priority: 2
|
62
|
-
request:
|
63
|
-
headers:
|
64
|
-
Content-Type: 'application/json'
|
65
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:356'
|
66
|
-
method: 'GET'
|
67
|
-
response_expectation:
|
68
|
-
status_code: 200
|
69
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
70
|
-
body: /^\[("m\d+",){3,600}"m\d+"\]$/
|
71
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:15"
|
72
|
-
priority: 2
|
73
|
-
request:
|
74
|
-
headers:
|
75
|
-
Content-Type: 'application/json'
|
76
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:15'
|
77
|
-
method: 'GET'
|
78
|
-
response_expectation:
|
79
|
-
status_code: 200
|
80
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
81
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:97"
|
82
|
-
priority: 2
|
83
|
-
request:
|
84
|
-
headers:
|
85
|
-
Content-Type: 'application/json'
|
86
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:97'
|
87
|
-
method: 'GET'
|
88
|
-
response_expectation:
|
89
|
-
status_code: 200
|
90
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
91
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:21"
|
92
|
-
priority: 2
|
93
|
-
request:
|
94
|
-
headers:
|
95
|
-
Content-Type: 'application/json'
|
96
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:21'
|
97
|
-
method: 'GET'
|
98
|
-
response_expectation:
|
99
|
-
status_code: 200
|
100
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
101
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:462"
|
102
|
-
priority: 2
|
103
|
-
request:
|
104
|
-
headers:
|
105
|
-
Content-Type: 'application/json'
|
106
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:462'
|
107
|
-
method: 'GET'
|
108
|
-
response_expectation:
|
109
|
-
status_code: 200
|
110
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
111
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:16"
|
112
|
-
priority: 2
|
113
|
-
request:
|
114
|
-
headers:
|
115
|
-
Content-Type: 'application/json'
|
116
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:16'
|
117
|
-
method: 'GET'
|
118
|
-
response_expectation:
|
119
|
-
status_code: 200
|
120
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
121
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:26"
|
122
|
-
priority: 2
|
123
|
-
request:
|
124
|
-
headers:
|
125
|
-
Content-Type: 'application/json'
|
126
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:26'
|
127
|
-
method: 'GET'
|
128
|
-
response_expectation:
|
129
|
-
status_code: 200
|
130
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
131
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:29"
|
132
|
-
priority: 2
|
133
|
-
request:
|
134
|
-
headers:
|
135
|
-
Content-Type: 'application/json'
|
136
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:29'
|
137
|
-
method: 'GET'
|
138
|
-
response_expectation:
|
139
|
-
status_code: 200
|
140
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
141
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:36"
|
142
|
-
priority: 2
|
143
|
-
request:
|
144
|
-
headers:
|
145
|
-
Content-Type: 'application/json'
|
146
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:36'
|
147
|
-
method: 'GET'
|
148
|
-
response_expectation:
|
149
|
-
status_code: 200
|
150
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
151
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:17"
|
152
|
-
priority: 2
|
153
|
-
request:
|
154
|
-
headers:
|
155
|
-
Content-Type: 'application/json'
|
156
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:17'
|
157
|
-
method: 'GET'
|
158
|
-
response_expectation:
|
159
|
-
status_code: 200
|
160
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
161
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category place_keyword:20"
|
162
|
-
priority: 2
|
163
|
-
request:
|
164
|
-
headers:
|
165
|
-
Content-Type: 'application/json'
|
166
|
-
path: '/users/luckyluke/predictions/discovery/place_keyword:20'
|
167
|
-
method: 'GET'
|
168
|
-
response_expectation:
|
169
|
-
status_code: 200
|
170
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
171
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category intended_audience:5"
|
172
|
-
priority: 2
|
173
|
-
request:
|
174
|
-
headers:
|
175
|
-
Content-Type: 'application/json'
|
176
|
-
path: '/users/luckyluke/predictions/discovery/intended_audience:5'
|
177
|
-
method: 'GET'
|
178
|
-
response_expectation:
|
179
|
-
status_code: 200
|
180
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
181
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category intended_audience:4"
|
182
|
-
priority: 2
|
183
|
-
request:
|
184
|
-
headers:
|
185
|
-
Content-Type: 'application/json'
|
186
|
-
path: '/users/luckyluke/predictions/discovery/intended_audience:4'
|
187
|
-
method: 'GET'
|
188
|
-
response_expectation:
|
189
|
-
status_code: 200
|
190
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
191
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category intended_audience:13"
|
192
|
-
priority: 2
|
193
|
-
request:
|
194
|
-
headers:
|
195
|
-
Content-Type: 'application/json'
|
196
|
-
path: '/users/luckyluke/predictions/discovery/intended_audience:13'
|
197
|
-
method: 'GET'
|
198
|
-
response_expectation:
|
199
|
-
status_code: 200
|
200
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
201
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category intended_audience:3"
|
202
|
-
priority: 2
|
203
|
-
request:
|
204
|
-
headers:
|
205
|
-
Content-Type: 'application/json'
|
206
|
-
path: '/users/luckyluke/predictions/discovery/intended_audience:3'
|
207
|
-
method: 'GET'
|
208
|
-
response_expectation:
|
209
|
-
status_code: 200
|
210
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
211
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category intended_audience:2"
|
212
|
-
priority: 2
|
213
|
-
request:
|
214
|
-
headers:
|
215
|
-
Content-Type: 'application/json'
|
216
|
-
path: '/users/luckyluke/predictions/discovery/intended_audience:2'
|
217
|
-
method: 'GET'
|
218
|
-
response_expectation:
|
219
|
-
status_code: 200
|
220
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
221
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category intended_audience:12"
|
222
|
-
priority: 2
|
223
|
-
request:
|
224
|
-
headers:
|
225
|
-
Content-Type: 'application/json'
|
226
|
-
path: '/users/luckyluke/predictions/discovery/intended_audience:12'
|
227
|
-
method: 'GET'
|
228
|
-
response_expectation:
|
229
|
-
status_code: 200
|
230
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
231
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:3"
|
232
|
-
priority: 2
|
233
|
-
request:
|
234
|
-
headers:
|
235
|
-
Content-Type: 'application/json'
|
236
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:3'
|
237
|
-
method: 'GET'
|
238
|
-
response_expectation:
|
239
|
-
status_code: 200
|
240
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
241
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:161"
|
242
|
-
priority: 2
|
243
|
-
request:
|
244
|
-
headers:
|
245
|
-
Content-Type: 'application/json'
|
246
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:161'
|
247
|
-
method: 'GET'
|
248
|
-
response_expectation:
|
249
|
-
status_code: 200
|
250
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
251
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:17"
|
252
|
-
priority: 2
|
253
|
-
request:
|
254
|
-
headers:
|
255
|
-
Content-Type: 'application/json'
|
256
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:17'
|
257
|
-
method: 'GET'
|
258
|
-
response_expectation:
|
259
|
-
status_code: 200
|
260
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
261
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:118"
|
262
|
-
priority: 2
|
263
|
-
request:
|
264
|
-
headers:
|
265
|
-
Content-Type: 'application/json'
|
266
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:118'
|
267
|
-
method: 'GET'
|
268
|
-
response_expectation:
|
269
|
-
status_code: 200
|
270
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
271
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:149"
|
272
|
-
priority: 2
|
273
|
-
request:
|
274
|
-
headers:
|
275
|
-
Content-Type: 'application/json'
|
276
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:149'
|
277
|
-
method: 'GET'
|
278
|
-
response_expectation:
|
279
|
-
status_code: 200
|
280
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
281
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:10"
|
282
|
-
priority: 2
|
283
|
-
request:
|
284
|
-
headers:
|
285
|
-
Content-Type: 'application/json'
|
286
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:10'
|
287
|
-
method: 'GET'
|
288
|
-
response_expectation:
|
289
|
-
status_code: 200
|
290
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
291
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:128"
|
292
|
-
priority: 2
|
293
|
-
request:
|
294
|
-
headers:
|
295
|
-
Content-Type: 'application/json'
|
296
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:128'
|
297
|
-
method: 'GET'
|
298
|
-
response_expectation:
|
299
|
-
status_code: 200
|
300
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
301
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:90"
|
302
|
-
priority: 2
|
303
|
-
request:
|
304
|
-
headers:
|
305
|
-
Content-Type: 'application/json'
|
306
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:90'
|
307
|
-
method: 'GET'
|
308
|
-
response_expectation:
|
309
|
-
status_code: 200
|
310
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
311
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:191"
|
312
|
-
priority: 2
|
313
|
-
request:
|
314
|
-
headers:
|
315
|
-
Content-Type: 'application/json'
|
316
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:191'
|
317
|
-
method: 'GET'
|
318
|
-
response_expectation:
|
319
|
-
status_code: 200
|
320
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
321
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:47"
|
322
|
-
priority: 2
|
323
|
-
request:
|
324
|
-
headers:
|
325
|
-
Content-Type: 'application/json'
|
326
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:47'
|
327
|
-
method: 'GET'
|
328
|
-
response_expectation:
|
329
|
-
status_code: 200
|
330
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
331
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:5"
|
332
|
-
priority: 2
|
333
|
-
request:
|
334
|
-
headers:
|
335
|
-
Content-Type: 'application/json'
|
336
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:5'
|
337
|
-
method: 'GET'
|
338
|
-
response_expectation:
|
339
|
-
status_code: 200
|
340
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
341
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:188"
|
342
|
-
priority: 2
|
343
|
-
request:
|
344
|
-
headers:
|
345
|
-
Content-Type: 'application/json'
|
346
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:188'
|
347
|
-
method: 'GET'
|
348
|
-
response_expectation:
|
349
|
-
status_code: 200
|
350
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
351
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category time_keyword:160"
|
352
|
-
priority: 2
|
353
|
-
request:
|
354
|
-
headers:
|
355
|
-
Content-Type: 'application/json'
|
356
|
-
path: '/users/luckyluke/predictions/discovery/time_keyword:160'
|
357
|
-
method: 'GET'
|
358
|
-
response_expectation:
|
359
|
-
status_code: 200
|
360
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
361
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:493"
|
362
|
-
priority: 2
|
363
|
-
request:
|
364
|
-
headers:
|
365
|
-
Content-Type: 'application/json'
|
366
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:493'
|
367
|
-
method: 'GET'
|
368
|
-
response_expectation:
|
369
|
-
status_code: 200
|
370
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
371
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:2716"
|
372
|
-
priority: 2
|
373
|
-
request:
|
374
|
-
headers:
|
375
|
-
Content-Type: 'application/json'
|
376
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:2716'
|
377
|
-
method: 'GET'
|
378
|
-
response_expectation:
|
379
|
-
status_code: 200
|
380
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
381
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:2261"
|
382
|
-
priority: 2
|
383
|
-
request:
|
384
|
-
headers:
|
385
|
-
Content-Type: 'application/json'
|
386
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:2261'
|
387
|
-
method: 'GET'
|
388
|
-
response_expectation:
|
389
|
-
status_code: 200
|
390
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
391
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:4233"
|
392
|
-
priority: 2
|
393
|
-
request:
|
394
|
-
headers:
|
395
|
-
Content-Type: 'application/json'
|
396
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:4233'
|
397
|
-
method: 'GET'
|
398
|
-
response_expectation:
|
399
|
-
status_code: 200
|
400
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
401
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:2101"
|
402
|
-
priority: 2
|
403
|
-
request:
|
404
|
-
headers:
|
405
|
-
Content-Type: 'application/json'
|
406
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:2101'
|
407
|
-
method: 'GET'
|
408
|
-
response_expectation:
|
409
|
-
status_code: 200
|
410
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
411
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:722"
|
412
|
-
priority: 2
|
413
|
-
request:
|
414
|
-
headers:
|
415
|
-
Content-Type: 'application/json'
|
416
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:722'
|
417
|
-
method: 'GET'
|
418
|
-
response_expectation:
|
419
|
-
status_code: 200
|
420
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
421
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:3897"
|
422
|
-
priority: 2
|
423
|
-
request:
|
424
|
-
headers:
|
425
|
-
Content-Type: 'application/json'
|
426
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:3897'
|
427
|
-
method: 'GET'
|
428
|
-
response_expectation:
|
429
|
-
status_code: 200
|
430
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
431
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:2016"
|
432
|
-
priority: 2
|
433
|
-
request:
|
434
|
-
headers:
|
435
|
-
Content-Type: 'application/json'
|
436
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:2016'
|
437
|
-
method: 'GET'
|
438
|
-
response_expectation:
|
439
|
-
status_code: 200
|
440
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
441
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:1787"
|
442
|
-
priority: 2
|
443
|
-
request:
|
444
|
-
headers:
|
445
|
-
Content-Type: 'application/json'
|
446
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:1787'
|
447
|
-
method: 'GET'
|
448
|
-
response_expectation:
|
449
|
-
status_code: 200
|
450
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
451
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:1373"
|
452
|
-
priority: 2
|
453
|
-
request:
|
454
|
-
headers:
|
455
|
-
Content-Type: 'application/json'
|
456
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:1373'
|
457
|
-
method: 'GET'
|
458
|
-
response_expectation:
|
459
|
-
status_code: 200
|
460
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
461
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:773"
|
462
|
-
priority: 2
|
463
|
-
request:
|
464
|
-
headers:
|
465
|
-
Content-Type: 'application/json'
|
466
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:773'
|
467
|
-
method: 'GET'
|
468
|
-
response_expectation:
|
469
|
-
status_code: 200
|
470
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
471
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:1178"
|
472
|
-
priority: 2
|
473
|
-
request:
|
474
|
-
headers:
|
475
|
-
Content-Type: 'application/json'
|
476
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:1178'
|
477
|
-
method: 'GET'
|
478
|
-
response_expectation:
|
479
|
-
status_code: 200
|
480
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
481
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category plot_keyword:1928"
|
482
|
-
priority: 2
|
483
|
-
request:
|
484
|
-
headers:
|
485
|
-
Content-Type: 'application/json'
|
486
|
-
path: '/users/luckyluke/predictions/discovery/plot_keyword:1928'
|
487
|
-
method: 'GET'
|
488
|
-
response_expectation:
|
489
|
-
status_code: 200
|
490
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
491
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:2"
|
492
|
-
priority: 2
|
493
|
-
request:
|
494
|
-
headers:
|
495
|
-
Content-Type: 'application/json'
|
496
|
-
path: '/users/luckyluke/predictions/discovery/genre:2'
|
497
|
-
method: 'GET'
|
498
|
-
response_expectation:
|
499
|
-
status_code: 200
|
500
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
501
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:15"
|
502
|
-
priority: 2
|
503
|
-
request:
|
504
|
-
headers:
|
505
|
-
Content-Type: 'application/json'
|
506
|
-
path: '/users/luckyluke/predictions/discovery/genre:15'
|
507
|
-
method: 'GET'
|
508
|
-
response_expectation:
|
509
|
-
status_code: 200
|
510
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
511
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:99"
|
512
|
-
priority: 2
|
513
|
-
request:
|
514
|
-
headers:
|
515
|
-
Content-Type: 'application/json'
|
516
|
-
path: '/users/luckyluke/predictions/discovery/genre:99'
|
517
|
-
method: 'GET'
|
518
|
-
response_expectation:
|
519
|
-
status_code: 200
|
520
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
521
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:61"
|
522
|
-
priority: 2
|
523
|
-
request:
|
524
|
-
headers:
|
525
|
-
Content-Type: 'application/json'
|
526
|
-
path: '/users/luckyluke/predictions/discovery/genre:61'
|
527
|
-
method: 'GET'
|
528
|
-
response_expectation:
|
529
|
-
status_code: 200
|
530
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
531
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:142"
|
532
|
-
priority: 2
|
533
|
-
request:
|
534
|
-
headers:
|
535
|
-
Content-Type: 'application/json'
|
536
|
-
path: '/users/luckyluke/predictions/discovery/genre:142'
|
537
|
-
method: 'GET'
|
538
|
-
response_expectation:
|
539
|
-
status_code: 200
|
540
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
541
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:155"
|
542
|
-
priority: 2
|
543
|
-
request:
|
544
|
-
headers:
|
545
|
-
Content-Type: 'application/json'
|
546
|
-
path: '/users/luckyluke/predictions/discovery/genre:155'
|
547
|
-
method: 'GET'
|
548
|
-
response_expectation:
|
549
|
-
status_code: 200
|
550
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
551
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:90"
|
552
|
-
priority: 2
|
553
|
-
request:
|
554
|
-
headers:
|
555
|
-
Content-Type: 'application/json'
|
556
|
-
path: '/users/luckyluke/predictions/discovery/genre:90'
|
557
|
-
method: 'GET'
|
558
|
-
response_expectation:
|
559
|
-
status_code: 200
|
560
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
561
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:7"
|
562
|
-
priority: 2
|
563
|
-
request:
|
564
|
-
headers:
|
565
|
-
Content-Type: 'application/json'
|
566
|
-
path: '/users/luckyluke/predictions/discovery/genre:7'
|
567
|
-
method: 'GET'
|
568
|
-
response_expectation:
|
569
|
-
status_code: 200
|
570
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
571
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:94"
|
572
|
-
priority: 2
|
573
|
-
request:
|
574
|
-
headers:
|
575
|
-
Content-Type: 'application/json'
|
576
|
-
path: '/users/luckyluke/predictions/discovery/genre:94'
|
577
|
-
method: 'GET'
|
578
|
-
response_expectation:
|
579
|
-
status_code: 200
|
580
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
581
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:20"
|
582
|
-
priority: 2
|
583
|
-
request:
|
584
|
-
headers:
|
585
|
-
Content-Type: 'application/json'
|
586
|
-
path: '/users/luckyluke/predictions/discovery/genre:20'
|
587
|
-
method: 'GET'
|
588
|
-
response_expectation:
|
589
|
-
status_code: 200
|
590
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
591
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:43"
|
592
|
-
priority: 2
|
593
|
-
request:
|
594
|
-
headers:
|
595
|
-
Content-Type: 'application/json'
|
596
|
-
path: '/users/luckyluke/predictions/discovery/genre:43'
|
597
|
-
method: 'GET'
|
598
|
-
response_expectation:
|
599
|
-
status_code: 200
|
600
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
601
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:67"
|
602
|
-
priority: 2
|
603
|
-
request:
|
604
|
-
headers:
|
605
|
-
Content-Type: 'application/json'
|
606
|
-
path: '/users/luckyluke/predictions/discovery/genre:67'
|
607
|
-
method: 'GET'
|
608
|
-
response_expectation:
|
609
|
-
status_code: 200
|
610
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
611
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category genre:105"
|
612
|
-
priority: 2
|
613
|
-
request:
|
614
|
-
headers:
|
615
|
-
Content-Type: 'application/json'
|
616
|
-
path: '/users/luckyluke/predictions/discovery/genre:105'
|
617
|
-
method: 'GET'
|
618
|
-
response_expectation:
|
619
|
-
status_code: 200
|
620
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
621
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:13"
|
622
|
-
priority: 2
|
623
|
-
request:
|
624
|
-
headers:
|
625
|
-
Content-Type: 'application/json'
|
626
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:13'
|
627
|
-
method: 'GET'
|
628
|
-
response_expectation:
|
629
|
-
status_code: 200
|
630
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
631
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:7"
|
632
|
-
priority: 2
|
633
|
-
request:
|
634
|
-
headers:
|
635
|
-
Content-Type: 'application/json'
|
636
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:7'
|
637
|
-
method: 'GET'
|
638
|
-
response_expectation:
|
639
|
-
status_code: 200
|
640
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
641
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:14"
|
642
|
-
priority: 2
|
643
|
-
request:
|
644
|
-
headers:
|
645
|
-
Content-Type: 'application/json'
|
646
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:14'
|
647
|
-
method: 'GET'
|
648
|
-
response_expectation:
|
649
|
-
status_code: 200
|
650
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
651
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:9"
|
652
|
-
priority: 2
|
653
|
-
request:
|
654
|
-
headers:
|
655
|
-
Content-Type: 'application/json'
|
656
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:9'
|
657
|
-
method: 'GET'
|
658
|
-
response_expectation:
|
659
|
-
status_code: 200
|
660
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
661
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:11"
|
662
|
-
priority: 2
|
663
|
-
request:
|
664
|
-
headers:
|
665
|
-
Content-Type: 'application/json'
|
666
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:11'
|
667
|
-
method: 'GET'
|
668
|
-
response_expectation:
|
669
|
-
status_code: 200
|
670
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
671
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:4"
|
672
|
-
priority: 2
|
673
|
-
request:
|
674
|
-
headers:
|
675
|
-
Content-Type: 'application/json'
|
676
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:4'
|
677
|
-
method: 'GET'
|
678
|
-
response_expectation:
|
679
|
-
status_code: 200
|
680
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
681
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:8"
|
682
|
-
priority: 2
|
683
|
-
request:
|
684
|
-
headers:
|
685
|
-
Content-Type: 'application/json'
|
686
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:8'
|
687
|
-
method: 'GET'
|
688
|
-
response_expectation:
|
689
|
-
status_code: 200
|
690
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
691
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:10"
|
692
|
-
priority: 2
|
693
|
-
request:
|
694
|
-
headers:
|
695
|
-
Content-Type: 'application/json'
|
696
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:10'
|
697
|
-
method: 'GET'
|
698
|
-
response_expectation:
|
699
|
-
status_code: 200
|
700
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
701
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:3"
|
702
|
-
priority: 2
|
703
|
-
request:
|
704
|
-
headers:
|
705
|
-
Content-Type: 'application/json'
|
706
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:3'
|
707
|
-
method: 'GET'
|
708
|
-
response_expectation:
|
709
|
-
status_code: 200
|
710
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
711
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:16"
|
712
|
-
priority: 2
|
713
|
-
request:
|
714
|
-
headers:
|
715
|
-
Content-Type: 'application/json'
|
716
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:16'
|
717
|
-
method: 'GET'
|
718
|
-
response_expectation:
|
719
|
-
status_code: 200
|
720
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
721
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:5"
|
722
|
-
priority: 2
|
723
|
-
request:
|
724
|
-
headers:
|
725
|
-
Content-Type: 'application/json'
|
726
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:5'
|
727
|
-
method: 'GET'
|
728
|
-
response_expectation:
|
729
|
-
status_code: 200
|
730
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
731
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:6"
|
732
|
-
priority: 2
|
733
|
-
request:
|
734
|
-
headers:
|
735
|
-
Content-Type: 'application/json'
|
736
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:6'
|
737
|
-
method: 'GET'
|
738
|
-
response_expectation:
|
739
|
-
status_code: 200
|
740
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
741
|
-
- name: "Personalized discovery should return between 4 and 600 movies for a certain keyword category emotion_keyword:12"
|
742
|
-
priority: 2
|
743
|
-
request:
|
744
|
-
headers:
|
745
|
-
Content-Type: 'application/json'
|
746
|
-
path: '/users/luckyluke/predictions/discovery/emotion_keyword:12'
|
747
|
-
method: 'GET'
|
748
|
-
response_expectation:
|
749
|
-
status_code: 200
|
750
|
-
body: /^\[({"m\d+":[0-5]\.[05]},){3,600}{"m\d+":[0-5]\.[05]}\]$/
|
751
|
-
- name: 'Delete this discovery test user'
|
752
|
-
request:
|
753
|
-
path: '/users/luckyluke'
|
754
|
-
method: 'DELETE'
|
755
|
-
body: {}
|
756
|
-
response_expectation:
|
757
|
-
status_code: 202
|
758
|
-
- name: 'Discovery test user should not be existant anymore'
|
759
|
-
request:
|
760
|
-
path: '/users/luckyluke'
|
761
|
-
method: 'GET'
|
762
|
-
body: {}
|
763
|
-
response_expectation:
|
764
|
-
status_code: 404
|