Hi, I’ve a lot of troubles to get a value that come from a SOAP service.
Reading this message: https://groups.google.com/forum/#!topic/gatling/gfAXCbXSKz0
I tried to figure my task but is not working neither.
My check:
.check(xpath("/env:Envelope/env:Body/ns1:EResponse/ns1:NumeroUnicoSiris", List(“env” → “http://www.w3.org/2003/05/soap-envelope”, “ns1” → “siris.autorizador.ws”)).saveAs(“branchID”))
The SOAP response:
HTTP response:
status=
200 OK
headers=
Server: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.5.21
X-Powered-By: PHP/5.5.21
Content-Length: 911
Set-Cookie: dtCookie=E8D0AD60AA33E1873F3F2DFAFCBD2DB6|X2RlZmF1bHR8MQ; Path=/
Content-Type: application/soap+xml; charset=utf-8
body=
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope” xmlns:ns1=“siris.autorizador.ws”>env:Bodyns1:EResponse1TER10000003115100647867668
EDEA-ENERGIA ATLANTICA (5065)142
VOLKSWAGEN PLAN DE AHORRO (0068)262
DESCARTARDESC
LISTASeleccione servicio a pagar:1
BOTON
0Ok</ns1:EResponse></env:Body></env:Envelope>