POST request from JMeter

2019-09-16 12:12发布

I am using latest version of JMeter and trying to make a POST request from JMeter however I am not able to see dropdown to change HTTP method . can you please suggest why dropdown is not visible to me ?

Please find below screen shot of JMeter . It has no dropdown to specify HTTP method.

enter image description here

2条回答
贼婆χ
2楼-- · 2019-09-16 12:29

implementation in HTTP Request Defaults moved to Advanced tab

Click Advanced and choose between HTTPClient4 and Java

查看更多
贪生不怕死
3楼-- · 2019-09-16 12:38

You are looking into HTTP Request Defaults configuration element where all the default values can be specified. It is good that you have it as if you will need to change URL, protocol, path, whatever you will be able to do it in one place instead of visiting each and every HTTP Request Sampler. See Why It's SO Important To Use JMeter's HTTP Request Defaults

However it is not a sampler so it won't do any work, you need to add HTTP Request Sampler to your test plan, there you will be able to set request method, etc.

查看更多
登录 后发表回答