Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 42060 invoked from network); 1 Aug 2006 20:39:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Aug 2006 20:39:57 -0000 Received: (qmail 2722 invoked by uid 500); 1 Aug 2006 20:39:54 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 2699 invoked by uid 500); 1 Aug 2006 20:39:54 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 2688 invoked by uid 99); 1 Aug 2006 20:39:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 13:39:54 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of amelaao@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 13:39:54 -0700 Received: by py-out-1112.google.com with SMTP id t32so1332966pyc for ; Tue, 01 Aug 2006 13:39:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Rh3Lf8yVRkYQwh4W3zZMs4XMNB8HznQc1nrbJZQgGC3rAs1CZgJbTptPAOU0siItyBM0w/n7omwmOt5vAcq5eORLGziyTwbz4gapXpnN6u9RBD8NyDVuH41lYoVVftq3UOBnO8I/70iKWjNNmPNo7L17ADt7mDDAXHu+1to20/I= Received: by 10.65.114.11 with SMTP id r11mr62572qbm; Tue, 01 Aug 2006 13:39:28 -0700 (PDT) Received: by 10.65.186.16 with HTTP; Tue, 1 Aug 2006 13:39:28 -0700 (PDT) Message-ID: Date: Tue, 1 Aug 2006 15:39:28 -0500 From: amelaao To: "JMeter Users List" Subject: User Defined variable and BeanShell function MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3355_7171707.1154464768191" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3355_7171707.1154464768191 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm trying to manipulate a string (replace some characters) using BeanShell function and store this new string as a user defined variable. This is the code I have but it does not do what it is supposed to do: ${__BeanShell(String str = new String("${Attributes}"); String newstr = str.replace("<"\,"