JMeter的POST请求 [英] POST request from JMeter

查看:124
本文介绍了JMeter的POST请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用最新版本的JMeter并尝试从JMeter发出POST请求,但是我看不到下拉菜单来更改HTTP方法.您能否建议为什么我看不到下拉菜单?

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 ?

请在下面找到JMeter的屏幕截图.它没有下拉列表来指定HTTP方法.

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

推荐答案

您正在研究HTTP请求默认值配置元素,可以在其中指定所有默认值.最好您拥有它,就好像您将需要更改URL,协议,路径,无论您能够在一个地方执行的操作一样,而不必访问每个HTTP Request Sampler.参见为什么使用JMeter的重要性如此HTTP请求默认值

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.

这篇关于JMeter的POST请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆