You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Earl Lewis <ea...@utah.edu> on 2004/10/27 19:08:19 UTC
SSL problems
I can't seem to get JMeter to process any SSL requests. I downloaded version 2.0.1 to make sure I was current and neither it nor 1.9 will run my test.
First, so you know, I'm running a local Jmeter client and trying to hit a site that's running SSL and is all dynamic content, i.e. lots of request parameters, intermediate calls and redirects. I'm _not_ doing any remote testing stuff.
To start with I recorded a script using Badboy and exported it to Jmeter format. Opened it in Jmeter and all looked well. However the full script would never run. In my aggregate report window I would only see two request entries instead of the 7 or 8 that were in the test plan.
Since it was bombing I started stripping stuff out until I got to just a single HTTPRequest sampler. Even that failed. Here's the error text from JMeter response in the View Results Tree.
java.net.MalformedURLException: unknown protocol: https
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getUrl(HTTPSamplerBase.java:437)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:585)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:573)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254)
at java.lang.Thread.run(Unknown Source)
The HTTP request is very simple. I think I've got it right.
Name: login
server: my.server.name.edu
protocol: https
port: tried 80 and 443 - both fail
method: tried both get and post
path: /dept.html - - which redirects to /pls/procs/!maindept.login?
redirect automatically: unchecked
follow redirects: unchecked
use keepalive: unchecked
no additional parameters and no file attachments
Anyone have any ideas about this one.
Earl
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: SSL problems
Posted by sebb <se...@gmail.com>.
On Wed, 27 Oct 2004 11:08:19 -0600, Earl Lewis <ea...@utah.edu> wrote:
> I can't seem to get JMeter to process any SSL requests. I downloaded version 2.0.1 to make sure I was current and neither it nor 1.9 will run my test.
>
> First, so you know, I'm running a local Jmeter client and trying to hit a site that's running SSL and is all dynamic content, i.e. lots of request parameters, intermediate calls and redirects. I'm _not_ doing any remote testing stuff.
>
> To start with I recorded a script using Badboy and exported it to Jmeter format. Opened it in Jmeter and all looked well. However the full script would never run. In my aggregate report window I would only see two request entries instead of the 7 or 8 that were in the test plan.
>
> Since it was bombing I started stripping stuff out until I got to just a single HTTPRequest sampler. Even that failed. Here's the error text from JMeter response in the View Results Tree.
>
> java.net.MalformedURLException: unknown protocol: https
AFAIK, this means that the JVM does not support https - so it's not
surprising that JMeter fails.
You may need to install a later JVM, or at least add the necessary
jars to your existing one.
> at java.net.URL.<init>(Unknown Source)
> at java.net.URL.<init>(Unknown Source)
> at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getUrl(HTTPSamplerBase.java:437)
> at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:585)
> at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:573)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254)
> at java.lang.Thread.run(Unknown Source)
>
> The HTTP request is very simple. I think I've got it right.
> Name: login
> server: my.server.name.edu
> protocol: https
> port: tried 80 and 443 - both fail
> method: tried both get and post
> path: /dept.html - - which redirects to /pls/procs/!maindept.login?
> redirect automatically: unchecked
> follow redirects: unchecked
> use keepalive: unchecked
>
> no additional parameters and no file attachments
>
> Anyone have any ideas about this one.
>
> Earl
>
> ---------------------------------------------------------------------
> 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