Live data from Hacker News

Postman: a powerful HTTP client (for Chrome) to test web services

getpostman.com

41–50 of 145 posts

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#41

Postman works great. The only feature I would like to see added is to somehow easilu swap a base URL in requests. So I have to maintain just one collection per API and not multiple collections for multiple API deployments (production, testing, staging).

You can do that with environments: http://www.getpostman.com/docs/environments

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#42

Postman works great. The only feature I would like to see added is to somehow easilu swap a base URL in requests. So I have to maintain just one collection per API and not multiple collections for multiple API deployments (production, testing, staging).

You can do this by using the environments feature. Create an environment and add a key to that environment to represent the base URL. Then in the the URL line replace your base URL with the reference to the key. For example http://{{base-url}}/api/

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#43

I know i am missing something here....but how on earth do you launch this?

Chrome used to take you to the apps page on a new tab by default, which was really convenient. Several releases ago they replaced that default with an utterly redundant search bar on new tab pages for reasons I can't begin to understand. Anyway, you can just go to chrome://apps and bookmark that page.

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#44

Postman works great. The only feature I would like to see added is to somehow easilu swap a base URL in requests. So I have to maintain just one collection per API and not multiple collections for multiple API deployments (production, testing, staging).

You can do this by using the environments feature. Create an environment and add a key to that environment to represent the base URL. Then in the the URL line replace your base URL with the reference to the key. For example http://{{base-url}}/api/

Aha. I thought environments could only be used for setting additional HTTP headers! Thanks for this.

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#45
post #31
post #30

Earlier quoted context omitted.

Command + backtick will help in those cases. :)

Yes, but for me, most of the time it's more of a Cmd+Tab to Chrome from my iTerm or ST, and then Cmd+` several times to finally find it. And when you do it hundreds of times, it gets seriously tedious.

Yeah I know that feeling. Thankfully, virtual desktops + 3 monitors has fixed that for the most part, but that's not always usable in some circumstances. I only posted that, as I only found out about it a month ago myself

The other thing I've done (with Zed in particular) is put the icon for the packaged app into my dock, so I can get to it quickly from anywhere. Of course, this becomes unwieldy if you have a lot of them in there!

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#46
Our current testing utilities are relatively small and compile with modest amounts of RAM. Hobbit's netcat, WR Stevens' sock, etc.

We have security auditing rules that require us to compile the programs we run from source. We prefer small programs as they are easier to audit.

Does anyone know how much RAM is required to compile Chromium?

Can it be done on a laptop?

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#48

I prefer cli tools for api driving/testing, and httpie[1] works pretty well for that. [1]: https://github.com/jkbr/httpie

I like httpie but the app can do a lot more than sending requests now (which you might not be able to do in a CLI tool). You can write tests and run a bunch of requests together to simulate different scenarios: http://www.getpostman.com/docs/jetpacks_writing_tests.

Re: Postman: a powerful HTTP client (for Chrome) to test web services

#49
post #23

Would be perfect if it can stop being a chrome packaged app though. The window switching in OS X makes it really hard for me to get to it when I have a chrome window open at the same time. I wish it could be wrapped in a native app or even just let it run in a chrome tab.

Trying to improve Cmd + Tab behavior on all platforms. This is really a Chrome issue and am waiting for improvements in the platform.
Post reply on HN