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 04834FFED for ; Tue, 26 Mar 2013 22:35:45 +0000 (UTC) Received: (qmail 83840 invoked by uid 500); 26 Mar 2013 22:35:44 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 83788 invoked by uid 500); 26 Mar 2013 22:35:44 -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 83779 invoked by uid 99); 26 Mar 2013 22:35:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 22:35:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sginsbourg@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 22:35:39 +0000 Received: by mail-wi0-f176.google.com with SMTP id hm14so1711496wib.3 for ; Tue, 26 Mar 2013 15:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=l0f6C3trmHr5/rjtyi7zqg5CQ3NH0o93k0/5NSQ+tno=; b=ChSr+N3zhW/Hb+JGTIVSJZjesLwNCGh8mIxAW2ynHU+7Rh5MNjYEPNj4DsKOziq+8a O6fY6THfQI/s2jj+pAgTQkMl5xx7ym72GiR5eabed7WPgwsWSJAbOZvgxd70PNGCSgbe BUHUGJ1EGjTm6WsHnsVKrcV2/C5b4f1YVhLG+6xBZ1kwKaj5lDCGOSmdKXSN9iE3TK1b 9d20OX9gY4UP/fxbp5yMOEVv381THbsnkeoC9HI00cIToaCZFjzbV7EUcfqGfkqr4DUh G/ALd7DlFOwYVdBC32ljSy0crXIhslIxNBgO7FychOPRLu6hE1VzyHYaOmEHXJichzHe 95rg== X-Received: by 10.194.11.70 with SMTP id o6mr18769467wjb.29.1364337318967; Tue, 26 Mar 2013 15:35:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.214.197 with HTTP; Tue, 26 Mar 2013 15:34:38 -0700 (PDT) In-Reply-To: <1299948103DCAD4BA7ACE897E5B78D9914482F44F7@OCTEXCH3.octanner.com> References: <1299948103DCAD4BA7ACE897E5B78D9914482F44F7@OCTEXCH3.octanner.com> From: Shay Ginsbourg Date: Wed, 27 Mar 2013 00:34:38 +0200 Message-ID: Subject: Re: Regular Expression Extractor Returns Spaces instead of characters To: JMeter Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org What happens after encoding the request that sends that variable back to the server side ? On Wed, Mar 27, 2013 at 12:19 AM, Aaron Tracy wrote: > > Hi! > > I've got a regular expression ( > content=\"([A-Za-z0-9!"#$%&'()*+,./:;<=>?@\^_`{|}~-]+)\" name="csrf-token ) > That grabs my authentication token, the problem that I'm having is that when > I use the variable that should have my authentication token that looks like > this: > > ELVM+rEgERKSGA4d9mld+PiMf1dRtub9wuuBE1rKflM= > > Is stored in the variable and used in another request, the + and = are > stripped from the token and > > ELVM rEgERKSGA4d9mld PiMf1dRtub9wuuBE1rKflM > > Is used instead which causes my script to break. I've tried to wrap a > function around it to replace all spaces with a + but that didn't work ( not > to mention this doesn't handle the missing = ). How do I escape the + and = > characters so the variable retains the + and = signs? > > Thank you! > -- Providing quality services to the highly appreciated customers: * Applango.com * Arad Technologies Ltd * Astea Israel Ltd * BioControl Medical Ltd * Biometrix Ltd * Cognifit.com * Earlysense Ltd * Given Imaging Ltd * Idit Software Solutions * In-House * Israeli Ministry of Finance * Menora Insurance * Mentors Channel * Mominis.com * Ness Technologies * ORAM International * Partner-Orange * Peer39 * Physio-Logic Ltd * Pneumedicare Ltd * RealCommerce Ltd * Safecharge International * Shaker.com * Strauss-Water Tami4 * Tact-Matrix * TaKaDu.com * Tel-Aviv University * Tescom-ONE * TesTeam Ltd * Tuttnauer Ltd * Verix Ltd * Visionix Ltd * Visionsense Ltd * WinBuyer.com * XMPie-Xerox Special notice: In 2013, the entire operation of Ginsbourg.Com is being upgraded to cloud-based quality service. Regards, Shay Ginsbourg Regulatory & Testing Affairs Consultant WWW.GINSBOURG.COM Providing Regulatory, Medical & Performance Testing services since 2008: * IEC 62304 Medical Device Software Life Cycle * IEEE 829 Software Test Documentation * ISO 14971 Medical Device Risk Management * FDA 21 CFR Part 11 Software Validation * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment * End-to-end verification, validation, and testing (VV&T) * FDA and CE submissions * Open source free testing tools implementation * Functionality and regression testing * Software Performance & Load testing * Software Testing Advanced Automation * Medical Software Verification & Validation * Medical Device Verification & Validation * Medical Device Regulatory Submission * Organizational Regulatory Qualification Formerly QA Manager of LoadRunner at Mercury Interactive M.Sc. cum laude in Bio-Medical Engineering M.Sc. in Mechanical Engineering Work: +972(0)3-5185873 Mobile: +972(0)54-6690915 Email: sginsbourg@gmail.com Visit my personal page on LinkedIn at: http://www.linkedin.com/in/shayginsbourg Please consider your environmental responsibility before printing this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org