2017-04-14 105 views
0

问题:在电子邮件地址@替换为%40。如何用Jmeter用户定义的变量定义电子邮件地址?

http头经理:

enter image description here

用户定义的变量:

enter image description here

http请求:

enter image description here

和结果树:

enter image description here

我已经研究过这个问题,他们说,如果HTTP方法是POST,那么它应该自动编码。但它不会自动编码。任何建议,我该如何解决这个问题?

注意: Jmeter版本:3.1和我试图测试休息服务。

回答

0

我找到了答案。 @ PoorvajaDeshmukh的回答暗示着我。如下(正确定义身体数据);

enter image description here

我也试过@ DmitriT的建议,但我没有工作。感谢您的建议...

1

请尝试在Body数据中发送数据,而不是在参数中发送数据。

enter image description here

enter image description here

相关问题