| || |
Recording https application using JMeter2.9
1. Iam unable to record https based application using JMeterv2.9
2. I used both fiddler and badboy captured the requests and response and after exporting back to JMeter is showing
Connection to https:<<url>> refused at org.apache.http.impl.conn.DefaultClientConnectionO perator.openConnection(DefaultClientConnectionOper ator.java:190) at org.apache.http.impl.conn.ManagedClientConnectionI mpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector .tryConnect(DefaultRequestDirector.java:645) at org.apache.http.impl.client.DefaultRequestDirector .execute(DefaultRequestDirector.java:480) at org.apache.http.impl.client.AbstractHttpClient.exe cute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.exe cute(AbstractHttpClient.java:805) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Imp l.sample(HTTPHC4Impl.java:286) at org.apache.jmeter.protocol.http.sampler.HTTPSample rProxy.sample(HTTPSamplerProxy.java:62) at org.apache.jmeter.protocol.http.sampler.HTTPSample rBase.sample(HTTPSamplerBase.java:1088) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Pr oxy.java:211) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Un known Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress( Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) at org.apache.http.conn.ssl.SSLSocketFactory.connectS ocket(SSLSocketFactory.java:549) at org.apache.http.impl.conn.DefaultClientConnectionO perator.openConnection(DefaultClientConnectionOper ator.java:180) ... 9 more
I tried with httpclient3.1, 4.0 in the type while recording but not successful.
Can someone provide exact steps how to capture the https steps in Jmeter2.9
Thanks in advance.
This article Recording HTTPS Traffic with JMeter's Proxy Server can be interesting for you
Also you can use Chrome Extension Plugin to record HTTPS without JMeter
can u tell me version of java installed and make sure ur environment variables path's are correct
You are trying to eavesdrop on https. That's exactly what https is supposed to prevent.
Funny, Apple just released a patch for this exact reason.
Most load testing tools will have a cert you can use to install it as a trusted cert that'll allow it to eaves drop. It's a very common use case for testing https. Since it's important to make sure https isn't bottlenecking the system.
Originally Posted by igglue
As a good warning, it's best to run your load testing tools on a separate VM or Cloud instance. Or remember to uninstall those test certs so you don't get spoofed later.