Sitemap

Tip: Conversion Your Postman Collections to Jmeter Scripts Easily

2 min readJul 18, 2022

While reading the documents on Newman, I came across too many articles trying to load test with Postman. According to me Postman/Newman is not an app built for this job.

However then I thought of the following; because people are using their Postman collections so actively, they are trying to avoid rework and that may be why they are doing it.

Unfortunately, I will not talk about Postman and Jmeter installations here. There are dozens of these on Medium and various websites.

This Tip will teach you how to easily migrate your requests for Postman and Jmeter users.

Example API: http://universities.hipolabs.com/search?country=Turkey

Postman: https://www.postman.com/downloads/

Jmeter: https://jmeter.apache.org/download_jmeter.cgi

Sooo, let’s do it in 4 simple steps.

  1. Create A New Request in Postman
Press enter or click to view image in full size

2. Click the “</>” icon on the right and copy your cURL code snippet.

Press enter or click to view image in full size

3. Start your Jmeter and go to “Tools -> Import from cURL”

4. Then paste it and “Create Test Plan”

Press enter or click to view image in full size

Your Jmeter HTTP Sampler is Ready

Press enter or click to view image in full size

Note: Of course this is a very simple Get Request. However Cookie, Header etc. It works great with everything. I recommend you try it.

--

--

Berkay Kırmızıoğlu
Berkay Kırmızıoğlu

Written by Berkay Kırmızıoğlu

Open Source Enthusiast, Software Engineer & SDET

Responses (2)