-
Notifications
You must be signed in to change notification settings - Fork 25
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
Comments
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. |
I have successfully run newman from the command line just passing the https
url as a parameter instead of the path to a local collection json file. So
if this is what you mean by native support, then I believe the answer is
yes.
…On Tue, Dec 4, 2018, 9:54 PM Carlo Wahlstedt ***@***.*** wrote:
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
<https://www.getpostman.com/collections/4b34e87f2bd3fbbaf1a4>.
Here is the line that gets the collection
<https://github.com/carlowahlstedt/NewmanPostman_VSTS_Task/blob/master/NewmanPostman/newmantask.ts#L101>.
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3BxP8R9k9DqqOxF-MBoNSsdDBqKULZks5u1zV2gaJpZM4ZBjMJ>
.
|
@khausam this should be released now. Please verify for us. |
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. |
@esbenbach Are there any other ways this URL can be specified? Are there non-postman urls that can be specified here? |
I would assume that any url which returns the right json format should
work. Though i have not tested it
…On Wed, 20 Feb 2019, 19:42 Carlo Wahlstedt, ***@***.***> wrote:
@esbenbach <https://github.com/esbenbach> Are there any other ways this
URL can be specified? Are there non-postman urls that can be specified here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUH_hxJ3Qba6j0jie_hs5rbxuYRXfQOks5vPZcBgaJpZM4ZBjMJ>
.
|
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?
The text was updated successfully, but these errors were encountered: