Tip: Conversion Your Postman Collections to Jmeter Scripts Easily
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.
- Create A New Request in Postman
2. Click the “</>” icon on the right and copy your cURL code snippet.
3. Start your Jmeter and go to “Tools -> Import from cURL”
4. Then paste it and “Create Test Plan”
Your Jmeter HTTP Sampler is Ready
Note: Of course this is a very simple Get Request. However Cookie, Header etc. It works great with everything. I recommend you try it.