Check xpath in response XML soap in gatling

Hi all,

I want to test webservice soap on gatling, and I wanted to verify the XML response but in vain

I have this response

<soap:Envelope xmlns:soap=“”>
<ns2:retrieveParamResponse xmlns:ns2=“”>

Opération réussie


I tested with the xpath method it may not work , I get an error message

List(“soap” → “”,
"ns2" → “”))

Error msg:

failed: xpath((/soap:Envelope/soap:Body/ns2:retrieveParamSseByIdResponse/return/returnCode,List((soap,, (ns2, failed, could not prepare: Could not parse response into a DOM Document: SaxonApiException: I/O error reported by XML parser processing null: Octet 2 de la séquence UTF-8 à 3 octets non valide

Can you help me pleaaaaaase ???

Cherkaoui khadija

a reply pleaaaaaaaase