DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7694

Proxy Server fails for URLs that require basic authentication

           Summary: Proxy Server fails for URLs that require basic
                    authentication
           Product: JMeter
           Version: 1.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using the "HTTP Proxy Server" to record calls from a web browser, an 
IOException is thrown:

Sampling url: http://somesvr.somedomain.com:8087/
URL = http://somesvr.somedomain.com:8087/
java.io.IOException
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSample
r.java:473)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSample
r.java:164)
        at org.apache.jmeter.protocol.http.proxy.Proxy.sampleServer(Proxy.java:2
22)
        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:155)

******************************************************************

root.log :


DEBUG 04/02, 01:01:56 ol.http.control.HttpTestSample Start : HttpTestSample1
DEBUG 04/02, 01:01:56 ol.http.control.HttpTestSample End : HttpTestSample1
DEBUG 04/02, 01:01:56 ol.http.control.HttpTestSample Setting defaultUrl - 
org.apache.jmeter.protocol.http.config.UrlConfig@4eaec9
DEBUG 04/02, 01:01:56 tocol.http.sampler.HTTPSampler Start : sample2
DEBUG 04/02, 01:01:56 tocol.http.sampler.HTTPSampler getUrlConfig1 : Returning 
urlConfig - org.apache.jmeter.protocol.http.config.UrlConfig@4eaec9
DEBUG 04/02, 01:01:56 tocol.http.sampler.HTTPSampler sample2 : sampling url - 
http://somesvr.somedomain.com:8087/
DEBUG 04/02, 01:01:56 tocol.http.sampler.HTTPSampler setConnectionHeaders : 
method called
DEBUG 04/02, 01:01:56 tocol.http.sampler.HTTPSampler getErrorLevel : Returning 
errorLevel - 4
DEBUG 04/02, 01:01:56 tocol.http.sampler.HTTPSampler End : sample2
DEBUG 04/02, 01:01:56 e.jmeter.samplers.SampleResult getValue1 : key - 
sampler.RESPONSE ; value - [B@569c60

This bug only surfaces when the URL requires basic authentication for access.  
Addition of an "HTTP Authorization Manager" doesn't solve the problem.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to