How can i pass the json for post method if my json is like:
{
"REQUEST":{"REQUEST_BODY":{"Account_Name":"ak"}}
}
It gives me an error at time of parsing json value
In postman it run properly
If your request works in Postman you can just record it in JMeter:
Configure JMeter for recording, the fastest way is using JMeter Templates feature
File - Templates - Recording - Create
Workbench - HTTP(S) Test Script Recorder
and click "StartConfigure Postman for recording. You can "tell" Postman which proxy server to use (JMeter in your case) via --proxy-server
command-line argument
C:\\Users\\your_user_name\\AppData\\Local\\Postman\\app-xxx\\Postman.exe --proxy-server=localhost:8888
Test Plan - Thread Group - Recording Controller
References:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.