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