Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 60724 invoked from network); 2 Jul 2007 16:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 16:27:30 -0000 Received: (qmail 10934 invoked by uid 500); 2 Jul 2007 16:27:30 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 10911 invoked by uid 500); 2 Jul 2007 16:27:30 -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 10900 invoked by uid 99); 2 Jul 2007 16:27:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 09:27:30 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ajitrw@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 09:27:26 -0700 Received: by py-out-1112.google.com with SMTP id a25so3069217pyi for ; Mon, 02 Jul 2007 09:27:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Adk+UUDcvVOhdo8Q2z3gkr24xOFTKWyL6v9EGe/n9swcoxcZTssXC5MjuYUh6DW1UgLcyvmNGMDOb7FKGtjwRECt6hocF7HZauk7AvJjBXalSV+HmF9RfOFJFP2025Z4TXwX/hytTd+veYzxgaDXff4sAudl2CLYYiNdZ0gGG+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hlfy540PiPPaIoXBOEUS6DFyTgJzupxYCqL2achnjdPMzqNyOofAmOck47/wPZaDaIiyHbiMuKiNomLiOPH+diaI+J+dnoAo5COWmvO1wxtkb4wUEWsZfGEL+kn6FsljvPDq3HKjIC/0z2exCa6V15tA8qKH4dS3IEhzxPjUELQ= Received: by 10.64.151.17 with SMTP id y17mr9345532qbd.1183393624462; Mon, 02 Jul 2007 09:27:04 -0700 (PDT) Received: by 10.64.253.4 with HTTP; Mon, 2 Jul 2007 09:27:04 -0700 (PDT) Message-ID: Date: Mon, 2 Jul 2007 21:57:04 +0530 From: "Ajit Wagh" To: jmeter-user@jakarta.apache.org Subject: Issues with distributed JMeter and ${_StringFromFile()} function In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38187_25698701.1183393624430" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_38187_25698701.1183393624430 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Guys, I have setup Jmeter in distributed mode. In mater jmeter test plan - the file contining url is provided using function ${_StringFromFile(FILE)}. Location for FILE is JMeters bin directory. On local machine JMeter could read FILE and request ads mentioned in FILE, but on remote machine I could see file not found error. This error was resolved by copying FILE in slave Jmeters \bin directory. But on some remote machines... I could see file not found error in jmeter.log even though FILE was available in jmeters \bin directory - I further dig down the issue and I found that. After further digging the issue - I found 1. Master jmeter location is C:\JmeterServer 2. The slave jmeters where problem encountered - the Jmeter location is D:\JMeterServer If I change Jmeter slave location to C:\JmeterServer the problem solved =85 but I need to do it on more than 20 machines... and some machines are unix machines and its impossible to arrange C:\JmeterServer path in unix. Another solution I tried is hardcode path in ${_StringFromFile(FILE)} function e.g. ${_StringFromFile(C:\\FILE)} and ${_StringFromFile(C:/FILE)}, but slav= e jmeter log file says =85 C:\\FILE not found. Can anybody help me in solving this problem? JMeter.log file error is :--- INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2007/07/02 09:19:49 INFO - jmeter.functions.StringFromFile: setParameters(C:\\FILE) 2007/07/02 09:19:49 INFO - jmeter.functions.StringFromFile: Thread-119 opening file C:\FILE 2007/07/02 09:19:49 ERROR - jmeter.functions.StringFromFile: openFile() error: java.io.FileNotFoundException: C:\FILE (The system cannot find the file specified) 2007/07/02 09:19:49 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on 10.25.16.181 2007/07/02 09:19:49 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on 10.25.16.181 2007/07/02 09:19:49 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on 10.25.16.181 2007/07/02 09:19:50 INFO - jmeter.engine.StandardJMeterEngine: Starting 10 threads for group Thread Group. Ramp up =3D 1. 2007/07/02 09:19:50 INFO - jmeter.engine.StandardJMeterEngine : Continue o= n error 2007/07/02 09:19:50 INFO - jmeter.threads.JMeterThread: Thread Thread Grou= p 1-1 started 2007/07/02 09:19:50 INFO ------=_Part_38187_25698701.1183393624430--