Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Jmeter中处理post方法进行负载测试?_Jmeter_Jmeter Plugins - Fatal编程技术网

如何在Jmeter中处理post方法进行负载测试?

如何在Jmeter中处理post方法进行负载测试?,jmeter,jmeter-plugins,Jmeter,Jmeter Plugins,我想在应用服务器上使用jmeter执行负载测试post方法。我在应用服务器上使用jmeter多次执行了负载测试以获取请求。我不知道如何处理jmeter中用于负载测试的post方法 POST HTTP请求: Content-Type for POST is "application/x-www-form-urlencoded" REQUEST : http://localhost:8080/configserver/execute?command=Login POST Paramete

我想在应用服务器上使用jmeter执行负载测试post方法。我在应用服务器上使用jmeter多次执行了负载测试以获取请求。我不知道如何处理jmeter中用于负载测试的post方法

POST HTTP请求:

Content-Type for POST is "application/x-www-form-urlencoded" REQUEST : http://localhost:8080/configserver/execute?command=Login POST Parameter: data={ "email": "user@domain.com", "password": "12345" } Output: { "status_code": "0", "status_message": "", "result": { "user_id": "1", "session_token": "abcd" } } 帖子的内容类型为“application/x-www-form-urlencoded” 请求:http://localhost:8080/configserver/execute?command=Login POST参数: 资料={ “电子邮件”:user@domain.com", “密码”:“12345” } 输出: { “状态代码”:“0”, “状态信息”:“, “结果”:{ “用户id”:“1”, “会话令牌”:“abcd” } }
配置如下:

请阅读以下内容:

请阅读本教程: