Hello,
First of all, great work with Gatling, I’m really loving it !
I’ve got some trouble consuming a SOAP WebService.
The request is fine, but the response looks like that :
HTTP response:
status=
200 OK
headers=
Server: [Apache-Coyote/1.1]
Content-Type: [multipart/related; type=“application/xop+xml”; boundary=“uuid:102b75da-ad3f-4b96-938a-d13a2f4feeda”; start=“root.message@cxf.apache.org”; start-info=“text/xml”]
Transfer-Encoding: [chunked]
body=
–uuid:102b75da-ad3f-4b96-938a-d13a2f4feeda
Content-Type: application/xop+xml; charset=UTF-8; type=“text/xml”
Content-Transfer-Encoding: binary
Content-ID: root.message@cxf.apache.org
–uuid:102b75da-ad3f-4b96-938a-d13a2f4feeda–
The gatling error is Could not parse response into a DOM Document: org.xml.sax.SA…
I assume it’s the first part (uuid, Content-Type…) which prevents the parser to do its job, but I can’t get how to just extract the SOAP xml part so I can use my XPath expression. I found some information with SOAP/MTOM requests, but I didn’t find anything on parsing the response.
Could you provide some help please ?
Simon