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 AAE8ED507 for ; Fri, 2 Nov 2012 19:00:27 +0000 (UTC) Received: (qmail 34648 invoked by uid 500); 2 Nov 2012 19:00:27 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 34623 invoked by uid 500); 2 Nov 2012 19:00:27 -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 34613 invoked by uid 99); 2 Nov 2012 19:00:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 19:00:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dannux@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-ee0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 19:00:20 +0000 Received: by mail-ee0-f43.google.com with SMTP id c13so2160285eek.2 for ; Fri, 02 Nov 2012 12:00:00 -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=eFrJWM/odHvhZLqhtE00ufARpc7/L4KtuSaBUtm0M3U=; b=dSJuVQK/vyddcR2MZx7c+KHnjUvR7EYYG5hPNXGKiMLB2qFJxKczYQEh6jy4lHxi4L I9AnqZs2cVCtMT6LMiKiVrjX6tAKvaenKQOdaKV5FO1BcqdSO/KliEJKXZEZMdewxN+K 11Oht90w8tHoem17uopxm4bUXQ4Eprxrh+L+H39dWR93tLirMzyTepa6+CepPCDYMz6i pYlxFEhdcBe+14CtYjHfOE52GE3VfMfatjfXyeuqayz78uLZnCZi1IwS3dN5N1q4lvf3 vCQII7GallUmd2igBRdDqMk+LYA9m5SiNNgzAdBWhLtJgsy7mF51mVON4oSBFMYVrVw9 3Tag== MIME-Version: 1.0 Received: by 10.14.203.65 with SMTP id e41mr9593603eeo.34.1351882800126; Fri, 02 Nov 2012 12:00:00 -0700 (PDT) Received: by 10.223.63.80 with HTTP; Fri, 2 Nov 2012 12:00:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Nov 2012 15:00:00 -0400 Message-ID: Subject: Re: Jmeter, SAMLResponse and subrequest question From: Daniel Corredor To: JMeter Users List Content-Type: multipart/alternative; boundary=047d7b343aea14596b04cd87beda X-Virus-Checked: Checked by ClamAV on apache.org --047d7b343aea14596b04cd87beda Content-Type: text/plain; charset=ISO-8859-1 Yes, I did not luck either. The whole problem is that in the login step there are 2 redirections with dynamic values and my script fails there. 1) It is a URL that gets a dynamic value as I explained before 2) using that URL I get a new SAMLResponse value Has anybody experience something like this? Thanks. Dan On Fri, Nov 2, 2012 at 2:41 PM, sebb wrote: > On 2 November 2012 14:32, Daniel Corredor wrote: > > Hi Everyone, > > > > I am trying to develop an script in which I am unable to authenticate. > The > > analysis I have done for the script is the following: > > > > 1- Browse some initial pages, to get country, and language. > > > > 2- I get to the main sign in. At that point I extract 3 variables from > that > > page: > > goto=.... > > SunQueryParamsString-...... > > and > > SAMLRequest=...... > > > > 3- I get into the login page > > http://xxxxxx.com/sso/UI/Login > > In this step I post > > goto=.... > > SunQueryParamsString-...... > > plus the userid and password. > > > > > > However, the authentication fails. When I analyze the transactions using > > Badboy I see that on the login step (3) there are 3 subrequest one of > them > > gets a new SAMLRequest which is a bigger size and also a new URL with a > new > > parameter. Please refer below > > > > > http://xxxxxx/SSORedirect/metaAlias/serion/idp?ReqID=a41jgig0630g57de3igeh6h > > > > The questions: > > > > I am not sure how to extract the variables SAMLRequest and the ReqID= > from > > the http://xxxxxx.com/sso/UI/Login because it fails in Jmeter. So I am > not > > sure how I can handle that. > > > > Any ideas? > > > > Have you tried using the JMeter proxy to record the session? > > > Thanks in advance. > > > > Dan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > --047d7b343aea14596b04cd87beda--