I Have added HTTP Authorization Manager under thread group. added record in it with Base URL,User name,password details.
On Fri, Aug 5, 2016 at 11:19 AM, Felix Schumacher < [email protected]> wrote: > > > Am 5. August 2016 07:37:21 MESZ, schrieb sachin Dhote <[email protected]>: > >Hi Felix, > > > >I have tried this also but same results > > Try to explain exactly, what you have tried. > > Regards, > Felix > > > > >Regards > >Sachin > > > >On Fri, Aug 5, 2016 at 11:02 AM, Felix Schumacher < > >[email protected]> wrote: > > > >> > >> > >> Am 5. August 2016 07:26:22 MESZ, schrieb sachin Dhote > ><[email protected]>: > >> >Hi Guys, > >> > > >> >I have created one simple script with one sample and one listner. > >> > > >> >Sample is HTTP request and site is secured, so i used https > >protocol. > >> > > >> >*When I run the script I am getting below sampler result:* > >> >Sample Start: 2016-08-05 08:51:01 IST > >> >Load time: 8801 > >> >Connect Time: 2679 > >> >Latency: 3031 > >> >Size in bytes: 2963 > >> >Headers size in bytes: 1047 > >> >Body size in bytes: 1916 > >> >Sample Count: 1 > >> >Error Count: 1 > >> >Response code: 401 > >> >Response message: Unauthorized > >> > > >> >Response headers: > >> >HTTP/1.1 401 Unauthorized > >> >Content-Type: text/html > >> >Server: Microsoft-IIS/7.5 > >> >WWW-Authenticate: Negotiate > >> >WWW-Authenticate: NTLM > >> >X-Powered-By: ASP.NET > >> >Date: Fri, 05 Aug 2016 03:21:07 GMT > >> >Content-Length: 1293 > >> > > >> > > >> >HTTPSampleResult fields: > >> >ContentType: text/html > >> >DataEncoding: iso-8859-1 > >> > > >> >*Respnse Data:* > >> >Server Error > >> >401 - Unauthorized: Access is denied due to invalid credentials.You > >do > >> >not > >> >have permission to view this directory or page using the credentials > >> >that > >> >you supplied. > >> > Please help me how to resolve this issue. > >> > >> Add a http authorization manager (http://jmeter.apache.org/ > >> usermanual/component_reference.html#HTTP_Authorization_Manager) > >> > >> Regards, > >> Felix > >> > >> > >> --------------------------------------------------------------------- > >> 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] > >
