POST request from JMeter

ε祈祈猫儿з 提交于 2019-12-24 19:23:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!