Collections
PruTAN helps you organize your API requests with collections. You can create collections and add requests to them to share with your team or reuse later. You can also export PruTAN collections and import collections from PruTAN, OpenAPI, cURL, and Postman.
You can access collections by clicking the "Collections" icon on the side panel's Collection submenu.
Creating a New Collection
To create a new collection, click on the "Add new" button in the collections section and enter the name of the collection. You can also create a sub-collection by clicking on the "Add new" button on the desired collection and entering the name of the sub-collection.
Duplicating a Collection
Create a copy of an existing collection to modify or test different configurations without affecting the original.
- Click on the collection you want to duplicate.
- Click on the three-dot menu in the collection's options.
- Select "Duplicate" from the dropdown menu. A new collection with the suffix "- Duplicate" will be created.
Saving Requests to Collections
Once you have built a request, save it into a collection so you can reuse, organize, and run it later. The request page's Save button gives you two ways to do this:
- Save — updates the request in its current location. If the request has never been saved before, PruTAN opens the Save as dialog so you can choose where to store it.
- Save as — always stores the request as a new entry in a location you pick. Open the dropdown next to the Save button and choose Save as.
In the Save as dialog, give the request a name, then use the collection tree under Select a Collection to Save to choose the destination collection or folder. Your choice appears next to Selected location. Click Save to store the request there, or Cancel to dismiss the dialog without saving.
Ctrl/Cmd + S to save the request to a collection.Organizing Collections
To edit a collection, click on the "Edit" button in the collection's three-dot menu.
To add a request to a collection, click on the "New request" button in the collection's options to save the current request to the collection.
Deleting Collections
To delete a collection, click on the "Delete" button in the collection's options.
Searching Collections
Use the search box at the top of the Collections panel to quickly find a request or folder. Start typing and the collection tree filters to matching items as you type, so you don't have to expand each collection manually to locate a request.
Importing and Exporting Collections
You can import and export collections from PruTAN, OpenAPI, Postman, and other formats.
To import a collection, click on the "Import" button in the collections section and select the collection type you want to import.
To export a collection, click on the "Export" button in the collection's options and select the format you want to export.
Import a request from cURL
To turn an existing curl command into a PruTAN request, choose Import cURL request from the collections Import menu (it is also available from the request page's Save dropdown). Paste the full curl command into the dialog — PruTAN parses it into a request, including the method, URL, headers, and body. Give the request a name, pick the collection to save it into, and click Import.
Permissions
If the collection is being created in Sandbox or Interceptor, it also requires permissions that are set by the Workspace owner in the profile's section under the Team tab.
For multi-collection workflows — running scripts from one or more collections together and reviewing consolidated results and reports — see Suites.
Organizing requests
Learn more about organizing requests using collections.