JMeter and SSL
843835Jun 25 2002 — edited Jul 30 2002Has anyone got SSL working with JMeter?
I am trying to access a login.jsp page and have created a keystore with my certificate and added the JSSE jars to the path. I have also set a CookieManager and a Report tree and set debug to 'all'. When I run JMeter, in the console, I can see all the HTML arriving but after it has arrived I get a java.io.IOException displayed in the console window. See below:
.......
0840: 59 3E 0D 0A 3C 2F 48 54 4D 4C 3E 0D 0A 0D 0A 55 Y>..</HTML>....U
0850: D3 D0 E2 71 96 52 EC 08 DD C2 56 06 C1 20 52 5B ...q.R....V.. R[
0860: DB BB 02 ...
Thread-2, READ: SSL v3.1 Application Data, length = 25
Plaintext after DECRYPTION: len = 25
0000: 30 0D 0A 0D 0A 21 DB 14 E0 31 D1 C5 FF AC 87 3A 0....!...1.....:
0010: C3 C1 E6 AB CC C0 BC 3D 8E .......=.
URL = https://myServer/myApp/login
java.io.IOException
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:464)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:164)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
at java.lang.Thread.run(Unknown Source)
Finalizer, SEND SSL v3.1 ALERT: warning, description = close_notify
Plaintext before ENCRYPTION: len = 22
0000: 01 00 EA 7F 6A 6D 7B BB 64 E0 62 92 5D AF D6 FD ....jm..d.b.]...
0010: 27 6C 53 ED A0 AE 'lS...
Finalizer, WRITE: SSL v3.1 Alert, length = 22
And the report tree shows
Load Time 0
HTTP response code:null
HTTP response message:null
I am at my wits end as it has taken me ages to get this far.
Any help is most gratefully recieved.
Thanks in advance.