Slackbot
12/13/2023, 8:31 AMMarcin Z.
12/14/2023, 11:52 AM"tracking": "{{{array 123 456}}}",
which generates "tracking":"[123, 456]"
which is not illegal, but incorrect. Just "tracking":[123, 456]
is expected.Gunjan Basak
12/19/2023, 8:40 PM{
"id": "{{request.pathSegments.[4]}}",
"type": "external",
"tracking": {{jsonPath request.body '$.tracking'}}
}
Marcin Z.
12/21/2023, 10:54 AMCaused by: java.lang.ExceptionInInitializerError: Exception com.github.tomakehurst.wiremock.standalone.MappingFileException: Error loading file /.../src/test/resources/mappings/updateOrderTracking.json:
Unexpected character ('{' (code 123)): was expecting double-quote to start field name
Marcin Z.
12/21/2023, 10:55 AMMarcin Z.
12/21/2023, 11:01 AM"tracking":"[123, 456]"
is also generated. However, the error is not generated, maybe parsing with the JSON decoder was added after that (and we were asserting that particular in our tests).Marcin Z.
12/21/2023, 11:02 AMjsonBody
?