WRK的使用-lua脚本POST请求(静态数据)
摘要:HTTP_prot = { "/gateway/services", "/gateway/services", } --接口类型 HTTP_type = { "POST", "POST", } --参数 HTTP_body = { '{"phone": "19012000335"}', '{"pho
阅读全文
posted @
2019-10-02 09:16
月光之下
阅读(2760)
推荐(0) 编辑
WRK的使用-lua脚本GET请求
摘要:原理:在脚本开始之前将准备好的数据添加至数组内,每次请求根据顺序调用 wrk.method = "GET" -- 循环列表 local queries = { -- API与参数 "/app/getConDetails?ConttId=38163230&Type=2", "/app/getContD
阅读全文
posted @
2019-10-02 09:15
月光之下
阅读(1338)
推荐(0) 编辑