From user-return-46832-archive-asf-public=cust-asf.ponee.io@jmeter.apache.org Mon Jun 25 07:47:24 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 335C3180627 for ; Mon, 25 Jun 2018 07:47:24 +0200 (CEST) Received: (qmail 52782 invoked by uid 500); 25 Jun 2018 05:47:22 -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 52771 invoked by uid 500); 25 Jun 2018 05:47:22 -0000 Delivered-To: apmail-jakarta-jmeter-user@jakarta.apache.org Received: (qmail 52768 invoked by uid 99); 25 Jun 2018 05:47:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2018 05:47:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 804BE1A0281 for ; Mon, 25 Jun 2018 05:47:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZtiB61QA_mcP for ; Mon, 25 Jun 2018 05:47:21 +0000 (UTC) Received: from n5.nabble.com (n5.nabble.com [162.253.133.81]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0DF735F195 for ; Mon, 25 Jun 2018 05:47:21 +0000 (UTC) Received: from n5.nabble.com (localhost [127.0.0.1]) by n5.nabble.com (Postfix) with ESMTP id 6BCBA70546D4 for ; Sun, 24 Jun 2018 22:47:20 -0700 (MST) Date: Sun, 24 Jun 2018 22:47:20 -0700 (MST) From: "glinius@live.com" To: jmeter-user@jakarta.apache.org Message-ID: <1529905640438-0.post@n5.nabble.com> In-Reply-To: <1021375191.2455422.1529523389147@mail.yahoo.com> References: <1021375191.2455422.1529523389147@mail.yahoo.com> Subject: Re: using the same user for all iterations MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit You can do this using one of JSR223 Test Elements or __groovy() function , the relevant code would be something like: > new File('test.csv').readLines().get(ctx.getThreadNum()) where *ctx* stands for JMeterContext class instance. More information on Groovy scripting in JMeter: Apache Groovy - Why and How You Should Use It -- Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org