Krishna Prasad
07/22/2025, 5:27 PMrequest:
method: GET
urlPath: <masked>
headers:
Authorization: Bearer authorization
nep-correlation-id: <masked>
channel: ESS
matchers:
headers:
- key: Authorization
regex: Bearer \S+
response:
status: 200
headers:
Content-Type: application/json
body:
accounts:
- accountNumber: <masked>
additionalInfo:
encId: <masked>
productDescription: <masked>
relationshipTypeToAccount: <masked>
standardProduct: <masked>
subproduct: <masked>
availableBalance: 1500000
product: <masked>
availableCredit: 1500000
category: <masked>
checksReceivedInfo:
availableCheckAmountDate: '2025-07-07'
availableCheckAmountThreshold: 4000
availableCheckAmountTotal: 2000
mappingId: <masked>
Lee Turner
07/22/2025, 5:41 PMavailableCheckAmountDate
field in the response?
Also, just out of interest, where does this yaml come from? Are you using a specific wiremock implementation ?Krishna Prasad
07/22/2025, 5:51 PMavailableCheckAmountDate
. Regarding the yaml, the contracts for the test are defined in yaml. I am using the wiremock-standalone 3.6.0 versionLee Turner
07/22/2025, 5:53 PM{{now}}
template helper - https://wiremock.org/docs/response-templating/#date-and-time-helpersLee Turner
07/22/2025, 5:56 PM3.6.0
is also quite old. 3.13.1
in the latest non beta version - https://wiremock.org/docs/standalone/java-jar/Krishna Prasad
07/22/2025, 6:02 PMavailableCheckAmountDate: {{now}}
does not work as I am getting an illegal start of expression error while generating the classes for the contractLee Turner
07/22/2025, 6:05 PMKrishna Prasad
07/22/2025, 6:18 PM