jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjunejo <sjun...@temenos.com>
Subject Re: jMeter - Failed to read CSV in Linux
Date Mon, 18 Jan 2010 16:21:52 GMT

Actually I am testing this on IBM AIX machine and I am bound to use IBM
version of java....:(

I think I have run it from my Windows after all...thanks for your reply...I
have to test the same on Red Hat Linux, HP Itanium and Sun Sparc and they
all use Sun Java...hopefully it will be fine....will post here if stuck
again...

Thanks again...:)

SJunejo


sebb-2-2 wrote:
> 
> On 18/01/2010, sjunejo <sjunejo@temenos.com> wrote:
>>
>>
>>  Following is the information
>>
>>  $: java -version
>>  java version "1.6.0"
>>  Java(TM) SE Runtime Environment (build pap6460sr4-20090219_01(SR4))
>>  IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64
>>  jvmap6460-20090215_29883 (JIT enabled, AOT enabled)
>>  J9VM - 20090215_029883_BHdSMr
>>  JIT  - r9_20090213_2028
>>  GC   - 20090213_AA)
>>  JCL  - 20090218_01
> 
> I'm not sure that is compatible with the Sun JVMs; I've seen some
> issues with the behaviour of Beans, though I don't know if the
> differences are allowed by the spec.
> 
> Please try with a Sun JVM if you can.
> 
>>  With jMeter 2.3.2
> 
> Current version of JMeter is 2.3.4.
> 
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > What JVM are you using?
>>  >
>>  > On 18/01/2010, sjunejo <sjunejo@temenos.com> wrote:
>>  >>
>>  >>  Hi,
>>  >>
>>  >>  I have a working jmeter script on windows which looks like as
>> follows;
>>  >>
>>  >>  TestPlan
>>  >>  --ThreadGroup1
>>  >>  ----Servlet1
>>  >>  ----CSV1
>>  >>  ----Servlet2 (Using CSV Data)
>>  >>
>>  >>  --ThreadGroup2
>>  >>  ----Servlet1
>>  >>  ----CSV2
>>  >>  ----Servlet2 (Using CSV Data)
>>  >>  .
>>  >>  .
>>  >>  .
>>  >>  --ThreadGroup10
>>  >>  ----Servlet1
>>  >>  ----CSV10
>>  >>  ----Servlet2 (Using CSV Data)
>>  >>
>>  >>  But When I am starting my test plan only 'Servlet1' in each thread
>> group
>>  >>  runs and jmeter failt to load CSV which will be providing data to
>>  >> 'Servlet2'
>>  >>  and test plan finishes with following exception in log file;
>>  >>
>>  >>  I am getting 10 Exceptions - One for each CSV
>>  >>
>>  >>  2010/01/18 14:08:15 INFO  - jmeter.threads.JMeterThread: Thread
>>  >> DEMOTEST10
>>  >>  10-1 started
>>  >>  2010/01/18 14:08:15 ERROR - jmeter.threads.JMeterThread: Test
>> failed!
>>  >>  java.lang.NullPointerException
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.config.CSVDataSetBeanInfo.getShareModeAsInt(CSVDataSetBeanInfo.java:102)
>>  >>         at
>>  >> 
>> org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:107)
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:316)
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:306)
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.control.GenericController.next(GenericController.java:125)
>>  >>         at
>>  >> 
>> org.apache.jmeter.control.LoopController.next(LoopController.java:106)
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:180)
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.control.GenericController.next(GenericController.java:143)
>>  >>         at
>>  >> 
>> org.apache.jmeter.control.LoopController.next(LoopController.java:106)
>>  >>         at
>>  >> org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:124)
>>  >>         at
>>  >> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
>>  >>         at java.lang.Thread.run(Thread.java:735)
>>  >>
>>  >>  What I already tried and it didn't help;
>>  >>
>>  >>  1) Remove special charactors from the end of each line in linux
>>  >>  2) Verified the case sensitive names of the CSV file
>>  >>  3) Provide complete path of CSV in test plan CSV node but no use
>>  >>
>>  >>  Any one who can help me with this please????
>>  >>
>>  >>  Thanks
>>  >>
>>  >>  --
>>  >>  Sjunejo
>>  >>
>>  >>
>>  >>  --
>>  >>  View this message in context:
>>  >>
>> http://old.nabble.com/jMeter---Failed-to-read-CSV-in-Linux-tp27212412p27212412.html
>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  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
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://old.nabble.com/jMeter---Failed-to-read-CSV-in-Linux-tp27212412p27212500.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/jMeter---Failed-to-read-CSV-in-Linux-tp27212412p27212915.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message