Pedro executes a VALIDATE RESPONSE on the resource query getDocument
ERROR
0.01s
 
com.intuit.karate.exception.KarateException: validate_response.feature:16 - path: $.errors, actual: [{"path":["getDocument"],"data":null,"errorType":"401","errorInfo":null,"locations":[{"line":2,"column":4,"sourceName":null}],"message":"The incoming token has expired"}], expected: [{"path":["getDocument","name"],"locations":null,"message":"Cannot return null for non-nullable type: 'String' within parent 'Document' (\/getDocument\/name)"},{"path":["getDocument","URL"],"locations":null,"message":"Cannot return null for non-nullable type: 'String' within parent 'Document' (\/getDocument\/URL)"}], reason: actual and expected arrays are not the same size - 1:2
✽.And match response == structure (validate_response.feature:16)
Entonces la solicitud NO retorna ninguna acta
FAILURE
0s
 
java.lang.AssertionError: validate_response.feature:16 - path: $.errors, actual: [{"path":["getDocument"],"data":null,"errorType":"401","errorInfo":null,"locations":[{"line":2,"column":4,"sourceName":null}],"message":"The incoming token has expired"}], expected: [{"path":["getDocument","name"],"locations":null,"message":"Cannot return null for non-nullable type: 'String' within parent 'Document' (\/getDocument\/name)"},{"path":["getDocument","URL"],"locations":null,"message":"Cannot return null for non-nullable type: 'String' within parent 'Document' (\/getDocument\/URL)"}], reason: actual and expected arrays are not the same size - 1:2