Load tests
This commit is contained in:
6
test/wrk/scripts/wrk_register.lua
Normal file
6
test/wrk/scripts/wrk_register.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
counter = 0
|
||||
request = function()
|
||||
counter = counter + 1
|
||||
local body = string.format('{"email":"load%d@test.com","password":"pass"}', counter)
|
||||
return wrk.format("POST", "/v1/register", {["Content-Type"]="application/json"}, body)
|
||||
end
|
||||
Reference in New Issue
Block a user