jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40178] New: - Broken https through proxy with httpclient sampler
Date Thu, 03 Aug 2006 10:56:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40178>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40178

           Summary: Broken https through proxy with httpclient sampler
           Product: JMeter
           Version: 2.2
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: dossou@netcourrier.com


java.version=1.5.0_03
jmeter.JMeter: Version 2.2
Httpclient sampler

I started Jmeter with the proxy parameters -H -P -u -a.
The same test plan work with HTTP.
With HTTPS I get an exception in the tree visualizer
java.lang.IllegalArgumentException: Host may not be null
	at org.apache.commons.httpclient.NTCredentials.<init>(Unknown Source)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection(HTTPSampler2.java:274)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:518)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
	at java.lang.Thread.run(Unknown Source)

Here an extract from the log file:

2006/08/03 12:52:09 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: methodGET 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.useragent = Jakarta Commons-HttpClient/3.0.1 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.protocol.version = HTTP/1.1 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.connection-manager.class = class
org.apache.commons.httpclient.SimpleHttpConnectionManager 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.protocol.cookie-policy = rfc2109 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.protocol.element-charset = US-ASCII 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.protocol.content-charset = ISO-8859-1 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.method.retry-handler =
org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1e42ee1 
2006/08/03 12:52:09 DEBUG -
org.apache.commons.httpclient.params.DefaultHttpParams: Set parameter
http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy
HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE,
dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z,
EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss
z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss
z, EEE, dd-MM-yyyy HH:mm:ss z] 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.methods.GetMethod:
enter GetMethod(String) 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: Java
version: 1.5.0_03 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: Java
vendor: Sun Microsystems Inc. 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: Java class
path:
D:\jakarta-jmeter-2.2\bin\ApacheJMeter.jar;D:\jakarta-jmeter-2.2\lib\avalon-framework-4.1.4.jar;D:\jakarta-jmeter-2.2\lib\batik-awt-util.jar;D:\jakarta-jmeter-2.2\lib\bsf-2.3.0.jar;D:\jakarta-jmeter-2.2\lib\bshclient.jar;D:\jakarta-jmeter-2.2\lib\commons-codec-1.3.jar;D:\jakarta-jmeter-2.2\lib\commons-collections.jar;D:\jakarta-jmeter-2.2\lib\commons-httpclient-3.0.1.jar;D:\jakarta-jmeter-2.2\lib\commons-jexl-1.0.jar;D:\jakarta-jmeter-2.2\lib\commons-logging-1.1.jar;D:\jakarta-jmeter-2.2\lib\excalibur-datasource-1.1.1.jar;D:\jakarta-jmeter-2.2\lib\excalibur-instrument-1.0.jar;D:\jakarta-jmeter-2.2\lib\excalibur-logger-1.1.jar;D:\jakarta-jmeter-2.2\lib\excalibur-pool-1.2.jar;D:\jakarta-jmeter-2.2\lib\htmlparser.jar;D:\jakarta-jmeter-2.2\lib\htmlparserparser.jar;D:\jakarta-jmeter-2.2\lib\htmlparserparser16.jar;D:\jakarta-jmeter-2.2\lib\jakarta-oro-2.0.8.jar;D:\jakarta-jmeter-2.2\lib\jCharts-0.7.5.jar;D:\jakarta-jmeter-2.2\lib\jdom-1.0.jar;D:\jakarta-jmeter-2.2\lib\jorphan.jar;D
 :\jakarta-jmeter-2.2\lib\js.jar;D:\jakarta-jmeter-2.2\lib\junit.jar;D:\jakarta-jmeter-2.2\lib\logkit-1.2.jar;D:\jakarta-jmeter-2.2\lib\soap.jar;D:\jakarta-jmeter-2.2\lib\Tidy.jar;D:\jakarta-jmeter-2.2\lib\xalan.jar;D:\jakarta-jmeter-2.2\lib\xercesImpl.jar;D:\jakarta-jmeter-2.2\lib\xml-apis.jar;D:\jakarta-jmeter-2.2\lib\xpp3_min-1.1.3.4.I.jar;D:\jakarta-jmeter-2.2\lib\xstream-1.1.3.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_components.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_core.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_ftp.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_functions.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_http.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_java.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_jdbc.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_jms.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_junit.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_ldap.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_mail.jar;D:\jakarta-jmeter-2
 .2\lib\ext\ApacheJMeter_monitors.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_report.jar;D:\jakarta-jmeter-2.2\lib\ext\ApacheJMeter_tcp.jar;D:\jakarta-jmeter-2.2\lib\junit\test.jar

2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: Operating
system name: Windows XP 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: Operating
system architecture: x86 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: Operating
system version: 5.1 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: SUN 1.5:
SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests;
SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
CertPathBuilder; LDAP, Collection CertStores) 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: SunRsaSign
1.5: Sun RSA signature provider 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: SunJSSE
1.5: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: SunJCE
1.5: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR,
RC2, PBE, Diffie-Hellman, HMAC) 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: SunJGSS
1.0: Sun (Kerberos v5) 
2006/08/03 12:52:09 DEBUG - org.apache.commons.httpclient.HttpClient: SunSASL
1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI,
EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5) 
2006/08/03 12:52:09 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: Setting
proxy: proxya:8080 
2006/08/03 12:52:09 DEBUG - jmeter.assertions.ResponseAssertion: Type:Contains 
2006/08/03 12:52:09 DEBUG - jmeter.assertions.ResponseAssertion: Failed:
org.apache.oro.text.regex.Perl5Pattern@1284f10 
2006/08/03 12:52:09 DEBUG - jmeter.control.GenericController: Calling next on:
org.apache.jmeter.control.LoopController 
2006/08/03 12:52:09 DEBUG - jmeter.control.GenericController: Calling next on:
org.apache.jmeter.control.GenericController 
2006/08/03 12:52:09 DEBUG - jmeter.control.GenericController: Calling next on:
org.apache.jmeter.control.GenericController 
2006/08/03 12:52:09 DEBUG - jmeter.control.GenericController: Calling next on:
org.apache.jmeter.control.GenericController 
2006/08/03 12:52:09 DEBUG - jmeter.control.GenericController: Calling next on:
org.apache.jmeter.control.LoopController 
2006/08/03 12:52:09 INFO  - jmeter.threads.JMeterThread: Thread Groupe de Thread
1-1 is done 
2006/08/03 12:52:09 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 0 
2006/08/03 12:52:09 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test 
2006/08/03 12:52:09 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: Thread
Finished 
2006/08/03 12:52:09 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test
listeners of end of test 
2006/08/03 12:52:09 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended

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

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


Mime
View raw message