How to log response in case of errors in Citrus Framework?

26 Views Asked by At

Let's have the following test code

receive(someEndpoint)
    .messageType(MessageType.JSON)
    .validate("$.user.name", "Penny")
    .validate("$['user']['name']", "${userName}"));

If one of the validations are failing I see the first validation error.

What I want to see: All validation errors and the response in case of errors.

Any idea?

0

There are 0 best solutions below