You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't so much an issue with Newman as not finding Postman to be an ideal JavaScript editor, yet finding it worse to edit .json collection files in something else.
In an idea solution, when Newman files a string instead of an array as the value of exec, Newman would check if this is a file path and whether a file can be found at this location. If so, it would run it.
I thought about trying to make a PR to do something like this, but I won't pretend my JavaScript is good enough to figure out how your solution is working, so I can't modify it.
Instead, since this isn't getting any response, I'm working on a wrapper ( https://github.com/nilvon9wo/impendingman ) which will allow users to do translate a collection.template.json and run it in newman.
Ideally, I'd like to make newman a direct dependency instead of going through the shell, but I couldn't figure out how to turn command line arguments into NewmanOptions, or if that is even necessary or the best way to do this....
If anyone here is interested in helping with this solution, I'm all eyeballs.
This isn't so much an issue with Newman as not finding Postman to be an ideal JavaScript editor, yet finding it worse to edit .json collection files in something else.
In an idea solution, when Newman files a string instead of an array as the value of
exec
, Newman would check if this is a file path and whether a file can be found at this location. If so, it would run it.So, for example, instead of:
I could have
The text was updated successfully, but these errors were encountered: