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 A9C1EE576 for ; Sat, 1 Dec 2012 12:46:52 +0000 (UTC) Received: (qmail 71004 invoked by uid 500); 1 Dec 2012 12:46:51 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 70627 invoked by uid 500); 1 Dec 2012 12:46: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 70590 invoked by uid 99); 1 Dec 2012 12:46:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 12:46:43 +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 dongsheng.song@gmail.com designates 209.85.220.43 as permitted sender) Received: from [209.85.220.43] (HELO mail-pa0-f43.google.com) (209.85.220.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 12:46:35 +0000 Received: by mail-pa0-f43.google.com with SMTP id fb10so862910pad.2 for ; Sat, 01 Dec 2012 04:46:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=3YSbgKcpk/OgP+SCc9KZA1QbitACYArzrpi1BVxXpZQ=; b=ZKYtSeDXsz/tBKvwk60GQ8UcHQ0YkKQXn0CnjRHTKLqyIlxGXZoha1DDLLGlz/9ZW+ F4cNyHFoRMPGd+V/V6yhb1Sf+3zKgk6E1AoasF0lxBqHPhZud626hQrMuxgtg9o9Dngc kyM30RWJuo7fasMG0EIxkmGYGrXpoLCaYh27ZcPPMGTF+ooG1Odxo27JK0mDcljsJFqN CV5HOq8khdvHO5QiMqXDjQDKyuPtUFOX/7Z7PVpUcJbjygpyuVJMWyqpiUeQHvmQH9CW dBq6Zlj46jbfpBP0w1dg7TmMH+4aB1YuBmPMiNUh073Wgy/barnrQcIeoFAoJO9ROfUh znXA== Received: by 10.66.84.163 with SMTP id a3mr11359850paz.2.1354365974103; Sat, 01 Dec 2012 04:46:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.147.36 with HTTP; Sat, 1 Dec 2012 04:45:53 -0800 (PST) From: Dongsheng Song Date: Sat, 1 Dec 2012 20:45:53 +0800 Message-ID: Subject: Is there have any variables can be used within functions that generate different results each time they are called ? To: user@jmeter.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I want to execute the following test plan: HTTP POST SAMPLER - PAGE01 -- GOT SLEEP TIME ST, LOOP TIMES LT (got different values every sampler) LOOP LT TIMES SLEEP ST HTTP POST - PAGE02 --GOT ERROR CODE IF ERROR CODE != 0 BREAK LOOP But the test behavior looks unexpected, then I found 'UDVs should not be used with functions that generate different results each time they are called'. http://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables Thanks, Dongsheng --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org