MockServer v5.10.0 Release Notes

Release Date: 2020-03-24 // about 4 years ago
  • โž• Added

    • ๐ŸŒ closure / object callbacks uses local method invocation (instead of Web Socket) when both the client in same JVM (i.e. ClientAndServer, JUnit Rule, etc)
    • ๐Ÿ‘Œ support to specify a fixed TLS X509 Certificate and Private Key for inbound TLS connections (HTTPS or SOCKS)
    • ability to prioritise expectations such that the matching happens according to the specified priority (highest first) then creation order
    • โšก๏ธ ability to create or update (if id matches) expectations from the client using upsert method
    • ability to return chunked responses where each chunk is a specific size by using response connection options
    • ๐Ÿ‘Œ support for XmlUnit placeholders https://github.com/xmlunit/user-guide/wiki/Placeholders
    • โž• added ability to control (via configuration) whether matches fail fast or show all mismatching fields
    • ๐Ÿ”ง configuration to disable automatically attempted proxying of request that don't match an expectation and look like they should be proxied

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ improved X509 certificates by adding Subject Key Identifier and Authority Key Identifier
    • stopped delay being applied twice on response actions (#721)
    • ๐Ÿ‘Œ improve support for clients making initial SOCKS or HTTP CONNECT requests over TLS
    • ๐Ÿšš replaced JSONAssert with JsonUnit to improve JSON matching and remove problematic transitive dependencies
    • โž• added more detail of cause of match failure

    ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed null point for expectation initialiser with file watcher in working directory specified with relative path
    • ๐Ÿ›  fixed error resulting in enum not found exception for log events
    • ๐Ÿ›  fixed error with parsing of json arrays for expectation responses with json body as json object not escaped string
    • ๐Ÿ›  fixed meaning of disableSystemOut property so that only system out is disabled not all logging
    • ๐Ÿ›  fixed key store type in key store factory to avoid issue with the JVM changing the defaults