Return-Path: X-Original-To: apmail-jakarta-jmeter-user-archive@www.apache.org Delivered-To: apmail-jakarta-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 4B70A9096 for ; Tue, 25 Oct 2011 10:43:39 +0000 (UTC) Received: (qmail 49074 invoked by uid 500); 25 Oct 2011 10:43:38 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 49044 invoked by uid 500); 25 Oct 2011 10:43:38 -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 49035 invoked by uid 99); 25 Oct 2011 10:43:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 10:43:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tonimenen@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 10:43:32 +0000 Received: by bkas6 with SMTP id s6so402878bka.31 for ; Tue, 25 Oct 2011 03:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Svy+ggYtr7ozhDrzqaCoP+UejlMdKi0XfD69JeW7Oes=; b=iTlAye7pJO9xjhwoja3qubI1UofnVuJORKSO3E49N5zShBFrquIDqQO3FwT4Bf1ajw bN+EgEeMLm1RxjyvMbiBZ8jtk0IzZQ+W0mozLJY3rFKu1UENNdMi+4lCUu06ossl6lWq TDaDCjXSYSA89bJy6ERYcNNJqqLJtD4BtalvM= MIME-Version: 1.0 Received: by 10.204.15.212 with SMTP id l20mr20567394bka.74.1319539390813; Tue, 25 Oct 2011 03:43:10 -0700 (PDT) Received: by 10.204.52.194 with HTTP; Tue, 25 Oct 2011 03:43:10 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Oct 2011 12:43:10 +0200 Message-ID: Subject: Re: generate variable from file From: Toni Menendez Lopez To: JMeter Users List Content-Type: multipart/alternative; boundary=00151750e1bca817e304b01d342e --00151750e1bca817e304b01d342e Content-Type: text/plain; charset=ISO-8859-1 The thing is that I want to execute a loop in the same thread with all values inside this file ( same as if I have done a regex ), with "CSV Data Set Config" the varaible it is not modified until I restart a new thread. This is my scenario -ThreadGroup -While not end of file -- request with url inside the file I tried "CSV Data Set Config" and all requests inside the WHILE are the same, and only modifyied when the next thread is restarted. Toni. 2011/10/25 sebb > On 25 October 2011 10:55, Toni Menendez Lopez wrote: > > Hello all, > > > > I send this just to know if someone has done something similar to the > next, > > > > I have 3 files with 20 inputs, and these inputs are used in my jmeter > > Scenario, and in order to avoid I/O with high Load I want to save all > input > > in a variable in memory to use later in a foreach. > > Are you sure you need to load the files into memory? > Have you tried using CSV Data Set Config? > > > Do you know how to generate a on memory variable based in a File ( > similar > > to variables generated with regex extractors ? ) > > The function > > http://jakarta.apache.org/jmeter/usermanual/functions.html#__CSVRead > > reads the file into memory. > > Thanks, > > > > Toni. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --00151750e1bca817e304b01d342e--