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 ABBD4D253 for ; Thu, 23 Aug 2012 16:23:27 +0000 (UTC) Received: (qmail 45349 invoked by uid 500); 23 Aug 2012 16:23:27 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 45312 invoked by uid 500); 23 Aug 2012 16:23: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 45302 invoked by uid 99); 23 Aug 2012 16:23:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 16:23:27 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shabazia09@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 16:23:20 +0000 Received: by vcdd16 with SMTP id d16so1153507vcd.2 for ; Thu, 23 Aug 2012 09:22:59 -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=K19TlECTI2hhyE98XLyKa2PTcH9WVpQdGymqEHuRCQA=; b=ZsXNmAU5Xj0odhN2vFzP1izNXaTu9r3o/Wau77QYTT36OkdmE8UI8c97gvHDHv+KCg wuIBolKAu5wyBxz+WZPRR23m+ve0NS7cUERNQAtp/223U3zvViDiL4v4tU0skYZxqh1a RTLNdWe+0ip3jJbjHlJ/FdAuaduVpBP8bc2sscYFzIuvsiRlTga7efMOD9OsM9bTEHIS ggcPNxj9Ge2q1M8WfI8WA/QrICB8Y3A8yTz0UWVb/szypmPsRRnynJC7mA/+snhzF2Rz 4QdLGmaHlXWtrrRPzBXVmiylI57N324yN7NV7QeFZHMjTMi79AjBK+v/RfV2UsDDgUJ3 l/gg== MIME-Version: 1.0 Received: by 10.220.247.137 with SMTP id mc9mr1737638vcb.52.1345738979730; Thu, 23 Aug 2012 09:22:59 -0700 (PDT) Received: by 10.58.58.209 with HTTP; Thu, 23 Aug 2012 09:22:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Aug 2012 17:22:59 +0100 Message-ID: Subject: Re: Need help: Very urgent : When a variable is send to a request as input parameter, + is replaced with %2B, '/' is replaced as '%2F' and '=' as %3D From: Shaba K To: JMeter Users List Content-Type: multipart/alternative; boundary=bcaec54b5434d8e36c04c7f145e6 --bcaec54b5434d8e36c04c7f145e6 Content-Type: text/plain; charset=ISO-8859-1 @Madhu, http://automationwithselenium.blogspot.co.uk/2012/02/regular-expression-extractor-testing.html have a look at this blog Hope it helps you cheers, s On Thu, Aug 23, 2012 at 4:34 PM, sharmila Renganathan wrote: > Extracted value is the one got from regular expression extractor. > Say , i extract a value and store it in a variable say Var1. > I use this variable in my next request as an input parameter ${var1}. > There will be encode option for every input parameter. > We need to uncheck the encode checkbox corresponding parameter (where u > enter ${var1}) > > Regards, > Sharmila R > > On Thu, Aug 23, 2012 at 11:14 AM, madhu sekhar >wrote: > > > Sharmila, > > > > What is extrcted value here? > > > > On Thu, Aug 23, 2012 at 8:42 PM, sharmila Renganathan < > > sharmila1.r@gmail.com > > > wrote: > > > > > Hey Niraj, > > > > > > Thnx a lot. Its working now !!! > > > > > > Regards, > > > Sharmila R > > > > > > On Thu, Aug 23, 2012 at 10:49 AM, Niraj > > wrote: > > > > > > > Second solution will be > > > > > > > > Reg will return: ${extarctedvalue} > > > > > > > > You'll have to Uncheck "Encode" column of the row where > > ${extarctedvalue} > > > > is used > > > > > > > > - Niraj > > > > > > > > On Thu, Aug 23, 2012 at 8:10 PM, sharmila Renganathan < > > > > sharmila1.r@gmail.com > > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > In a response data,i have a value 'net+work'.I am using regular > > > > expression > > > > > extractor and getting the value in the variable var1. > > > > > When i use this variable in my next request, it is getting replaced > > as > > > > > 'net%2Bwork' . > > > > > When i analzed, %2B is the ascii value for the '+'. (refer: > > > > > > > http://web.cs.dal.ca/~jamie/cs4173/examples/XHTML/entities/ASCII.html) > > > > > Similarly '/' is replaced as '%2F' and '=' as %3D. > > > > > So my request is getting failed. I dont get the proper response. > > > > > I used bean shell sampler to replace '%2B' with + and i put the new > > > value > > > > > in a variable var_new. > > > > > When i used this var_new as input to another request, Its again > > > replacing > > > > > with '%2B' > > > > > Its a show stopper issue for me to proceed further. > > > > > Can any one please come with a solution for this. > > > > > > > > > > Regards, > > > > > Sharmila R > > > > > > > > > > > > > > > > > > > > -- > > madhu kk > > > --bcaec54b5434d8e36c04c7f145e6--