Files
ktor/pipeline.lua
Sergey Mashkov e3534e42d5 Upgrade dokka to 0.9.16
Fix compilation under JDK9, issue #321
2018-04-03 14:38:37 +03:00

16 lines
280 B
Lua

init = function(args)
request_uri = args[1]
depth = 10 -- tonumber(args[2]) or 1
local r = {}
for i=1,depth do
r[i] = wrk.format(nil, request_uri)
end
req = table.concat(r)
end
request = function()
wrk.headers["J-Tenant-Id"] = "1007"
return req
end