Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 35955 invoked from network); 2 Jan 2007 15:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2007 15:34:46 -0000 Received: (qmail 29855 invoked by uid 500); 2 Jan 2007 15:34:50 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 29836 invoked by uid 500); 2 Jan 2007 15:34:50 -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 29825 invoked by uid 99); 2 Jan 2007 15:34:50 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of sebbaz@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2007 07:34:48 -0800 Received: by ug-out-1314.google.com with SMTP id 32so5223106ugm for ; Tue, 02 Jan 2007 07:33:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fg6YvDEDfn/p8QSTGj8oiWJ/iWPl0h0ZZH1JCOlvG/3KV2/o7fXw5BgXKzo0LStDkIXM2xG15/TM2kA754dGv/u/4CBXfpttAfa+y+vK7UwPF8eTckVXoadnYysYSWJQck1RDUm0PJzWeq3Uejc6ZwoEOc3Rdi1qDKjaEx3ulBE= Received: by 10.78.183.15 with SMTP id g15mr1938184huf.1167752000124; Tue, 02 Jan 2007 07:33:20 -0800 (PST) Received: by 10.78.105.19 with HTTP; Tue, 2 Jan 2007 07:33:20 -0800 (PST) Message-ID: <25aac9fc0701020733q7381b5ddo9ea8fbcf2b859e5d@mail.gmail.com> Date: Tue, 2 Jan 2007 15:33:20 +0000 From: sebb To: "JMeter Users List" Subject: Re: Open .jmx in eclipse In-Reply-To: <1D04CF16-D9C4-447D-8B68-DC7C8569C8F9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1D04CF16-D9C4-447D-8B68-DC7C8569C8F9@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 02/01/07, Mat Schaffer wrote: > I'm trying to set up eclipse so I can open the jMeter test files just > by clicking on them. But googling for the info hasn't proved > fruitful. So my questions are... > > (1) Is there a way I can coax jMeter to run in a cwd other then it's > own bin directory? Although the startup script looks like it > provides the full lib path I run into the following problems that > look like it's being ignored inside the app: > > java.lang.Throwable: Could not access /Users/lib > at org.apache.jmeter.NewDriver.(NewDriver.java:77) > java.lang.Throwable: Could not access /Users/lib/ext > at org.apache.jmeter.NewDriver.(NewDriver.java:77) > java.lang.Throwable: Could not access /Users/lib/junit > at org.apache.jmeter.NewDriver.(NewDriver.java:77) > I assume that you are using some form of Unix-like OS? Looks like it is not finding the JMeter home directory. It tries to do this by looking at the property "java.class.path", which is expected to be some_path/ApacheJMeter.jar as set by the -jar xxxx parameter if the classpath has more entries, then it uses "user.dir". In both cases the JMeter home directory is taken to be the parent of the above. It's vital that the jmeter script and JMeter jar are both located in the bin directory. > (2) Is there a way I can tell jMeter to open a test plan on startup > rather than just opening a new plan? Just providing the file as an > argument doesn't seem to do it. -t testplan.jmx should work. > Thanks, > Mat > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org