Hi,
  I had to make another change to get my tests to work.
The testing requirement is soap over https via a proxy
with a server supplied cert.

  It seems that with https you cant set the content-length
on the connection object.  I used a sniffer and found that the
https request results in an exchange of messages, and the first exchange
had the content-length set to the size of my SOAP envelope but
the message body was empty.  The soap sampler  attempted to get the socket
then it hangs for about ten mins followed by an exception -
"cant tunnel through proxy".

  I removed the content-length setting in the SOAP/XML sampler.  Then it
worked.

  In summary; it seems you cant set the content-length on an https
connection.

In addition, I set up an http default element with the https port number. I
then
included the url in each soap/xml sampler excluding the port number from the
string
but with https:// etc on the front.


My startup command for debug is :

java  -Djavax.net.ssl.trustStore=<key-store-name> -Djavax.net.debug=all -Dht
tp.proxyHost=<proxy-name> -Dhttps.proxyHost=<proxy-name> -Dhttp.proxyPort=80
 -Dhttps.proxyPort=80 -Xincgc  -Xdebug -Xrunjdwp:transport=dt_socket,server=
y,suspend=n -jar ApacheJMeter.jar


I hope this helps.  Thanks for a great tool.

Tools :
JMeter nightly 5/Sept/2002
JDK1.4.1
Win XP
JSwat
Vi
Ant
----- Original Message -----
From: "Peter, Reto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 4:11 PM
Subject: Using SOAP in JMeter 1.7.3


> Hi
>
> I want to use the SOAP/XML-RPC Sampler of JMeter.
> I tried it with JMeter 1.7.3 and JMeter nightly build from 30.September
> 2002.
>
> I have the following problem:
>
> - When executing any SOAP message, the return is: Can't reset method:
> already connected
> --> this is maybe a bug documented by Peter Marshall in his message from
> 09.09.2002
> --> I added his code to the HTTPSampler.sample code and tried again
> --> now the return message is: java.io.IOException: Stream closed
>
> So, I'm not able to make a request (RPC) over SOAP with JMeter.
>
> I tried also the HTTP Autorization in combination with SOAP/XML-RPC. It
> doesn't work. It seems, that this is not possible in JMeter (combination
of
> SOAP and HTTP Authorization.
>
> Is anyone working with JMeter and SOAP-Request and how are your
experiences?
>
> Thanksin advance, Reto Peter
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to