2017-04-14 125 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

相關問題