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 8BFE6D7A1 for ; Mon, 10 Sep 2012 13:04:01 +0000 (UTC) Received: (qmail 85722 invoked by uid 500); 10 Sep 2012 13:04:01 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 85533 invoked by uid 500); 10 Sep 2012 13:04:00 -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 85464 invoked by uid 99); 10 Sep 2012 13:03:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 13:03:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of flaviocysne@gmail.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 13:03:54 +0000 Received: by qcad1 with SMTP id d1so1135843qca.2 for ; Mon, 10 Sep 2012 06:03:33 -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=GR5YqAXaK/fdU3lgCz3cLyXMPXgzxx29lINZ/b3MVCw=; b=mXtTxQo1akmCgGDPwqS5OJNklxZ0tfeWtVBm71HdYMDFV3mAHCP8ju3l1VpSqcWzXp jV9t7aPmqCHyjteyP/DPQ7RJpenD+MRXBa/zAwA2KIl0rajJZidxpWzRMA6EQ0dXmY9l j7GtQ2/t/ZnHY1AOsZPfiVtPOpphhA2C3cZ9KCIjfqwJ0lw09bbOu8QeWnK28bPo3dh/ ChDJkMD8FnmhOAYbARhBZ7tJam0o3uPlaOLvxL/eYBWkyeoDg+Zw0eejsOSsuyy37eXw 71xBf8GcUBOfa1hEh3YTnQWVzKvFojsPTU8po14M4Rbd5ILnNq4PFNWVluXPvA8mTcFL kFmA== MIME-Version: 1.0 Received: by 10.224.199.135 with SMTP id es7mr15836801qab.6.1347282213798; Mon, 10 Sep 2012 06:03:33 -0700 (PDT) Received: by 10.49.11.177 with HTTP; Mon, 10 Sep 2012 06:03:33 -0700 (PDT) In-Reply-To: References: <504A540D.7030402@aldan.algebra.com> Date: Mon, 10 Sep 2012 10:03:33 -0300 Message-ID: Subject: Re: Setting values of variables based on output of external commands From: Flavio Cysne To: JMeter Users List Content-Type: multipart/alternative; boundary=20cf300fb31bc4030904c95895ac X-Virus-Checked: Checked by ClamAV on apache.org --20cf300fb31bc4030904c95895ac Content-Type: text/plain; charset=ISO-8859-1 Does "OS Process Sampler" sampler apply to this case? 2012/9/7 sebb > On 7 September 2012 21:07, Mikhail T. wrote: > > Hello! > > > > Can values of variables used by JMeter be set from executing external > > commands (sort of like back-tick substitution on shell command-line)? > > Do you need to run the command during the test? > Or are the values available before the test starts? > If so, I suggest you establish the values using standard shell > commands and pass them in using the -J command-line flag. > > > Thanks! Yours, > > > > -mi > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > --20cf300fb31bc4030904c95895ac--