jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Cederberg" <ceder...@gmail.com>
Subject Re: spurious content from SOAP/XML-RPC Request
Date Sat, 03 Feb 2007 05:58:21 GMT
P.S. I've just figured out that the "36a" appearing before the body of
the request is the length of the request body in bytes.

On 2/2/07, Scott Cederberg <cederber@gmail.com> wrote:
> Hello,
>
>     I am trying to use JMeter's SOAP/XML-RPC Request sampler to send
> SOAP requests.  I'm having trouble, and one problem appears to be that
> the request contains things it shouldn't.  A sample request captured
> by netcat appears below.  It seems to me that the line saying "36a"
> that comes between the HTTP headers and the XML body of the request
> shouldn't be there; nor should the blank line and the line saying "0"
> that follow the XML.
>
>     Does anyone know why these are being sent in the request and how I
> might stop them?
>
>     Thanks.
>
>
>                           Scott
>
> POST /soap-path/ HTTP/1.1
> Connection: close
> Accept: text/xml
> Accept: multipart/*
> Content-Length: 873
> Content-Type: text/xml; charset=utf-8
> SOAPAction: "urn:Path/To/Soap#mySoapAction"
> User-Agent: Jakarta Commons-HttpClient/3.0.1
> Host: localhost:8181
>
> 36a
> <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:mySoapAction
> xmlns:namesp1="urn:Snip/Snip/Snip"><c-gensym3><ignorestates
> xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:int[2]"><item
> xsi:type="xsd:int">-1001</item><item
> xsi:type="xsd:int">1110</item></ignorestates><mytagone
> xsi:type="xsd:string">QP21533260</mytagone><mytagtwo
> xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:int[1]"><item
> xsi:type="xsd:int">76604</item></mytagtwo></c-gensym3></namesp1:mySoapAction></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> 0
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message