👌 Support for XML scenario files
🛠 Fixed bug when computing response file extensions
👍 Allow dynamic mocks to throw exceptions.
👌 Support of exceptions instead of HTTP responses in static mocks.
📜 Correction of custom JSON parser (incorrect parsing of lists or objects due to extra whitespaces).
👌 Support exact match of requests (headers and parameters defined in the mock must match exactly, not be a subset of the request data)
👍 Allow to fail if an error occurs while recording (helps setting up the lib and detect why current configuration may fail)
👍 Allow to check absence of header or query parameter to match a request
👍 Better naming for URL that end with a /
⚡️ Updated demo app
Checks URL protocol when matching requests
Method renaming in the Mapper interface.
➕ Added support for Kotlinx serialization
➕ Added support for dynamic and static mocks simultaneously.
➕ Added support for dynamic callbacks
➕ Added logging with SLF4J
➕ Added proguard rule examples for obfuscation
🛠 Fixed bug with custom serialization of null fields
➕ Added support for several JSON parsing libraries:
- 📜 Custom parser
🚀 First release:
Implements a OkHttpInterceptor that answers http requests with predefined static scenarios stored as JSON files.