Reputation: 1893
I'm new to JMeter and I want to test performance of api and recording test case with JMeter proxy.
I've first followed instruction here http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf and all worked fine.
I am calling this api using curl commands. Question is how to set up proxy for that requests are recorded in the JMeter when running curl commands
Upvotes: 1
Views: 994
Reputation: 748
It should be pretty easy to just rewrite the same requests in Jmeter, if you have a script ready.
Anyway, cUrl has a proxy option.
-x, --proxy <[protocol://][user:password@]proxyhost[:port]>
Use the specified HTTP proxy.
If the port number is not specified, it is assumed at port 1080.
You can set it to the Jmeter proxy.
Hope it helps :)
Upvotes: 1