Skip to content

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

  1. Open the HTTP Client: In Martini Designer, access the HTTP Client from the left-hand navigation bar.

  2. Configure the Request: Set up the HTTP method, URL, and any required headers or parameters for the request.

  3. 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.
  4. 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.

  5. 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:

  1. 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".
  2. 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.