4 ms·
Show HN: StubOnWeb – Stub HTTP server to test API integrations
- rdegges 11y agoThis 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
- endeepak 11y agoThanks for your feedback. You can access it via SSL as well https://stubonweb.herokuapp.com/ https://stubonweb.herokuapp.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
- rdegges 11y agoI'm pretty sure my company would be happy to cover your hosting costs / etc. Hit me up if you're interested! <33
- ntrepid8 11y agoIs 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?
- warmwaffles 11y agoI assume it's meant to be there for those who don't have a nifty http mocking library.
- endeepak 11y agoYup. Specially for people who can't or don't want to run their own stub servers
- brad0 11y agoI 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 file to a usb drive and carry it around everywhere?
- endeepak 11y agoYup. We are building a product with micro services architecture, more often we finalise the API contract with other service teams and develop our service against stubbed response till the other teams complete their development
- endeepak 11y agoThis was created for manual testing of multiple scenarios while integrating with external APIs. We wanted something simple hosted, we didn't want this to be deployed multiple environments with config files or one environment where people might unintentionally overwrite or conflict with other's files. Creating stubs via web was easier was developers, QA's and SMEs testing the product. 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.
- rubyfan 11y agoThis looks like a cool easy to use tool, nice work.
- endeepak 11y agoThanks for your feedback. Glad it is useful for more people.
- purans 11y agoGood one!
- endeepak 11y agoThanks