You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by KIRAN <rk...@gmail.com> on 2014/01/16 20:39:24 UTC

Error with HTTP request - JMeter V 2.11

Hi,

I have a script for which I added a HTTP request. Below is the snapshot of
the request:

[image: Inline image 1]

The response from this request would be a PDF file and recently I got
access to this application.
When I run the script, I am seeing the below error:

======================================================================
  You are not authorized to view this page You do not have permission to
view this directory or page using the credentials that you supplied because
your Web browser is sending a WWW-Authenticate header field that the Web
server is not configured to accept.
------------------------------

Please try the following:

   - Contact the Web site administrator if you believe you should be able
   to view this directory or page.
   - Click the Refresh button to try again with different credentials.

 HTTP Error 401.2 - Unauthorized: Access is denied due to server
configuration.
Internet Information Services (IIS)
------------------------------

Technical Information (for support personnel)

   - Go to Microsoft Product Support
Services<http://go.microsoft.com/fwlink/?linkid=8180>and perform a
title search for the words
   *HTTP* and *401*.
   - Open *IIS Help*, which is accessible in IIS Manager (inetmgr), and
   search for topics titled *About Security*, *Authentication*, and *About
   Custom Error Messages*.

 ======================================================================
Please help me in getting this issue resolved.

Let me know if you need more information.


-- 
Regards,
Kiran

Re: Error with HTTP request - JMeter V 2.11

Posted by KIRAN <rk...@gmail.com>.
This application uses windows authentication and if I open that in IE it
won't asks me my credentials and takes directly to the home page of the
application.
It is like windows authentication in sql server.
Please let me know the values I should enter for HTTP Authorization Manager:
Base URL: I will enter the URL
User Name: do I need to enter this?
Password: do I need to enter this?
Domain: ??
Realm: ??
Mechanism: ??

Thanks in advance.


On Thu, Jan 16, 2014 at 3:34 PM, Deepak Shetty <sh...@gmail.com> wrote:

> It depends on how your application is authorizing your access - you need to
> check what happens when you do this with a browser (or ask a dev) - once
> you know that you can simulate the same in JMeter -( its possible your
> application only works on IE and some sort of IE integrated auth mechanism
> is used in which case youll have to check if Jmeter supports that - all
> other options can be made to work in Jmeter)
>
>
>
> On Thu, Jan 16, 2014 at 11:39 AM, KIRAN <rk...@gmail.com> wrote:
>
> > Hi,
> >
> > I have a script for which I added a HTTP request. Below is the snapshot
> of
> > the request:
> >
> > [image: Inline image 1]
> >
> > The response from this request would be a PDF file and recently I got
> > access to this application.
> > When I run the script, I am seeing the below error:
> >
> > ======================================================================
> >   You are not authorized to view this page You do not have permission to
> > view this directory or page using the credentials that you supplied
> because
> > your Web browser is sending a WWW-Authenticate header field that the Web
> > server is not configured to accept.
> > ------------------------------
> >
> > Please try the following:
> >
> >    - Contact the Web site administrator if you believe you should be able
> >    to view this directory or page.
> >    - Click the Refresh button to try again with different credentials.
> >
> >  HTTP Error 401.2 - Unauthorized: Access is denied due to server
> > configuration.
> > Internet Information Services (IIS)
> > ------------------------------
> >
> > Technical Information (for support personnel)
> >
> >    - Go to Microsoft Product Support Services<
> http://go.microsoft.com/fwlink/?linkid=8180>and perform a title search
> for the words
> >    *HTTP* and *401*.
> >    - Open *IIS Help*, which is accessible in IIS Manager (inetmgr), and
> >    search for topics titled *About Security*, *Authentication*, and
> *About
> >    Custom Error Messages*.
> >
> >  ======================================================================
> > Please help me in getting this issue resolved.
> >
> > Let me know if you need more information.
> >
> >
> > --
> > Regards,
> > Kiran
> >
>



-- 
Regards,
Kiran

Re: Error with HTTP request - JMeter V 2.11

Posted by Deepak Shetty <sh...@gmail.com>.
It depends on how your application is authorizing your access - you need to
check what happens when you do this with a browser (or ask a dev) - once
you know that you can simulate the same in JMeter -( its possible your
application only works on IE and some sort of IE integrated auth mechanism
is used in which case youll have to check if Jmeter supports that - all
other options can be made to work in Jmeter)



On Thu, Jan 16, 2014 at 11:39 AM, KIRAN <rk...@gmail.com> wrote:

> Hi,
>
> I have a script for which I added a HTTP request. Below is the snapshot of
> the request:
>
> [image: Inline image 1]
>
> The response from this request would be a PDF file and recently I got
> access to this application.
> When I run the script, I am seeing the below error:
>
> ======================================================================
>   You are not authorized to view this page You do not have permission to
> view this directory or page using the credentials that you supplied because
> your Web browser is sending a WWW-Authenticate header field that the Web
> server is not configured to accept.
> ------------------------------
>
> Please try the following:
>
>    - Contact the Web site administrator if you believe you should be able
>    to view this directory or page.
>    - Click the Refresh button to try again with different credentials.
>
>  HTTP Error 401.2 - Unauthorized: Access is denied due to server
> configuration.
> Internet Information Services (IIS)
> ------------------------------
>
> Technical Information (for support personnel)
>
>    - Go to Microsoft Product Support Services<http://go.microsoft.com/fwlink/?linkid=8180>and perform a title search for the words
>    *HTTP* and *401*.
>    - Open *IIS Help*, which is accessible in IIS Manager (inetmgr), and
>    search for topics titled *About Security*, *Authentication*, and *About
>    Custom Error Messages*.
>
>  ======================================================================
> Please help me in getting this issue resolved.
>
> Let me know if you need more information.
>
>
> --
> Regards,
> Kiran
>