You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/12/22 17:40:58 UTC

DO NOT REPLY [Bug 46438] New: JMeter Proxy: Better error msg

https://issues.apache.org/bugzilla/show_bug.cgi?id=46438

           Summary: JMeter Proxy: Better error msg
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: wernerr@ethz.ch
                CC: hauser@acm.org


Hi,

When I start the JMeter Http Proxy Server controller (localhost:9090) and call
# lynx http://localhost:9090 -verbose

I get as an answer:

   java.net.UnknownHostException: / at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at
   java.net.Socket.connect(Socket.java:520) at
java.net.Socket.connect(Socket.java:470) at
   sun.net.NetworkClient.doConnect(NetworkClient.java:157) at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at
   sun.net.www.http.HttpClient.openServer(HttpClient.java:523) at
sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:278)
   at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335) at
  
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)
   at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
at
  
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)
at
  
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
at
  
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:433)
at
  
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1016)
at
   org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)



Wouldn't it be better to display a verbose error message instead of the
stacktrace?

Possible error message:

"You are talking with a proxy. Please configure your browser accordingly and
pass the wished url."

Thanks for your great work.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 46438] JMeter Proxy: Better error msg

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46438


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Sebb <se...@apache.org>  2009-01-24 16:17:34 PST ---
It looks to be quite difficult to implement this, so unless someone provides a
patch it won't be implemented.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 46438] JMeter Proxy: Better error msg

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46438





--- Comment #2 from Ralf Hauser <ha...@acm.org>  2009-01-25 02:39:55 PST ---
see also bug 46436


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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