How to import postman requests to OctoPerf? This blog post is a step by step tutorial. tutorials , postman , API , jmeter , performance testing https://octoperf.com/blog/2020/07/01/postman/ OctoPerf ZI Les Paluds, 276 Avenue du Douard, 13400 Aubagne, France +334 42 84 12 59 contact@octoperf.com Tutorials 265 2023-01-23

Importing Postman requests to Octoperf

OctoPerf is JMeter on steroids!
Schedule a Demo

You may have spent a considerable amount of time configuring Postman requests for your in-house API tests, and you wish to use them without having to create them again from scratch on Octoperf.

That’s one of the many situations where Octoperf’s compatibility with Jmeter is going to come in a handy.

Update : A new and faster way to import Postman Collections has been implemented in Octoperf.

You can find more information here.

Postman to Jmeter

The first step will be to convert your requests into a JMeter-friendly format, using Postman Code Generation Snippet :

savecode

Select ‘Curl’ and in the settings, disable the multiline option :

codeline

Your curl request should look something like this :

1
curl --header "Authorization: Bearer <apiKey>" -v -X POST https://api.octoperf.com/runtime/scenarios/run/<scenarioId>

Open JMeter, create a “Thread Group” that will host all your requests, and in the “Tools” Menu select “Import from Curl” :

importcurl

Paste your Curl request and click on “Create Test Plan”

importedcurl

When you’re finished importing all your requests, save your JMeter project locally.

You’re almost there ! Time to go on OctoPerf.

Jmeter to OctoPerf

You can now create your virtual User by importing the JMeter project file (.jmx) :

creatvuser

Your requests will then appear in your Virtual User :

octoperfrequest

Now you can unit test your API calls using Octoperf’s interface .

Validate your API Calls

Click on the right side panel to validate your calls :

validate

You can know check the response for each one of your calls :

validate2

You did it ! You can now modify your requests, launch load tests and analyse them directly on OctoPerf.

Importing Postman requests to Octoperf
Tags:
Share:
Want to become a super load tester?
OctoPerf Superman