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

Specify collection using URL #46

Open
khausam opened this issue Dec 4, 2018 · 6 comments
Open

Specify collection using URL #46

khausam opened this issue Dec 4, 2018 · 6 comments

Comments

@khausam
Copy link

khausam commented Dec 4, 2018

I was hoping to be able to specify my collection using a postman provided URL such as: https://www.getpostman.com/collections/secret_hex_guid_here . I tried placing the URL in the "Collection File Source" field, but no luck. Error was: "##[error]Not found collectionFileSource: D:\a\r1\a\https:\www.getpostman.com\collections\cd..." Is what I am trying to do supported?

@carlowahlstedt
Copy link
Owner

Currently, there is not support for that. Sounds like a create feature to be added though! I just verified how it works inside of postman by creating a request in a collection and sharing it.

Here is the line that gets the collection. Probably have to make an http call to get the file contents, create each file, and then run it through Newman, unless it has native support for these collections. I didn't look into that.

@khausam
Copy link
Author

khausam commented Dec 5, 2018 via email

@carlowahlstedt
Copy link
Owner

@khausam this should be released now. Please verify for us.

@esbenbach
Copy link

I am using this feature, but using URLs of the form: https://api.getpostman.com/collections/COLLECTIONID?apikey=MYSECRETKEY

It works just great. A suggested advanced feature would be to just take the collectionid and the apikey as input so I dont have to worry about the base API url, but its not important it works fine.

@carlowahlstedt
Copy link
Owner

@esbenbach Are there any other ways this URL can be specified? Are there non-postman urls that can be specified here?

@esbenbach
Copy link

esbenbach commented Feb 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants