Show HN: StubOnWeb – Stub HTTP server to test API integrations
stubonweb.herokuapp.com
Show HN: StubOnWeb – Stub HTTP server to test API integrations
1–10 of 14 posts
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#2You should totally get a real domain for this, as well as some SSL certs to protect info flying over the wire.
If you want some sponsorship, hit me up, we might be able to work something out! randall@stormpath.com
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#3Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#4Is this for writing tests against? Won't the tests fail if this service is not available? If you need a static response why not save it as a file and have a local temp server respond?
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#5Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#6Is this for writing tests against? Won't the tests fail if this service is not available? If you need a static response why not save it as a file and have a local temp server respond?
Sometimes (almost always) an app feature is developed parallel to the API service.
It's useful to return a mock response so you can build the entire feature including networking. This way you don't need to wait for the server side component to finish.
A temp server takes time to set up and maintain. It's like any tool. Why use Dropbox if you can just save your file to a usb drive and carry it around everywhere?
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#7This is super cool! I'm going to start using this -- your project looks great too (thanks for making it open source!). You should totally get a real domain for this, as well as some SSL certs to protect info flying over the wire. If you want some sponsorship, hit me up, we might be able to work something out! randall@stormpath.com
It is currently running on heroku and mongolabs free tier. I'm glad to see more people find it usefull. I'll work on getting a domain and better server. I'll get in touch with you in case I need help. Thanks
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#8Is this for writing tests against? Won't the tests fail if this service is not available? If you need a static response why not save it as a file and have a local temp server respond?
Though you could use this for automated tests, I request you to wait till I get a better server with higher availability. For automated integration tests there other great stub servers in different languages.
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#9Is this for writing tests against? Won't the tests fail if this service is not available? If you need a static response why not save it as a file and have a local temp server respond?
I use a similar system when building mobile app features. Sometimes (almost always) an app feature is developed parallel to the API service. It's useful to return a mock response so you can build the entire feature including networking. This way you don't need to wait for the server side component to finish. A temp server takes time to set up and maintain. It's like any tool. Why use Dropbox if you can just save your…
Re: Show HN: StubOnWeb – Stub HTTP server to test API integrations
#10Is this for writing tests against? Won't the tests fail if this service is not available? If you need a static response why not save it as a file and have a local temp server respond?
I assume it's meant to be there for those who don't have a nifty http mocking library.