Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 82736 invoked from network); 11 Mar 2010 16:46:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 16:46:03 -0000 Received: (qmail 12186 invoked by uid 500); 11 Mar 2010 16:45:29 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 12151 invoked by uid 500); 11 Mar 2010 16:45:29 -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 12095 invoked by uid 99); 11 Mar 2010 16:45:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 16:45:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 74.125.83.172 as permitted sender) Received: from [74.125.83.172] (HELO mail-pv0-f172.google.com) (74.125.83.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 16:45:22 +0000 Received: by pvg2 with SMTP id 2so86853pvg.31 for ; Thu, 11 Mar 2010 08:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=T8wUqBlyiSmnttDd7le7P9Jf6FyX6sNoJ8JWuhInIcM=; b=VUHrwMz+IxobJGQljn/FCUWnyAbdIGUmuc/sS/Jm4ugxfH5d53PitgolTKuLptFOE+ AV333E5MvAPYyItO24EMKZxsKevb9j9j2otMXYM+v9iybFHG8Yi6L1MkVF9ci2NNHeix PeSH+GRmORRmocbMdr7K+5w27l6NNJhu4My2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Lk57ESX2St7/D5Gh0oCCCj14ZOU/rIq5hRSemF5bNE7ECf0r3kQdJpkwrYWy4L5g3n 63CFaNm8Ph6Mnh3ocMjoOaJ0ZkOrPQSTXe2qGku5gK5sjuOOEf2eZvnbOGupdVlGHjPb Fizr/rKyNuanSu6vDAS6eAV83gTF9WYgFDZso= MIME-Version: 1.0 Received: by 10.141.125.6 with SMTP id c6mr1906557rvn.59.1268325901174; Thu, 11 Mar 2010 08:45:01 -0800 (PST) In-Reply-To: <21148e341003110203g1f7c6bbcy36bc54c39a1c144f@mail.gmail.com> References: <21148e341003110203g1f7c6bbcy36bc54c39a1c144f@mail.gmail.com> Date: Thu, 11 Mar 2010 08:45:01 -0800 Message-ID: <4483c26c1003110845t14ef3f6p298ae168d7807d83@mail.gmail.com> Subject: Re: How to defined a parameter for user agent From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=0003255632d2cc88d104818922ff X-Virus-Checked: Checked by ClamAV on apache.org --0003255632d2cc88d104818922ff Content-Type: text/plain; charset=ISO-8859-1 hi Im not sure what you are trying to achieve here. The extractors are used to extract data from previous responses. The User-Agent is something the client sends, its not part of the response. You can define UserParameters if you want that have these values and send them as headers.. regards deepak On Thu, Mar 11, 2010 at 2:03 AM, Cynthia Li wrote: > Hi > I want to set a parameter to define the User Agent,e,g 'Mozilla/4.0 > (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727) > chromeframe/5.0.342.0' > How to defined it with xPath extractor or regular experession extractor? > > -- > Best Regards, > Cynthia Lee > --0003255632d2cc88d104818922ff--