record()
mockyeah.record([suite name])
suite name (String; required) Directory name to save service suites
(i.e. ./mockyeah/[suite name]).
Configures mockyeah to proxy and suite service requests. Recorded responses
will be written when you call recordStop.
To use this feature, you can update the service addresses in your application
to proxy through mockyeah. Here is an example of an address configured for recording:
http://localhost:[mockyeah port]/http://example.com/your/service/url
The above URL looks pretty crazy, but rest assured it works and eliminates the need for a system level proxy.