You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Steve Luong <lu...@hotmail.com> on 2004/05/12 01:32:02 UTC

Link parser with SSL?

Hey guys,

I'm stuck with the link parser trying to hit a random link on a page that is
generated after a user has logged in.

Does the link parser have a problem with running over an ssl?

 

I can set up a simple test and it works fine not going over SSL but when I
try it over ssl I have a problem getting it to return a random link.


RE: Link parser with SSL?

Posted by Steve Luong <lu...@hotmail.com>.
This is a work around that I ended up having to do:

Make sure on your HTTP Request (parsing) that you set path, server to '.*'
and protocol to https, this will allow the Defaults to fill in the requests
and still look for links through HTTPS.  Add the parameters that you want it
to look for and set the value also to '.*' (remember without quotes).  Also
you will need to set the parser before this request and after the first
request that loads the page with the links.  Hope this helps anyone with
HTTPS and link parsing problems. 



-----Original Message-----
From: Craig Palmer [mailto:craigp@peace.com] 
Sent: Tuesday, May 11, 2004 5:04 PM
To: JMeter Users List
Subject: Re: Link parser with SSL?

I have logged a bug for this (28677) so I can confirm it is a problem (I 
using 2.0.0). I did some analysis and found that it fails to find the 
links because it looses protocol information and ends up only looking 
for http links. I havent yet had time to figure out exactly why it 
looses the protocol information. I cant think of a suitable work around 
in the mean time except to disable the protocol matching test which 
would required you to recompile some of the source code.

Oh yeah, there was a suggestion to try a different HTTP Sampler which I 
did put much effort into so maybe you should try this (refer 
jmeter.properties file). Try this and let us know what happens.

Craig.

Steve Luong wrote:

>Hey guys,
>
>I'm stuck with the link parser trying to hit a random link on a page that
is
>generated after a user has logged in.
>
>Does the link parser have a problem with running over an ssl?
>
> 
>
>I can set up a simple test and it works fine not going over SSL but when I
>try it over ssl I have a problem getting it to return a random link.
>
>
>  
>


---------------------------------------------------------------------
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: Link parser with SSL?

Posted by Craig Palmer <cr...@peace.com>.
I have logged a bug for this (28677) so I can confirm it is a problem (I 
using 2.0.0). I did some analysis and found that it fails to find the 
links because it looses protocol information and ends up only looking 
for http links. I havent yet had time to figure out exactly why it 
looses the protocol information. I cant think of a suitable work around 
in the mean time except to disable the protocol matching test which 
would required you to recompile some of the source code.

Oh yeah, there was a suggestion to try a different HTTP Sampler which I 
did put much effort into so maybe you should try this (refer 
jmeter.properties file). Try this and let us know what happens.

Craig.

Steve Luong wrote:

>Hey guys,
>
>I'm stuck with the link parser trying to hit a random link on a page that is
>generated after a user has logged in.
>
>Does the link parser have a problem with running over an ssl?
>
> 
>
>I can set up a simple test and it works fine not going over SSL but when I
>try it over ssl I have a problem getting it to return a random link.
>
>
>  
>


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


Re: Link parser with SSL?

Posted by Craig Palmer <cr...@peace.com>.
The problem I hit was based on forms so different issue afterall.

Steve Luong wrote:

>Solved it make sure on your HTTP Request that you set path, server to .* and
>protocol to https, this will allow the Default to fill in the request.
>
>
>-----Original Message-----
>From: Steve Luong [mailto:luong_steve@hotmail.com] 
>Sent: Tuesday, May 11, 2004 4:32 PM
>To: jmeter-user@jakarta.apache.org
>Subject: Link parser with SSL?
>
>Hey guys,
>
>I'm stuck with the link parser trying to hit a random link on a page that is
>generated after a user has logged in.
>
>Does the link parser have a problem with running over an ssl?
>
> 
>
>I can set up a simple test and it works fine not going over SSL but when I
>try it over ssl I have a problem getting it to return a random link.
>
>
>---------------------------------------------------------------------
>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: Link parser with SSL?

Posted by Steve Luong <lu...@hotmail.com>.
Solved it make sure on your HTTP Request that you set path, server to .* and
protocol to https, this will allow the Default to fill in the request.


-----Original Message-----
From: Steve Luong [mailto:luong_steve@hotmail.com] 
Sent: Tuesday, May 11, 2004 4:32 PM
To: jmeter-user@jakarta.apache.org
Subject: Link parser with SSL?

Hey guys,

I'm stuck with the link parser trying to hit a random link on a page that is
generated after a user has logged in.

Does the link parser have a problem with running over an ssl?

 

I can set up a simple test and it works fine not going over SSL but when I
try it over ssl I have a problem getting it to return a random link.


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