Endpoint Imposter

Advanced enough to mock a ToDo app. Simpler than a ToDo app.

declarative mocks
declarative mocks
declarative mocks
declarative mocks
declarative mocks
declarative mocks
declarative mocks
declarative mocks
declarative mocks
Test a POST request. And test it well.

Real endpoints don't always return the same result for the same request. With declarative scenarios you can replicate stateful behavior in a way that's simpler than implementing the actual service.

No more "delay 500ms"!

Are your tests randomly failing or taking ages to finish? Chances are it's due to a race condition or pointless waiting. Use release keys to precisely control when a response is sent to the application under test!

Don't repeat yourself.

Test doubles are data that lives in JavaScript modules. You can reuse them like any other JavaScript module. You can transform them like any other data.

The way to mock. Regardless what.

The way you build mocks is the same regardless if you're testing just a small function or the whole application.

Run in parallel.

Thanks to sessions you don't need to worry about the state leaking between tests. Simply add a suffix to the URL and get instantaneous, isolated state.

Test any app you want.

The mocks run as an independent HTTP server. Anything that works with HTTP will work with these mocks.