jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Rest Web service Testing : Authorization Error
Date Mon, 10 Aug 2015 10:52:01 GMT
On 10 August 2015 at 11:03, Nitin Rastogi <nitin.usit@gmail.com> wrote:
> Hi,
>
> I am trying to test a Rest API with Basic Authentication enabled but
> something weird is happening.
>
> When I try to fire a GET request, I am getting authentication error whereas
> with POST request its working fine. This GET Request is basic ping check
> for the API and have few url redirections.
>
> I have tried testing with HTTPClient4, HTTPClient3.1 options as well.
>
> Jmeter Test Plan Structure is:
>
> - Thread Group
>  - HTTP Authorization Manager
>  - HTTP Request (GET)
>  - HTTP Request (POST)
>  - View Result Tree
>
> Can anyone please provide some insight?

If auth uses cookies, then you need to add a Cookie Manager.

> Thanks..
> Nitin Rastogi

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message