in the View Result Tree i receive error:

javax.net.ssl.SSLException: Received fatal alert: unexpected_message
 at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown 
Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 at java.net.HttpURLConnection.getResponseCode(Unknown Source)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown 
Source)
 at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:251)
 at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:485)
 at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:889)
 at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:875)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
 at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: Received fatal alert: unexpected_message
 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
 at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
 at java.io.BufferedInputStream.fill(Unknown Source)
 at java.io.BufferedInputStream.read1(Unknown Source)
 at java.io.BufferedInputStream.read(Unknown Source)
 at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
 at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
 at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
 at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
 at java.net.URLConnection.getContentLength(Unknown Source)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown 
Source)
 at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:224)
 ... 5 more



----- Messaggio originale -----
Da: sebb <[EMAIL PROTECTED]>
A: JMeter Users List <[email protected]>
Inviato: Martedì 6 novembre 2007, 14:31:28
Oggetto: Re: https, keystore and badboy

On 06/11/2007, Fulvio Guglielmelli <[EMAIL PROTECTED]> wrote:
> ciao
>  i have a web application that switch from http to  https.
>  I used badboy to create the scenario
>  I imported in jmeter (2.3 jkd 1.5_06) without any problem.
>
>  When i run it, at tehe step when there is the switch,
>    i received an SSLException

What is the full text of the exception?

>  The certified is on the server but i olse saved on my local machine.

That is not necessary, JMeter trusts all certificates.

>  I searched on the forum but i have not understand what i have to do.
>  - use the SSL MANAGER?
>  - set the KEY STORE ( in jdk 1.5 there isn't lib/security folder!!!!!) ?
>  - change the .propertiies file?
>
>  Is possible know the steps must be done.

There should be no need to do anything else.

The keystore is only needed for client certificates, i.e. where the
browser has to provide a certificate to the server.

>  thanks
>  FULVIO
>
>
> ---------------------------------
>
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

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


      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

Reply via email to