Better HN
topnewbestaskshowjobs
Log inSign up

tomakehurst

10 karma · joined Feb 24, 2015 (11y ago) · 10 submissions

Submissions

1.

MockGPT – a mock of the ChatGPT API for predictable dev and testing(mockgpt.wiremock.io ↗)

4 points · by tomakehurst · 3y ago · discuss

comment 6y ago · link · parent

MockLab [1] is a SaaS mocking tool built on top of WireMock.

Worth a look if you use Swagger/OpenAPI as it'll accept this as an import format.

[1]: http://mocklab.io

3.

Mock your OAuth2 login for easier performance and integration testing(mocklab.io ↗)

2 points · by tomakehurst · 6y ago · discuss

comment 8y ago · link · parent

Strange. I could see them OK. Thanks for vouching (assuming you can see this one)!

comment 8y ago · link · parent

WireMock was originally released in 2011

comment 8y ago · link · parent

If by async callbacks you mean something akin to webhooks, then there's an extension for that: https://github.com/wiremock/wiremock-webhooks-extension

comment 8y ago · link · parent

I can confirm it was neither intentional, nor copied!

comment 8y ago · link · parent

More generally, it's useful for mobile development in the following scenarios:

* The back-end API you depend on isn't ready yet

* The back-end test server is slow, flakey etc.

* You want to test scenarios you can't easily make happen on demand like slow responses, 503 errors, dropped connections etc.

Worth mentioning that even if you're not driving WireMock from Java (or another language binding), you can run it on your laptop or a server from a bunch of JSON files. This makes it usable with e.g. iOS apps.

Alternatively you can use https://www.mocklab.io, which is 100% compatible, but hosted, has a UI etc.

comment 8y ago · link · parent

Hi, WireMock creator here.

Lots of folks use WireMock for Android testing. Definitely worth checking out Sam Edwards' blog and conference presentations on this, e.g. https://handstandsam.com/2016/01/30/running-wiremock-on-andr...

10.

MockLab – mock the APIs you depend on for earlier, better testing(get.mocklab.io ↗)

8 points · by tomakehurst · 8y ago · discuss