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

No result when i try to use it #79

Closed
zjhiphop opened this issue May 14, 2014 · 6 comments
Closed

No result when i try to use it #79

zjhiphop opened this issue May 14, 2014 · 6 comments
Labels

Comments

@zjhiphop
Copy link

Hi, Newman

I just tried to use this tool in command, it always no infromation, i don't know what happened. 

The steps i used to do test:

{"id":"f5732ad5-9225-aef6-adf5-0d9de3fed909","name":"Role-owner","values":[{"key":"role","value":"owner","type":"text"}],"timestamp":1399973640780}
  • Use new man to test result newman -u https://www.getpostman.com/collections/910fd2e72c4ac2f3add9 -e role.json -s

And i got nothing output except Iteration 1 of 1. So i was confused on how to use this tool.
So if i want to run only one specific request, is it possible?

Thanks!

@prakhar1989
Copy link
Contributor

Hi @zjhiphop, thanks for posting the issue. You usage of Newman is perfectly correct, its unfortunate that its not working for you. One quick question - can you tell us which version of postman you are using to generate (or export) this collection?

@prakhar1989 prakhar1989 self-assigned this May 14, 2014
@zjhiphop
Copy link
Author

I use version 0.8.3.5

@prakhar1989
Copy link
Contributor

Ah! The issue due to the old version of collection format. We will push a fix and improve the backward compatibility of Newman but I strongly urge you to upgrade your version of Postman (current: 0.9.9.2) which has a lot of new features and bug fixes.

@zjhiphop
Copy link
Author

And i updated to 0.9.9.2, and exported the collection and environment. Then i run newman -c collection.postman_collection -e environment.postman_environment -s, nothing outputs.

So is there anything i missed?

Thanks!

@prakhar1989
Copy link
Contributor

Hi! I tried the same - imported the old collection in postman and exported it. You can see it here. I ran the following command and it worked
newman -u https://www.getpostman.com/collections/2c8e525784ca325fe83d -e data.json

newman1

@zjhiphop
Copy link
Author

Thanks, it works now. Cool!!

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

No branches or pull requests

3 participants