load tests for scrape route

This commit is contained in:
rafaelsideguide
2024-05-22 09:30:32 -03:00
parent 75f4e34d8e
commit 068a240ab4
15 changed files with 5150 additions and 8 deletions
+9 -1
View File
@@ -1,8 +1,16 @@
config:
target: "https://staging-firecrawl-scraper-js.fly.dev/v0"
http:
timeout: 30
phases:
- duration: 60
arrivalRate: 10
arrivalRate: 10 # Initial load
- duration: 120
arrivalRate: 20 # Increased load
- duration: 180
arrivalRate: 30 # Peak load
- duration: 60
arrivalRate: 10 # Cool down
defaults:
headers:
Authorization: "Bearer {{ $env.TEST_API_KEY }}"