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
If an application need to mock different hostname, it would be impossible currently.
Solutions :
Move out hostname from behat config and let people configure it at runtime when using MocoWriter
Configure multiple hostname in behat config, create as many MocoWriter as hostnames, and find a way to allow people injecting the good one in their context
The text was updated successfully, but these errors were encountered:
In fact I was totally wrong. hostname is just used for heath check purpose. So we should consider to refactore that part to allow multiple health_check
Then the MocoWriter::mockHttpCall should be changed to receive the name of the hosts targeted by this call. We should continue to enqueue the httpCall but also the hosts.
And add a BeforeStep hook, that will watch for the first When step and automatically call writeForMoco and wait for all mocos we queued
If an application need to mock different hostname, it would be impossible currently.
Solutions :
MocoWriter
The text was updated successfully, but these errors were encountered: