You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by amitsam <am...@gmail.com> on 2009/03/13 07:00:44 UTC
Getting error while setting up the proxy
Hi,
I am using the Jmeter version 2.3.2 r665936.
I want to the recording using Jmeter, so for that as per tutorial i changed
the settings in jmeter (in HTTP Proxy server) and then changed in the
browser. But while entering url in the browser address bar I am getting
below error message.
java.net.SocketException: Unconnected sockets not implemented
at javax.net.SocketFactory.createSocket(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)
Could anyone can help me out on this.
Thanks in advance
-A m i t
--
View this message in context: http://www.nabble.com/Getting-error-while-setting-up-the-proxy-tp22490734p22490734.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: Getting error while setting up the proxy
Posted by sebb <se...@gmail.com>.
On 15/03/2009, amitsam <am...@gmail.com> wrote:
>
> Hi Sebb,
>
> Ys that issue is resolved, thx for information....but now one more small
> guidance I need, I have an https application, I am not able to get how to
> record the https application using jmeter. Would you please provide some
> inputs on that.
Please start a new thread with a suitable subject message whe asking a
new question.
But please read the user documentation first - there is plenty of
information; also read the mailing list for previous postings on the
subject.
> Thanks
> -A m i t
>
>
> sebb-2-2 wrote:
> >
> > On 13/03/2009, amitsam <am...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I am using the Jmeter version 2.3.2 r665936.
> >> I want to the recording using Jmeter, so for that as per tutorial i
> >> changed
> >> the settings in jmeter (in HTTP Proxy server) and then changed in the
> >> browser. But while entering url in the browser address bar I am getting
> >> below error message.
> >>
> >> java.net.SocketException: Unconnected sockets not implemented
> >
> > Are you using Java 6?
> >
> > If so, try using Java 5 or Java 4.
> >
> > There was a change in Java 6 which changed the method used in socket
> > creation.
> > Previously it was only necessary to override some methods, and some
> > code (including JMeter) was lazy in not overriding them all.
> >
> >> at javax.net.SocketFactory.createSocket(Unknown Source)
> >> at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown
> >> Source)
> >> at sun.net.NetworkClient.doConnect(Unknown Source)
> >> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> >> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> >> at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
> >> at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
> >> at
> >>
> >> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
> >> Source)
> >> at
> >> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
> >> at
> >>
> >> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
> >> Source)
> >> at
> >> sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
> >> Source)
> >> at
> >>
> >> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
> >> at
> >>
> >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
> >> at
> >> org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)
> >>
> >> Could anyone can help me out on this.
> >>
> >> Thanks in advance
> >> -A m i t
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Getting-error-while-setting-up-the-proxy-tp22490734p22490734.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/Getting-error-while-setting-up-the-proxy-tp22490734p22519863.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: Getting error while setting up the proxy
Posted by amitsam <am...@gmail.com>.
Hi Sebb,
Ys that issue is resolved, thx for information....but now one more small
guidance I need, I have an https application, I am not able to get how to
record the https application using jmeter. Would you please provide some
inputs on that.
Thanks
-A m i t
sebb-2-2 wrote:
>
> On 13/03/2009, amitsam <am...@gmail.com> wrote:
>>
>> Hi,
>>
>> I am using the Jmeter version 2.3.2 r665936.
>> I want to the recording using Jmeter, so for that as per tutorial i
>> changed
>> the settings in jmeter (in HTTP Proxy server) and then changed in the
>> browser. But while entering url in the browser address bar I am getting
>> below error message.
>>
>> java.net.SocketException: Unconnected sockets not implemented
>
> Are you using Java 6?
>
> If so, try using Java 5 or Java 4.
>
> There was a change in Java 6 which changed the method used in socket
> creation.
> Previously it was only necessary to override some methods, and some
> code (including JMeter) was lazy in not overriding them all.
>
>> at javax.net.SocketFactory.createSocket(Unknown Source)
>> at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown
>> Source)
>> at sun.net.NetworkClient.doConnect(Unknown Source)
>> at sun.net.www.http.HttpClient.openServer(Unknown Source)
>> at sun.net.www.http.HttpClient.openServer(Unknown Source)
>> at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
>> at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
>> at
>>
>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
>> Source)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>> at
>>
>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
>> Source)
>> at
>> sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
>> Source)
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
>> at
>>
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
>> at
>> org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)
>>
>> Could anyone can help me out on this.
>>
>> Thanks in advance
>> -A m i t
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Getting-error-while-setting-up-the-proxy-tp22490734p22490734.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/Getting-error-while-setting-up-the-proxy-tp22490734p22519863.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: Getting error while setting up the proxy
Posted by sebb <se...@gmail.com>.
On 13/03/2009, amitsam <am...@gmail.com> wrote:
>
> Hi,
>
> I am using the Jmeter version 2.3.2 r665936.
> I want to the recording using Jmeter, so for that as per tutorial i changed
> the settings in jmeter (in HTTP Proxy server) and then changed in the
> browser. But while entering url in the browser address bar I am getting
> below error message.
>
> java.net.SocketException: Unconnected sockets not implemented
Are you using Java 6?
If so, try using Java 5 or Java 4.
There was a change in Java 6 which changed the method used in socket creation.
Previously it was only necessary to override some methods, and some
code (including JMeter) was lazy in not overriding them all.
> at javax.net.SocketFactory.createSocket(Unknown Source)
> at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown Source)
> at sun.net.NetworkClient.doConnect(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
> at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
> at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
> at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
> Source)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
> Source)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
> at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)
>
> Could anyone can help me out on this.
>
> Thanks in advance
> -A m i t
>
> --
> View this message in context: http://www.nabble.com/Getting-error-while-setting-up-the-proxy-tp22490734p22490734.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