You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wiremock-user
Lots of new and improved template helpers in this release, logical AND and OR matching and date/time matching (which took bloody ages to get right, so I hope you all like it!).
Changes:
Added random int and decimal helpers
Added a range helper to generate an array of numbers between bounds
Added an array literal helper
Added a JSON parsing helper
Added support for specifying a default value when the jsonPath helper doesn't return anything - thanks Nathan Jones
Added support for specifying a default value when regexExtract doesn't return anything
Added a contains helper, returning true/false depending on whether a string or array contains a string.
Added a matches helper, returning true/false depending on whether a string matches a regex.
Added a math helper for basic arithmetic operations.
Added support for hexadecimal strings in the randomValue helper - thanks Fabian Muscariello.
Added matchers for date/times - before, after and equalToDateTime.
Added logical AND and OR matchers.
Added a helper for truncating date/times.
Added unix and epoch formatted timestamps to the parseDateHelper.