Import an Insomnia collection#

Уou can import data from an Insomnia collection into a test or into a specific group.

Import into a test#

  1. In the Import data pane, click insomnia_button. The window opens:

    ../_images/um_import_insomnia.en.png
  2. Сlick to upload an Insomnia file.

  3. Select the JSON file of the Insomnia collection. It’s recommended not to use variables in the Insomnia collection. If the collection contains variables, specify the values of these variables in the PFLB Platform editor after having imported the collection. The file size shouldn’t exceed 100 MB.

  4. Click Import.

Groups with transactions and requests from the collection will be added to the test:

../_images/um_insomnia_project.en.png

Import into a group#

  1. Go to the group or click edit_button. The editor opens:

    ../_images/um_editor.en.png
  2. In the Import data pane, click insomnia_button. The window opens:

    ../_images/um_import_insomnia.en.png
  3. Click to upload an Insomnia file.

  4. Select the JSON file of the Insomnia collection. It’s recommended not to use variables in the Insomnia collection. If the collection contains variables, specify the values of these variables in the PFLB Platform editor after having imported the collection. The file size shouldn’t exceed 100 MB.

  5. Click Import.

Groups with transactions and requests from the collection will be added to the group:

../_images/um_insomnia_group.png