diff --git a/scripts/wrk/api/v1/admin/login.lua b/scripts/wrk/api/v1/admin/login.lua index 7fffcdd..80f33ff 100644 --- a/scripts/wrk/api/v1/admin/login.lua +++ b/scripts/wrk/api/v1/admin/login.lua @@ -4,7 +4,7 @@ local pre_request function init(args) -- Pre-generate the request - payload = "grant_type=password&username=admin&password=NgaiLongGey" + payload = "grant_type=password&username=incorrect&password=incorrect" pre_request = "POST /api/v1/admin/login HTTP/1.1\r\n" .. "Accept: application/json\r\n" .. "Connection: keep-alive\r\n" .. @@ -16,8 +16,6 @@ function init(args) "\r\n" .. payload - print(string.format("Sending requests:\n%s\n", pre_request)) - response = nil end diff --git a/scripts/wrk/root.lua b/scripts/wrk/root.lua index 729d9e1..2881db8 100644 --- a/scripts/wrk/root.lua +++ b/scripts/wrk/root.lua @@ -12,8 +12,6 @@ function init(args) string.format("User-Agent: %s\r\n", utils.random_user_agent()) .. "\r\n" - print(string.format("Sending requests:\n%s\n", pre_request)) - response = nil end