You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hydrate the mountebank imposters data stored externally
start an ephemeral mountebank server (i.e. one that exists for the duration of a CI build)
guarantee that proxies don't hit the network
The broader context here is that I would like to have separate jobs for generating mocks and consuming them. The mock generation will use proxyOnce and persist the mocks somewhere. Then, test runs will download and hydrate these mocks. I would like to have confidence that the test runs are in fact using the mocks. To accomplish this, I want the mock server to only return persisted mocks, and not pass any requests through to the proxied server in this mode.
Actual behaviour
Using --datadir results in a PUT when the server is turned on, which erases all the old values.
There is no easy way to guarantee that proxies aren't being used.
Steps to reproduce
Start a new server that proxies requests and uses a datadir
Expected behaviour
I would like a way to:
The broader context here is that I would like to have separate jobs for generating mocks and consuming them. The mock generation will use proxyOnce and persist the mocks somewhere. Then, test runs will download and hydrate these mocks. I would like to have confidence that the test runs are in fact using the mocks. To accomplish this, I want the mock server to only return persisted mocks, and not pass any requests through to the proxied server in this mode.
Actual behaviour
--datadir
results in a PUT when the server is turned on, which erases all the old values.Steps to reproduce
Software versions used
The text was updated successfully, but these errors were encountered: