我想用jmeter解雇德鲁伊查询。例如:
curl -L -H’Content-Type:application / json’-XPOST –data-binary @querypath / filename.json hostname @ x.x.x.x:8082 / druid / v2 /?pretty文件名….
只需记录它 HTTP(S)测试脚本记录器
准备JMeter进行录制。最简单的方法是通过 JMeter模板 特征
File -> Templates -> Recording
filename.json
执行你的 curl 通过JMeter代理查询 喜欢:
curl
curl -x http://localhost:8888 -L -H'Content-Type: application/json' -XPOST --data-binary @querypath/filename.json hostname @x.x.x.x:8082/druid/v2/?pretty