Am 14. März 2016 01:35:03 MEZ, schrieb Deepak Shetty <[email protected]>: >Hi >yes - I could replicate what you saw - but it doesnt match what the OP >said >(where the Basic Auth was retained but not the host
That is right. Perhaps the original poster might want to share a test plan that exhibits his described behaviour. Felix > >regards >deepak > >On Sun, Mar 13, 2016 at 6:36 AM, Felix Schumacher < >[email protected]> wrote: > >> Am 10.03.2016 um 20:20 schrieb Felix Schumacher: >> >>> >>> Am 10. März 2016 19:33:53 MEZ, schrieb Deepak Shetty ><[email protected]>: >>> >>>> Hi >>>> Im not sure thats the cause - However since you havent provided a >JMX >>>> that >>>> fails what we need to do is start from the basic and keep adding >>>> features >>>> you are using till we can identify what causes it to break.Its >might to >>>> be >>>> an HTTPClient issue rather than a JMeter issue - but we first need >to >>>> be >>>> able to replicate it >>>> >>> I tried to replicate this issue today with trunk and found that >basic >>> authentication stopped working with hc4 when I added a http host >header. >>> >>> I hadn't enough time to investigate this further. Switching to java >or >>> removing the host header did work, though. >>> >> I had some time to look further into this. We set the authentication >> context in HC4 based on the url, which has a different host, than the >host >> header. HC4 then seems to look at the host header to determine the >> authentication and finds none. >> >> That means, that basic authentication and setting a host header will >not >> work with HC4 currently. >> >> Felix >> >> >>> Felix >>> >>>> regards >>>> deepak >>>> >>>> On Thu, Mar 10, 2016 at 1:56 AM, Bhadauria, Tarun Kumar < >>>> [email protected]> wrote: >>>> >>>> I tried it on Mercury Tour site and got to see host setting working >>>>> >>>> with >>>> >>>>> HTTP Request Implementation - HTTPClient. >>>>> >>>>> I am wondering why would basic auth not let host setting get >through >>>>> >>>> with >>>> >>>>> HTTP Request Impementation - HTTPCleint while it works with java >>>>> implementation >>>>> >>>>> Thanks >>>>> Tarun K >>>>> >>>>> On 9 March 2016 at 19:52, Deepak Shetty <[email protected]> wrote: >>>>> >>>>> can you try running a simple test >>>>>> Thread Group >>>>>> +Sampler (any site) >>>>>> ++Header (host = test) >>>>>> +View results tree >>>>>> >>>>>> Are you still seeing an issue ? It looks like you have other >things >>>>>> >>>>> in >>>> >>>>> your >>>>> >>>>>> test too (like basic auth) >>>>>> >>>>>> On Wed, Mar 9, 2016 at 8:20 AM, Bhadauria, Tarun Kumar < >>>>>> [email protected]> wrote: >>>>>> >>>>>> this is what java -version gets me - >>>>>>> >>>>>>> java version "1.7.0_72" >>>>>>> Java(TM) SE Runtime Environment (build 1.7.0_72-b14) >>>>>>> Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode) >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> Tarun K >>>>>>> >>>>>>> On 9 March 2016 at 17:18, Deepak Shetty <[email protected]> >>>>>>> >>>>>> wrote: >>>> >>>>> Hi >>>>>>>> it was fixed awhile ago >>>>>>>> https://bz.apache.org/bugzilla/show_bug.cgi?id=50516 >>>>>>>> >>>>>>>> I've checked on JMeter 2.13 , worked for me - Which version of >>>>>>>> >>>>>>> JMeter + >>>>> >>>>>> Java are you on ? >>>>>>>> >>>>>>>> Request Headers: >>>>>>>> Connection: keep-alive >>>>>>>> Host: test >>>>>>>> User-Agent: Apache-HttpClient/4.2.6 (java 1.5) >>>>>>>> >>>>>>>> regards >>>>>>>> deepak >>>>>>>> >>>>>>>> On Wed, Mar 9, 2016 at 6:11 AM, Bhadauria, Tarun Kumar < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>> JMeter version 2.13 >>>>>>>>> >>>>>>>>> I added host header in HTTP Header Manager with HTTP Request >>>>>>>>> >>>>>>>> Implementation >>>>>>>> >>>>>>>>> - HTTP Client 4 but found it missing on request in view >>>>>>>>> >>>>>>>> Results >>>> >>>>> Tree >>>>> >>>>>> listener. (Which results in test failure) - >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>> >http://www.awesomescreenshot.com/image/1065695/49c6d60c132a1e479e9907d83270b405 >>>> >>>>> When I change the HTTP Request Implementation to Java then >>>>>>>>> >>>>>>>> Host >>>> >>>>> entry >>>>> >>>>>> is >>>>>>> >>>>>>>> set - >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>> >http://www.awesomescreenshot.com/image/1065707/d6cc8de1f6be8e409f5f330efcbe5662 >>>> >>>>> Is it a known issue? >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> Tarun K >>>>>>>>> >>>>>>>>> >>> >--------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >>
