You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Serpent_Guard <bl...@gmail.com> on 2008/09/15 21:37:15 UTC

JMeter SSL help

I'm trying to record/playback a test flow where the site is using SSL/HTTPS. 
I enabled HTTPS spoofing in the proxy server, and it recorded just fine. 
Every time I play it back, however, I get the same message:

---

Response code: Non HTTP response code: javax.net.ssl.SSLException
Response message: Non HTTP response message: Unrecognized SSL message,
plaintext connection?

Response headers:

---

I went and got the three JSSE jars (jsse.jar, jnet.jar, jcert.jar) and
placed them in /lib, and I added the line 
'ssl.provider=com.sun.net.ssl.internal.ssl.Provider' to system.properties. 
It still gives me the same error message.  Help would much appreciated.
-- 
View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19499655.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter SSL help

Posted by Milamber <mi...@gmail.com>.
Hello,

You can try the new https (ssl) recording proxy in nightly build.
http://jakarta.apache.org/jmeter/nightly.html

This is a new functionality 
(https://issues.apache.org/bugzilla/show_bug.cgi?id=47622) to record 
directly https requests with JMeter HTTP Proxy Server, with same method 
that http requests. The only thing to do is accept a fake temporarily 
ssl certificate on https web site with your browser when you record your 
tests cases.

You can use the nightly build to record, and return on lastest stable 
version (2.3.4) to execute load test.

Please send feedback if you have some problem.

Milamber


Le 30/10/2009 19:52, Deepak Shetty a ecrit :
> It would help if you specified what you tried, what didnt work , what error
> you saw in the logs,what configuration/versions you are using, what did you
> see in view Results Tree etc. instead of replying to every SSL related mail
> in the archive.
>
>
> On Fri, Oct 30, 2009 at 12:24 PM, raveees<mv...@gmail.com>  wrote:
>
>    
>> Hi Sean
>>
>> I am also looking to automate https woth ssl, can you please let me know
>> how
>> you did it.
>>
>> Appreciate for the help.
>>
>> Regards
>> Ravi
>>
>>
>> Sean Tiley-2 wrote:
>>      
>>> Hello, I too had to test an SSL site but I recorded my scripts with
>>> badboy as the manual suggestes and then exported them from badboy to
>>> JMeter and they worked like a charm
>>>
>>> hth
>>> Sean
>>>
>>> On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard<bl...@gmail.com>
>>> wrote:
>>>        
>>>> *Help would _be_ much appreciated.
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
>>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>>
>>>>
>>>>          
>>>
>>>
>>> --
>>> Sean Tiley
>>> sean.tiley@gmail.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>        
>> --
>> View this message in context:
>> http://old.nabble.com/JMeter-SSL-help-tp19499655p26135670.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>      
>    


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


Re: JMeter SSL help

Posted by Deepak Shetty <sh...@gmail.com>.
It would help if you specified what you tried, what didnt work , what error
you saw in the logs,what configuration/versions you are using, what did you
see in view Results Tree etc. instead of replying to every SSL related mail
in the archive.


On Fri, Oct 30, 2009 at 12:24 PM, raveees <mv...@gmail.com> wrote:

>
> Hi Sean
>
> I am also looking to automate https woth ssl, can you please let me know
> how
> you did it.
>
> Appreciate for the help.
>
> Regards
> Ravi
>
>
> Sean Tiley-2 wrote:
> >
> > Hello, I too had to test an SSL site but I recorded my scripts with
> > badboy as the manual suggestes and then exported them from badboy to
> > JMeter and they worked like a charm
> >
> > hth
> > Sean
> >
> > On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard <bl...@gmail.com>
> > wrote:
> >>
> >> *Help would _be_ much appreciated.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> >
> > --
> > Sean Tiley
> > sean.tiley@gmail.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/JMeter-SSL-help-tp19499655p26135670.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: JMeter SSL help

Posted by raveees <mv...@gmail.com>.
Hi Sean

I am also looking to automate https woth ssl, can you please let me know how
you did it.

Appreciate for the help.

Regards
Ravi


Sean Tiley-2 wrote:
> 
> Hello, I too had to test an SSL site but I recorded my scripts with
> badboy as the manual suggestes and then exported them from badboy to
> JMeter and they worked like a charm
> 
> hth
> Sean
> 
> On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard <bl...@gmail.com>
> wrote:
>>
>> *Help would _be_ much appreciated.
>> --
>> View this message in context:
>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 
> 
> -- 
> Sean Tiley
> sean.tiley@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/JMeter-SSL-help-tp19499655p26135670.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter SSL help

Posted by Sean Tiley <se...@gmail.com>.
Glad to help

Sean

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


Re: JMeter SSL help

Posted by Serpent_Guard <bl...@gmail.com>.
Thanks a ton, works awesome now.


Sean Tiley-2 wrote:
> 
> Here you go
> 
> http://www.badboy.com.au/
> (Do the tutorial Help | Tutorial) it takes 2 minutes and then that is
> all you need.
> 
> One thing I did, not sure if required but I cleared the responses from
> my recorded script before I exported from BadBoy.
> 
> Sean
> 
> On Tue, Sep 16, 2008 at 12:09 PM, Serpent_Guard <bl...@gmail.com>
> wrote:
>>
>> Could someone supply me with a download link?  For some reason, I can't
>> find
>> a link anywhere.
>>
>>
>>
>> Sean Tiley-2 wrote:
>>>
>>> Hello, I too had to test an SSL site but I recorded my scripts with
>>> badboy as the manual suggestes and then exported them from badboy to
>>> JMeter and they worked like a charm
>>>
>>> hth
>>> Sean
>>>
>>> On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard <bl...@gmail.com>
>>> wrote:
>>>>
>>>> *Help would _be_ much appreciated.
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
>>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Sean Tiley
>>> sean.tiley@gmail.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19515021.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 
> 
> -- 
> Sean Tiley
> sean.tiley@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19515729.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter SSL help

Posted by Sean Tiley <se...@gmail.com>.
Here you go

http://www.badboy.com.au/
(Do the tutorial Help | Tutorial) it takes 2 minutes and then that is
all you need.

One thing I did, not sure if required but I cleared the responses from
my recorded script before I exported from BadBoy.

Sean

On Tue, Sep 16, 2008 at 12:09 PM, Serpent_Guard <bl...@gmail.com> wrote:
>
> Could someone supply me with a download link?  For some reason, I can't find
> a link anywhere.
>
>
>
> Sean Tiley-2 wrote:
>>
>> Hello, I too had to test an SSL site but I recorded my scripts with
>> badboy as the manual suggestes and then exported them from badboy to
>> JMeter and they worked like a charm
>>
>> hth
>> Sean
>>
>> On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard <bl...@gmail.com>
>> wrote:
>>>
>>> *Help would _be_ much appreciated.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Sean Tiley
>> sean.tiley@gmail.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19515021.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>



-- 
Sean Tiley
sean.tiley@gmail.com

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


Re: JMeter SSL help

Posted by Serpent_Guard <bl...@gmail.com>.
Could someone supply me with a download link?  For some reason, I can't find
a link anywhere.



Sean Tiley-2 wrote:
> 
> Hello, I too had to test an SSL site but I recorded my scripts with
> badboy as the manual suggestes and then exported them from badboy to
> JMeter and they worked like a charm
> 
> hth
> Sean
> 
> On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard <bl...@gmail.com>
> wrote:
>>
>> *Help would _be_ much appreciated.
>> --
>> View this message in context:
>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 
> 
> -- 
> Sean Tiley
> sean.tiley@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19515021.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter SSL help

Posted by Sean Tiley <se...@gmail.com>.
Hello, I too had to test an SSL site but I recorded my scripts with
badboy as the manual suggestes and then exported them from badboy to
JMeter and they worked like a charm

hth
Sean

On Tue, Sep 16, 2008 at 11:51 AM, Serpent_Guard <bl...@gmail.com> wrote:
>
> *Help would _be_ much appreciated.
> --
> View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>



-- 
Sean Tiley
sean.tiley@gmail.com

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


Re: JMeter SSL help

Posted by Serpent_Guard <bl...@gmail.com>.
*Help would _be_ much appreciated.
-- 
View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19514689.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter SSL help

Posted by sebb <se...@gmail.com>.
On 16/09/2008, Serpent_Guard <bl...@gmail.com> wrote:
>
>  Yes, it's valid.  In a browser, it shows up just fine.  The site is privately
>  hosted on our internal network, however, so I can't give you a URL, but
>  other public HTTPS sites I've tried exhibit the same behavior.

I just tried with GMail and that worked fine for me.

It could be that you are missing a Cookie Manager or Header Manager
entry which causes an unexpected redirect.

This should be obvious if you compare the failing test plan with the Badboy one.

>
>
>
>  sebb-2-2 wrote:
>  >
>  > On 15/09/2008, Serpent_Guard <bl...@gmail.com> wrote:
>  >>
>  >>  I'm trying to record/playback a test flow where the site is using
>  >> SSL/HTTPS.
>  >>  I enabled HTTPS spoofing in the proxy server, and it recorded just fine.
>  >>  Every time I play it back, however, I get the same message:
>  >>
>  >>  ---
>  >>
>  >>  Response code: Non HTTP response code: javax.net.ssl.SSLException
>  >>  Response message: Non HTTP response message: Unrecognized SSL message,
>  >>  plaintext connection?
>  >>
>  >
>  > Is the sample URL a valid https:// URL?
>  >
>  > What happens if you paste the sample URL into a browser?
>  >
>  >>  Response headers:
>  >>
>  >>  ---
>  >>
>  >>  I went and got the three JSSE jars (jsse.jar, jnet.jar, jcert.jar) and
>  >>  placed them in /lib, and I added the line
>  >>  'ssl.provider=com.sun.net.ssl.internal.ssl.Provider' to
>  >> system.properties.
>  >>  It still gives me the same error message.  Help would much appreciated.
>  >>
>  >
>  > These changes are not needed if you are using Java 1.4 or later -
>  > which JMeter 2.3.2 requires anyway.
>  >
>  >
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/JMeter-SSL-help-tp19499655p19499655.html
>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19515814.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Re: JMeter SSL help

Posted by Serpent_Guard <bl...@gmail.com>.
Yes, it's valid.  In a browser, it shows up just fine.  The site is privately
hosted on our internal network, however, so I can't give you a URL, but
other public HTTPS sites I've tried exhibit the same behavior.



sebb-2-2 wrote:
> 
> On 15/09/2008, Serpent_Guard <bl...@gmail.com> wrote:
>>
>>  I'm trying to record/playback a test flow where the site is using
>> SSL/HTTPS.
>>  I enabled HTTPS spoofing in the proxy server, and it recorded just fine.
>>  Every time I play it back, however, I get the same message:
>>
>>  ---
>>
>>  Response code: Non HTTP response code: javax.net.ssl.SSLException
>>  Response message: Non HTTP response message: Unrecognized SSL message,
>>  plaintext connection?
>>
> 
> Is the sample URL a valid https:// URL?
> 
> What happens if you paste the sample URL into a browser?
> 
>>  Response headers:
>>
>>  ---
>>
>>  I went and got the three JSSE jars (jsse.jar, jnet.jar, jcert.jar) and
>>  placed them in /lib, and I added the line
>>  'ssl.provider=com.sun.net.ssl.internal.ssl.Provider' to
>> system.properties.
>>  It still gives me the same error message.  Help would much appreciated.
>>
> 
> These changes are not needed if you are using Java 1.4 or later -
> which JMeter 2.3.2 requires anyway.
> 
> 
>> --
>>  View this message in context:
>> http://www.nabble.com/JMeter-SSL-help-tp19499655p19499655.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19515814.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter SSL help

Posted by sebb <se...@gmail.com>.
On 15/09/2008, Serpent_Guard <bl...@gmail.com> wrote:
>
>  I'm trying to record/playback a test flow where the site is using SSL/HTTPS.
>  I enabled HTTPS spoofing in the proxy server, and it recorded just fine.
>  Every time I play it back, however, I get the same message:
>
>  ---
>
>  Response code: Non HTTP response code: javax.net.ssl.SSLException
>  Response message: Non HTTP response message: Unrecognized SSL message,
>  plaintext connection?
>

Is the sample URL a valid https:// URL?

What happens if you paste the sample URL into a browser?

>  Response headers:
>
>  ---
>
>  I went and got the three JSSE jars (jsse.jar, jnet.jar, jcert.jar) and
>  placed them in /lib, and I added the line
>  'ssl.provider=com.sun.net.ssl.internal.ssl.Provider' to system.properties.
>  It still gives me the same error message.  Help would much appreciated.
>

These changes are not needed if you are using Java 1.4 or later -
which JMeter 2.3.2 requires anyway.


> --
>  View this message in context: http://www.nabble.com/JMeter-SSL-help-tp19499655p19499655.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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