Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insomnia #246

Closed
2 of 4 tasks
hangadi opened this issue Jan 16, 2025 · 1 comment
Closed
2 of 4 tasks

Insomnia #246

hangadi opened this issue Jan 16, 2025 · 1 comment

Comments

@hangadi
Copy link

hangadi commented Jan 16, 2025

Summary

$ inso run collection -w ~/simple.yaml -e env_2eecf85b7f wrk_0702a5
When Above command is ran , it reads all variables from this Environment File env_2eecf85b7f , While Request are processed the values are updated in the same Environment File Ex: Insomnia.environment.set("track",track) , we should get the latest values as we did Insomnia.environment.set

Expected Behavior

Request 2 ( GET /a1/Init/track) -> The track should have value

Actual Behavior

Request 2 ( GET /a1/Init/track) -> The track value is empty

Reproduction Steps

I am using Insomnia Inso CI to execute the collection

$ inso run collection -w ~/simple.yaml -e env_2eecf85b7f wrk_0702a5

There are two request in My collection.

  • Request 1 ( POST /A1/Init )
  • Request 2 ( GET /a1/Init/track)

I am using the JSON response value from Request 1 in Request 2 and it not working via CLI , When Ran using UI it works fine.

In Request 1, I have used insomnia.environment.set("track",track) in After response and When use this variable In Request 2, the value is not updated, the old value is shown instead of updated value

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

10.0.0

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

Downloaded from Insomnia

Last Known Working Insomnia version

NA

@ihexxa
Copy link
Contributor

ihexxa commented Jan 17, 2025

Duplicated with: Kong/insomnia#8302

@ihexxa ihexxa closed this as completed Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants