问题
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.
回答1:
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.
回答2:
implementation in HTTP Request Defaults moved to Advanced tab
Click Advanced and choose between HTTPClient4 and Java
来源:https://stackoverflow.com/questions/45081038/post-request-from-jmeter