Hi Philippe, I am now able to test the windows authentication successfully. Thank you. Regards, Swathi Gajarla Oakton Consulting Technology M +91 7702300218
________________________________ From: Philippe Mouawad [mailto:[email protected]] Sent: Sat 1/14/2012 6:53 PM To: JMeter Users List Subject: Re: Problem in ntlm authentication using jmeter In fact you don't even have to set http.authentication.preemptive$Boolean=true. Just use HTTPClient 3.1 ou 4 Regards Philippe http://www.ubik-ingenierie.com <http://www.ubik-ingenierie.com/> On Sat, Jan 14, 2012 at 2:17 PM, Philippe Mouawad < [email protected]> wrote: > Hello, > I checked you Test Plan and it's wrong in the following parts: > > - You put in Host field in Sampler a URL instead of a Host > - You didn't change protocol to HTTPS > - Your base URL is wrong in HTTP Authorization Manager > - Finally you need to uncomment in httpclient.parameters: > - http.authentication.preemptive$Boolean=true > > > I will send you the fixed plan at your private mail. > > Regards > > Philippe > > http://www.ubik-ingenierie.com <http://www.ubik-ingenierie.com/> > > On Thu, Jan 12, 2012 at 10:20 AM, Swathi Gajarla < > [email protected]> wrote: > >> Hi, >> I had to test the windows authentication (single-signon) using jmeter on >> a web >> application. I used the below elements for this purpose: >> 1) recording controller-->http request >> 2)http authorization manager >> 3)user defined variables >> >> And made the below changes in jmeter.properties file: >> httpclient.parameters.file=httpclient.parameters >> http.proxyDomain=NTLM domain, if required by HTTPClient sampler >> >> And made the below changes in httpclient.parameters file: >> http.authentication.preemptive$Boolean=true >> >> I am receiving the below error in view results tree: >> >> * >> Thread Name: windows authorization 1-1 >> Sample Start: 1970-01-01 05:30:00 IST >> Load time: 0 >> Latency: 0 >> Size in bytes: 1089 >> Headers size in bytes: 0 >> Body size in bytes: 1089 >> Sample Count: 1 >> Error Count: 1 >> Response code: Non HTTP response code: >> java.lang.IllegalArgumentException >> Response message: Non HTTP response message: URI can't be null. >> * >> Response headers: >> >> * >> >> HTTPSampleResult fields: >> ContentType: >> DataEncoding: null >> >> >> I have also attached my test plan here with this case. >> Kindly help in this case.... >> >> Regards, >> Swathi Gajarla >> Oakton Consulting Technology >> M +91 7702300218 >> >> This message is for the designated recipient only and may contain >> privileged, proprietary, or otherwise private information. If you have >> received it in error, please notify the sender immediately and delete the >> original. Any other use of the email by you is prohibited. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > -- > Cordialement. > Philippe Mouawad. > > > > -- Cordialement. Philippe Mouawad. This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
