Importing and Exporting Postman Collections in Martini
Martini allows you to both import and export requests in Postman Collection format. This feature is useful for sharing API requests with team members, testing in Postman, or bringing Postman requests into Martini for further use in workflows and services.
Exporting a Request to a Postman Collection
-
Open the HTTP Client: In Martini Designer, access the HTTP Client from the left-hand navigation bar.
-
Configure the Request: Set up the HTTP method, URL, and any required headers or parameters for the request.
-
Send and Test the Request:
- Click “Send” to execute the request and verify the response.
- Ensure the request behaves as expected, confirming that the response data matches your requirements.
-
Save the Request: Click the Save icon in the main navigation bar to save the request within Martini, either for the Workspace or the User.
-
Export as Postman Collection:
- Once the request is saved, right-click the saved request and select "Export | Postman Collection".
- Martini will generate a Postman Collection file containing the configured request, ready for download and import into Postman.
Importing a Postman Collection
To bring requests from an existing Postman collection into Martini, follow these steps:
-
Import a Postman Collection: You can initiate the import by either:
- Clicking the Import icon in the HTTP Client, or
- Right-clicking any saved service in the Navigator and selecting "Import | Postman Collection".
-
Select the Collection Source: In the import dialog, specify the location of the Postman collection by either:
- Browsing to the file location on your system, or
- Entering the URL of the Postman collection if it is hosted online.