This commit is contained in:
2026-05-26 23:22:32 +02:00
parent 842fca2b72
commit 730de334e0
17 changed files with 5380 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
-- S2: single-route GET with full middleware (logger + request_id + auth).
-- :id is spread across 10_000 values to defeat per-id caching.
local common = require("common")
wrk.method = "GET"
wrk.headers = common.headers
math.randomseed(os.time() + os.getpid())
request = function()
local id = math.random(1, 10000)
return wrk.format(nil, "/api/v1/users/" .. id)
end