On 13 October 2011 16:35, Kendiol <meh.bela...@gmail.com> wrote: > But i can't control the content-length can i ? It just indicates the size of > the request's body from what i understood.
Yes, and so you need to ensure that the content bodies agree. The length mismatch is just a symptom of different body content. > I did a HTTP Sampler Request and it worked perfectly. I've attached an XML > file to it so i can't replace all my SOAP/XML-RPC Requests because i'm using > BeanShell. So how did the file content differ from the SOAP/XML-RPC content? > I would have to rewrite all the requests. > Still, i think that i managed to identify the problem , i think it's the > *Connection : close* header , it should be set to keep-alive. No, in HTTP/1.1 it should just be omitted; by default 1.1 assumes persistent connections. But it seems very unlikely that ths is the cause of the problem. > I've added a Header Manager, and this is what i get : > > POST / HTTP/1.1 > Connection: close > Content-Type: text/xml;charset=UTF-8 > Accept-Encoding: gzip,deflate > SOAPAction: "" > Authorization: Basic VDJNSjFDMTk1N0UwMFFXSDlMNEQ6UVVsLXpbN3Q= > Connection: keep-alive > User-Agent: Jakarta Commons-HttpClient/3.1 > Host: localhost:8084 > Content-Length: 733 > > Is there a way to stop JMeter from adding the Connection : close header ? Have you tried using the "Use Keep-Alive" checkbox on the SOAP/XML-RPC sampler? It's present from at least JMeter 2.4, possibly earlier. > I should add that i'm using the https protocol. > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/How-can-i-see-the-detailed-log-tp4892987p4899628.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org