API Design: Generate collection with existing test suite


In the “API beta” tab, I’m defining my api with OpenAPI v3 and generating a collection, then attaching test to it. Is there any way to carry over the tests from the previous generated collection into the new one?

Many thanks,


Hi @julien,

Please note that you can use the tests from the previously generated collection if you have kept a copy of your previous collection in your workspace.
If you have done that, you can go ahead and select the test suite from any of the collections in your workspace by navigating to the Test section of the API tab, clicking on the Add Test Suite dropdown as shown in the attached image and selecting the test suite from the appropriate collection. Let me know if you have any further queries regarding the same.


I am wondering the same thing. When I click Generate Collection after saving tests, it just overwrites them and they disappear in the collection.

Is there a way to add tests to an OpenAPI spec and have them get added to the collection when it’s generated?