jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

Why can't I export my HTTP request to cURL in JMeter?

Open Hamzablm opened this issue 1 year ago • 3 comments

Use case

Using the latest version of JMeter (5.6.3), I was able to import a cURL command, but I've been struggling to export my HTTP request to cURL format. However, it seems like the option to "Copy as cURL" isn't available. I've tried right-clicking in the "View Results Tree" listener, but there's no such option there.

Am I missing something obvious, or is this feature just not available anymore? It’s a bit frustrating, as being able to quickly grab a cURL command would make testing outside of JMeter so much easier.

Is there a plugin or a simple workaround I can use to export HTTP requests to cURL without constructing the command manually every time?

Possible solution

No response

Possible workarounds

No response

JMeter Version

5.6.3

Java Version

Java 8

OS Version

No response

Hamzablm avatar Oct 30 '24 17:10 Hamzablm

I am pretty sure, that JMeter did not support such an export option in the past, but it looks like a nice enhancement.

FSchumacher avatar Nov 03 '24 16:11 FSchumacher

I hope they add it. It would be very useful to us.

Hamzablm avatar Nov 04 '24 13:11 Hamzablm

+1

ljmwaugh avatar Mar 03 '25 21:03 ljmwaugh