Skip to content

fullstackfern/insomnia-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

insomnia-testing

Git Sync

This repo can be added as a design document in Insomnia by using the Git Sync feature and cloning this repo. These design documents, however, are OpenAPI specs which Insomnia does not have a visual editor for.
image

Importing

A better option for editing would be to import/export collections. You can import the hightouch-collection.json file in this repo using Insomnia's file import feature.

image

This collection requires a password variable in the environment. To configure this variable:

  1. Click on the environment name, then Manage Environments
  2. Click the + button to create a new Private Environment; this ensures the passwords are not saved to the JSON file when exporting.
    image
  3. Name the environment and add the token variable. The actual value from this token is stored in 1Password in the Secrets field for the "Fivetran Hightouch Connector Settings" login.
    image
  4. Once the token variable is set, click Close.
  5. Switch to the environment you just created.
    image
  6. You'll now be able to make requests and use the variable(s) from the environment in any new requests (by using the {{variableName}} convention)
    image

Exporting

To save the requests to GitHub, this would require exporting the request collection as JSON after making the necessary changes.
Bad news: This does not allow for real-time collaboration. If you re-import the file after making changes in Insomnia, your changes would be overwritten.
Good (i.e. neutral) news: The file contains a unique ID which Insomnia uses to know if the collection had already imported. If you already had a previous version of the collection, your private environment variables would not be overwritten; you can simply import the latest version of the collection and use it (unless it requires new variables).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published