Summary: | Proxy option to set user and password at startup (-u and -a) not working with HTTPClient 4 | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | stef <stephane.hoblingre> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.8 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
stef
2012-10-26 14:52:22 UTC
Is it working when you set proxy config on Sampler in "Proxy Server" part ? Hi, No, same behavior if configured in the sampler. Works with Java and HTTPClient 3.1, vith v4 always 407 error. Stef Thank you, what kind of authentication is your proxy using ?. The difference between 3.1 and 4 is that 3.1 uses NTCredential while 4 uses UsernamePasswordCredentials it is user/name password I assume as with a browser it prompts for it. Stef Hopefully now fixed. Please re-open with details if the fix has not worked. URL: http://svn.apache.org/viewvc?rev=1404638&view=rev Log: Proxy option to set user and password at startup (-u and -a) not working with HTTPClient 4 Align code with HC3 implementation: use NTCredentials throughout the HC4 implementation Bugzilla Id: 54057 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java URL: http://svn.apache.org/viewvc?rev=1404639&view=rev Log: Proxy option to set user and password at startup (-u and -a) not working with HTTPClient 4 Bugzilla Id: 54057 Modified: jmeter/trunk/xdocs/changes.xml I made a test with new code, at least it does not break proxy authentication when it already worked. Stephane, hope you can give us some feedback soon as I cannot reproduce issue with HTTP4Impl with our proxy. Regards Hi, I still have the same behavior with r1405729. Works with HC 3.1 and Java but not HC 4... Stef Can you attach a simple test case showing the issue and log file ? Can you try with nightly build. We upgraded HTTPComponents library to 4.2.2 which contains fixes around preemptive authentication. Thank you Hello Stephane, Any news on that ? Hi, Still same issues with r1408979. Do you want logs and if yes which component needs to be set to debug mode ? Stef Date: Fri Nov 30 11:16:08 2012 New Revision: 1415587 URL: http://svn.apache.org/viewvc?rev=1415587&view=rev Log: Bug 54057 - Proxy option to set user and password at startup (-u and -a) not working with HTTPClient 4 Bugzilla Id: 54057 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java jmeter/trunk/xdocs/changes.xml Hello Stef, I managed to reproduce it and fixed it now. Can you confirm it's OK on your side with next nightly build ? Regards Philippe This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2962 |