-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run k6 against local Nuxt on PRs (#4924)
* Run k6 against local Nuxt on PRs * Use sample of real query terms Remove reliance on system dictionary which may not be available * Write text summary during execution * Use talkback to prevent throttling of requests in CI * Make the tapes smaller (#4985) * Try fix just recipe bad substitution * Use locales available in test for load testing --------- Co-authored-by: Olga Bulat <[email protected]>
- Loading branch information
1 parent
af8b89f
commit d3553f2
Showing
61 changed files
with
63,028 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
...+Quixote+de+la+Mancha&license=by&extension=mp3&source=jamendo&peaks=true_keep-alive.json5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
meta: { | ||
createdAt: '2024-09-20T02:47:13.176Z', | ||
host: 'https://api.openverse.org', | ||
resHumanReadable: true, | ||
resUncompressed: true, | ||
}, | ||
req: { | ||
headers: { | ||
connection: 'keep-alive', | ||
}, | ||
url: '/v1/audio/?q=Dom+Quixote+de+la+Mancha&license=by&extension=mp3&source=jamendo&peaks=true', | ||
method: 'GET', | ||
body: '', | ||
}, | ||
res: { | ||
status: 200, | ||
headers: { | ||
date: [ | ||
'Fri, 20 Sep 2024 02:47:13 GMT', | ||
], | ||
'content-type': [ | ||
'application/json', | ||
], | ||
'transfer-encoding': [ | ||
'chunked', | ||
], | ||
connection: [ | ||
'keep-alive', | ||
], | ||
vary: [ | ||
'Accept, Authorization, origin, Accept-Encoding', | ||
], | ||
allow: [ | ||
'GET, HEAD, OPTIONS', | ||
], | ||
'x-ratelimit-limit-anon_burst': [ | ||
'20/min', | ||
], | ||
'x-ratelimit-available-anon_burst': [ | ||
'17', | ||
], | ||
'x-ratelimit-limit-anon_sustained': [ | ||
'200/day', | ||
], | ||
'x-ratelimit-available-anon_sustained': [ | ||
'166', | ||
], | ||
'x-frame-options': [ | ||
'DENY', | ||
], | ||
'x-content-type-options': [ | ||
'nosniff', | ||
], | ||
'referrer-policy': [ | ||
'same-origin', | ||
], | ||
'cross-origin-opener-policy': [ | ||
'same-origin', | ||
], | ||
'x-request-id': [ | ||
'f03692b6-0328-4603-9737-771e9100765e', | ||
], | ||
'cf-cache-status': [ | ||
'HIT', | ||
], | ||
age: [ | ||
'1144', | ||
], | ||
'last-modified': [ | ||
'Fri, 20 Sep 2024 02:28:09 GMT', | ||
], | ||
server: [ | ||
'cloudflare', | ||
], | ||
'cf-ray': [ | ||
'8c5e7d536b31274b-ADL', | ||
], | ||
'content-encoding': [ | ||
'br', | ||
], | ||
}, | ||
body: { | ||
result_count: 0, | ||
page_count: 0, | ||
page_size: 20, | ||
page: 1, | ||
results: [], | ||
}, | ||
}, | ||
} |
91 changes: 91 additions & 0 deletions
91
frontend/test/tapes/search/audio/q=Dom+Quixote+de+la+Mancha&peaks=true_keep-alive.json5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
meta: { | ||
createdAt: '2024-09-20T02:47:12.052Z', | ||
host: 'https://api.openverse.org', | ||
resHumanReadable: true, | ||
resUncompressed: true, | ||
}, | ||
req: { | ||
headers: { | ||
connection: 'keep-alive', | ||
}, | ||
url: '/v1/audio/?q=Dom+Quixote+de+la+Mancha&peaks=true', | ||
method: 'GET', | ||
body: '', | ||
}, | ||
res: { | ||
status: 200, | ||
headers: { | ||
date: [ | ||
'Fri, 20 Sep 2024 02:47:12 GMT', | ||
], | ||
'content-type': [ | ||
'application/json', | ||
], | ||
'transfer-encoding': [ | ||
'chunked', | ||
], | ||
connection: [ | ||
'keep-alive', | ||
], | ||
vary: [ | ||
'Accept, Authorization, origin, Accept-Encoding', | ||
], | ||
allow: [ | ||
'GET, HEAD, OPTIONS', | ||
], | ||
'x-ratelimit-limit-anon_burst': [ | ||
'20/min', | ||
], | ||
'x-ratelimit-available-anon_burst': [ | ||
'11', | ||
], | ||
'x-ratelimit-limit-anon_sustained': [ | ||
'200/day', | ||
], | ||
'x-ratelimit-available-anon_sustained': [ | ||
'6', | ||
], | ||
'x-frame-options': [ | ||
'DENY', | ||
], | ||
'x-content-type-options': [ | ||
'nosniff', | ||
], | ||
'referrer-policy': [ | ||
'same-origin', | ||
], | ||
'cross-origin-opener-policy': [ | ||
'same-origin', | ||
], | ||
'x-request-id': [ | ||
'43ea964c-6a59-4abb-8b12-8110e850d8fc', | ||
], | ||
'cf-cache-status': [ | ||
'HIT', | ||
], | ||
age: [ | ||
'1143', | ||
], | ||
'last-modified': [ | ||
'Fri, 20 Sep 2024 02:28:09 GMT', | ||
], | ||
server: [ | ||
'cloudflare', | ||
], | ||
'cf-ray': [ | ||
'8c5e7d4c599b274b-ADL', | ||
], | ||
'content-encoding': [ | ||
'br', | ||
], | ||
}, | ||
body: { | ||
result_count: 0, | ||
page_count: 0, | ||
page_size: 20, | ||
page: 1, | ||
results: [], | ||
}, | ||
}, | ||
} |
Oops, something went wrong.