Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 827DC1835A for ; Mon, 10 Aug 2015 11:00:39 +0000 (UTC) Received: (qmail 69623 invoked by uid 500); 10 Aug 2015 11:00:39 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 69589 invoked by uid 500); 10 Aug 2015 11:00:39 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 69578 invoked by uid 99); 10 Aug 2015 11:00:39 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2015 11:00:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9E7431A9C1F for ; Mon, 10 Aug 2015 11:00:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.209 X-Spam-Level: X-Spam-Status: No, score=-1.209 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Q-sRcfVnG9fF for ; Mon, 10 Aug 2015 11:00:38 +0000 (UTC) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id EC6F031C61 for ; Mon, 10 Aug 2015 10:52:01 +0000 (UTC) Received: by iodd187 with SMTP id d187so165169340iod.2 for ; Mon, 10 Aug 2015 03:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fmwUE8JkiwbBVX9R7EDddZszzqAigkeQop1IJwYt7ig=; b=tWR5JQtvs4MRfgbrfkp9OnnISyyhxspgcGxK1Gfr05nfX2OPmB3zI243K4mx35uACn DCqIaS7Sh5IMrcNu+Ia4QD1kadEL1PKtTq77JGNOq0sxQ/1tBoiLvkqvPZzXng3m1kVG 3IWQRrzjVhUSLzESDC4HtE0SnhfETRlNX1dnOopqYhUW9nLwGuxWN7tX0/uHqHWuAKq8 6biBwFyN1zygkTIqc6X8Kh5pRGRNMtRFHaP6iynL2nf7qHEleCKBgnSgeoCYzdSKOaxk 9n55oWHSbx077Ws0zRTq8uaB936GFL70tjA4xzto1A9lq9CIQz7/+z7WsEcZqq8rsPNZ HWpQ== MIME-Version: 1.0 X-Received: by 10.107.130.230 with SMTP id m99mr22346551ioi.34.1439203921491; Mon, 10 Aug 2015 03:52:01 -0700 (PDT) Received: by 10.107.136.226 with HTTP; Mon, 10 Aug 2015 03:52:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Aug 2015 11:52:01 +0100 Message-ID: Subject: Re: Rest Web service Testing : Authorization Error From: sebb To: JMeter Users List Content-Type: text/plain; charset=UTF-8 On 10 August 2015 at 11:03, Nitin Rastogi 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