Principle: Before you begin the prepared script is added to the data within the array, every request call according to the order
wrk.method = "GET"
- circular list
local queries = {- API parameter
"/app/getConDetails?ConttId=38163230&Type=2",
"/app/getContDetails?ContId=381667330&Type=1",
}
local i = 0
request = function () - each different interface data calls
local path = wrk.format(nil, queries[i % #queries + 1])
i = i + 1
print(path)
return path
end