hoverfly v1.0.0-rc.1 Release Notes

Release Date: 2019-01-18 // over 5 years ago
  • ๐Ÿš€ Happy Friday! We are thrilled to announce an RC release of v1.0.0!

    ๐Ÿš€ The v5 simulation schema introduced since v0.17.0 is stable and easy to extend for more powerful request matchers. It lays a good foundation for us to implement matcher chaining to solve XML/JSON matching issues without introducing breaking changes. That's when we start considering a Hoverfly v1 release.

    Thank you for all your contributions, we are hoping to work with you again on more exciting features in the coming months, and make Hoverfly shines!

    โž• Adding delay based on Log-normal Distribution

    ๐ŸŒฒ Thanks to @podtserkovskiy's contribution, you can now enable random delay in a simulation based on log-normal distribution. Here is an example:

    "globalActions": {
             "delaysLogNormal": [
                {
                   "urlPattern": ".",
                   "httpMethod": "",
                   "min": 100,
                   "max": 10000,
                   "mean": 5000,
                   "median": 500
                }
             ]
          }
    

    where mean and median values could be calculated from your actual server response times, and Hoverfly generate random latencies that are lognormally distributed based on these parameters.

    ๐ŸŒฒ Controlling log level

    ๐Ÿš€ Default log level of Hoverfly is info, but if you prefer less noise or a bit concern about the performance overheads of info logging, you can control the log level with this release:

    $ hoverfly -log-level warn 
    

    ๐Ÿ”Š Which logs warning level or above (error, fatal and panic)

    ๐Ÿ› Bug fixes

    ๐Ÿš€ Some long-standing bugs have been addressed in this release, such as bugs that affect multi-value query capture, config.yaml loading and plain HTTP tunnelling.

    #704
    #752
    #786
    #792