Note: This thread references the Learning Postman with Paul course article, which has been deprecated and is no longer available in the Learning Center.
Howdy folks!
I've been working away with PostMan for some time and have been dipping my toes into setting up a few items to run through the CLI; however, I keep running into a 401 error when attempting a run. The collection works fantastic in the Desktop/Web versions, but I feel like I'm missing something….
Below is what I'm attempting, but I'm figuring it's either a syntax issue or some sort of config item. The collection is inheriting the auth from the parent. I'd love to hear of alternatives methods if you have any.
- Logging into Postman with api key
- Running a statement structured like this “postman collection run {runID} -e {environment key} -i {iterations} -d {datasource path}”
Thanks!
Kyler