You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/10/26 16:52:22 UTC
[Bug 54057] New: Proxy option to set user and password at startup
(-u and -a) not working with HTTPClient 4
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
Priority: P2
Bug ID: 54057
Assignee: issues@jmeter.apache.org
Summary: Proxy option to set user and password at startup (-u
and -a) not working with HTTPClient 4
Severity: normal
Classification: Unclassified
Reporter: stephane.hoblingre@gmail.com
Hardware: PC
Status: NEW
Version: 2.8
Component: HTTP
Product: JMeter
Starting JMeter with option -H myproxy -P 1234 -u user -a password will work
only with HTTPClient 3.1 et Java implementation. If used with HTTPClient 4, the
sampler returns 407 error.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #11 from stef <st...@gmail.com> ---
Hi,
Still same issues with r1408979. Do you want logs and if yes which component
needs to be set to debug mode ?
Stef
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #7 from stef <st...@gmail.com> ---
Hi,
I still have the same behavior with r1405729. Works with HC 3.1 and Java but
not HC 4...
Stef
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #13 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #2 from stef <st...@gmail.com> ---
Hi,
No, same behavior if configured in the sampler. Works with Java and HTTPClient
3.1, vith v4 always 407 error.
Stef
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #10 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello Stephane,
Any news on that ?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #4 from stef <st...@gmail.com> ---
it is user/name password I assume as with a browser it prompts for it.
Stef
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Sebb <se...@apache.org> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |p.mouawad@ubik-ingenierie.c
| |om
OS| |All
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Is it working when you set proxy config on Sampler in "Proxy Server" part ?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Can you attach a simple test case showing the issue and log file ?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54057] Proxy option to set user and password at startup (-u and
-a) not working with HTTPClient 4
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54057
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO
--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Can you try with nightly build.
We upgraded HTTPComponents library to 4.2.2 which contains fixes around
preemptive authentication.
Thank you
--
You are receiving this mail because:
You are the assignee for the bug.