As far as I know, this is not specific to 2.1.1 - it applies to all versions.

The ordinary HTTP Sampler provides no control over socket re-use.

HTTP Sampler 2 (using Apache HTTPClient) does provide control, and
does work for HTTPS applications that do not require a certificate.

There is currently no code in the JMeter implementation of
HTTPSampler2 to use the Security Manager; I guess something similar
will need to be added to make this work.

I'll try to have a look at this later, but I don't currently have any
means of testing it, unless someone can provide a public URL that
needs a certificate - or indeed if anyone can explain how to set up
Apache or Tomcat to require the certificate.

S.
On 20/10/05, Nop Lists <[EMAIL PROTECTED]> wrote:
> Yes, this problem does not apply to HTTPSampler in 2.1.1.
> However HTTPSampler in 2.1.1 opens a new socket for each HTTPS request so I
> can't use it either...
> Any idea how can I test HTTPS under 2.1.1?
> Thanks
> Nop
>
> On 10/19/05, sebb <[EMAIL PROTECTED]> wrote:
> >
> > Can you confirm if this is only a problem with HTTPSampler2 or does it
> > also apply to HTTPSampler in 2.1.1?
> >
> > S.
> > On 19/10/05, Nop Lists <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > > after migrating to 2.1.1 (and replacing all HTTPSampler by HTTPSampler2)
> > I
> > > have encountered a problem with the certificates.
> > > In 2.0.2 I was asked at the beginning of the test for the keystore
> > password,
> > > then the test ran OK (first thread was always failing but this is not
> > the
> > > issue).
> > > In 2.1.1 I am not asked for any password. JMeter runs the testcase and
> > all
> > > requests produce the error message.
> > >
> > > javax.net.ssl.SSLHandshakeException:
> > > sun.security.validator.ValidatorException: No trusted certificate found
> > > at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275)
> > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
> > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
> > > ....
> > >
> > > I'm running in GUI, not remote.
> > > In August 2005 Jon Andersen posted the same problem to jmeter-user, but
> > I
> > > was unable to find an answer.
> > > Can Anybody help?
> > > Thanks
> > > Nop
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

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

Reply via email to