Issue
I'm trying to create a jmeter test plan without using the GUI. I want to take a file with multiple curl commands in order to create the test plan requests. The base test configuration can be made with the GUI, but the addition of the requests via the curl commands should be done by a script. I know there is a way to import those commands into jmeter through the GUI but I need that the test will be created automatically without manual interference. what could be the best way to do it?
Solution
If you're okay with manually starting the HTTP(S) Test Script Recorder it's not needed you can just configure cURL to use JMeter as the proxy. Like:
curl -x http://localhost 8888 -k -your-other-parameters https://your-url
The sequence of commands can be put into a batch file.
More information: Recording a user session with the proxy
Answered By - Dmitri T Answer Checked By - Willingham (WPSolving Volunteer)