MOCKS: fake it till you make it

Number of APIs: 12

Get Started

  1. Get Qodex API Key: to get your Qodex API key, log in to the Qodex web dashboard. Select the workspace that you'd like to work in, and tab over to the Integrations page.
[integrations page](https://s3.amazonaws.com/Qodex-static-getQodex-com/Qodex-docs/dynamic-mock-integrations-page.png)

Toggle over to Browse Integrations, view details about the Qodex API, and hit Get API Key. Copy and paste this value into a Qodex environment.

[Qodex API page](https://s3.amazonaws.com/Qodex-static-getQodex-com/Qodex-docs/dynamic-mock-api-key.png) 1. Update Qodex environment: create and update an environment to store required variables. 1. Run the collection or folder: to run the collection or folder, click on the arrow (►) next to the collection name to expand the collection details. Click the blue Run button to open the Collection Runner in a separate window.

Select the collection or folder you wish to run. Select the environment to run it against, if you are using one. When you're ready to run the collection or folder, hit the blue Run button.

  1. Generate new mock for existing collection - Update collection with generated mock PUT https://api.getpostman.com/collections/{{collection_uid}}

  2. Update a mock response for an existing collection - Get collection GET https://api.getpostman.com/collections/{{collection_uid}}

  3. Create a mock from scratch - Create mock POST https://api.getpostman.com/mocks

  4. Add a mock to an existing collection - Get collection GET https://api.getpostman.com/collections/{{collection_uid}}

  5. Add a mock to an existing collection - Update collection with new mock PUT https://api.getpostman.com/collections/{{collection_uid}}

  6. Generate new mock for existing collection - Get collection GET https://api.getpostman.com/collections/{{collection_uid}}

  7. Update a mock response for an existing collection - Update collection by updating mock PUT https://api.getpostman.com/collections/{{collection_uid}}

  8. Transfer value from request to response - Update collection with request data PUT https://api.getpostman.com/collections/{{collection_uid}}

  9. Transfer value from request to response - Echo to POST Form Data POST https://postman-echo.com/post

  10. Transfer value from request to response - Get collection GET https://api.getpostman.com/collections/{{collection_uid}}