Actually I am not an expert of Java yet...What you recken we ca do to solve
s problem...I mean how to cache the response in jMeter and then proceed with
it?? %-|


sebb-2-2 wrote:
> 
> I've had a look at the cause.
> 
> It seems the problem is due to different behaviour for the method:
> java.beans.BeanInfo.getBeanDescriptor()
> 
> IBM returns a new instance each time, whereas Sun returns the same
> instance.
> 
> JMeter assumes that the same descriptor will be returned each time.
> 
> The Javadoc for the method does not say anything on the matter so I
> don't know if this is an IBM JVM bug or a JMeter bug. But it should be
> OK to cache the initial response in JMeter so I'll probably do that.
> 
> On 18/01/2010, sjunejo <[email protected]> wrote:
>>
>>  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 <[email protected]> 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 <[email protected]> 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:
>> [email protected]
>>  >>  >>  For additional commands, e-mail:
>> [email protected]
>>  >>  >>
>>  >>  >>
>>  >>  >
>>  >>  >
>> ---------------------------------------------------------------------
>>  >>  > To unsubscribe, e-mail: [email protected]
>>  >>  > For additional commands, e-mail:
>> [email protected]
>>  >>  >
>>  >>  >
>>  >>  >
>>  >>
>>  >>
>>  >> --
>>  >>  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: [email protected]
>>  >>  For additional commands, e-mail: [email protected]
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: [email protected]
>>  > For additional commands, e-mail: [email protected]
>>  >
>>  >
>>  >
>>
>>  --
>>
>> 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: [email protected]
>>  For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

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


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

Reply via email to