Import an Insomnia collection#

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

Import into a project#

  1. Click + in the lower-right corner of your screen and select Import. The window opens:

    ../_images/um_import.en.png
  2. Go to the Insomnia tab and click to upload an Insomnia file:

    ../_images/um_import_insomnia.en.png
  3. Select the JSON file of the Insomnia collection. It is 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 should not exceed 100 MB.

  4. Click Import.

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

../_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. Click import_button. The window opens:

    ../_images/um_import_group_har.en.png
  3. Go to the Insomnia tab and click to upload an Insomnia file:

    ../_images/um_import_group_insomnia.en.png
  4. Select the JSON file of the Insomnia collection. It is 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 should not 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