Hi,

As you see the problem is with properties file. When jmeter start it
looks up properties files in ..\bin directory, so there is 2 ways to
make it happy:
1. put the bin directory with properties file next to jmeter project
directory, so you should have jmeter-project directory and bin
directory on the same level, both in eclipse's workspace directory, or
2. in eclipse go to Profile Configuration, select your jmeter run
cronfiguration and in 'Arguments' view on the bottom in 'Working
directory' section select 'Other' and choose some subdirectory of you
jmeter project i.e. src or lib

Best regards
Jakub


2009/10/22 Ghania Ferrag <[email protected]>:
> Hi Every one,
>
> I created ExtendingJmeterSampler project in Eclipse ( where I did downloaded 
> the Source code and added the Binary libs ).
>  I run the ant target package and it compile successfully, then I want it to 
> Run it under Eclipse and got the following exception( see below)
>
> Do I have to copy manually the Jmeter properties file from 
> ${binaryJmeter_Home_Directory/bin/jmeter.properties} ? in case yes where I do 
> have to leave the file in the Jmeter-source eclipse project ?
>
> If someone get the same error before while trying running Jmeter in Eclipse 
> or knows what's the answer please help me !
>
> Thanks in advance for your responses,
>
> Regards,
>
> Ghania Ferrag
>
> java.lang.RuntimeException: Could not read JMeter properties file
>      at 
> org.apache.jmeter.util.JMeterUtils.loadJMeterProperties(JMeterUtils.java:178)
>      at org.apache.jmeter.JMeter.initializeProperties(JMeter.java:485)
>      at org.apache.jmeter.JMeter.start(JMeter.java:273)
>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>      at java.lang.reflect.Method.invoke(Unknown Source)
>      at org.apache.jmeter.NewDriver.main(NewDriver.java:207)
> An error occurred: Could not read JMeter properties file
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to