Getting an error while running Jmeter in GUI mode, Get to see the debug logs and details attached

510 views
Skip to first unread message

Nitesh Jain

unread,
Jan 15, 2014, 11:16:19 PM1/15/14
to jmeter-...@googlegroups.com
I'm getting an error like this

ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NullPointerException
at java.io.StringReader.<init>(Unknown Source)
at org.apache.jmeter.save.CSVSaveService.csvSplitString(CSVSaveService.java:1131)
at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:180)
at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:417)
at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:409)
at org.apache.jmeter.control.GenericController.next(GenericController.java:156)
at org.apache.jmeter.control.LoopController.next(LoopController.java:118)
at org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:88)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Unknown Source)


Anybody knows what went wrong ?

I'm using System variable by defining then as __property
Using the Json template by using a function __eval


Please help

Thanks
Nitesh

rvghoda...@gmail.com

unread,
Jan 16, 2014, 6:45:14 AM1/16/14
to jmeter-...@googlegroups.com
Your Jmeter is integrated with which tools?
and what do you want to do with the help of jmeter?
like load testing , performance testing etc???

gli...@gmail.com

unread,
Jan 17, 2014, 4:23:47 AM1/17/14
to jmeter-...@googlegroups.com
From the exception it appears that you don't provide anything to CSV Data Set config "Filename" input. 

JMeter knows nothing about System variables. To be able to access them via __property function you first need to set them during JMeter startup via "-J" command line argument

jmeter-JYOURPROPERTY=VALUE

 On setting you'll be able to access it as:

${__property(YOURPROPERTY,,)}


Hope this helps.

Nitesh Jain

unread,
Jan 20, 2014, 12:47:39 AM1/20/14
to jmeter-...@googlegroups.com

nitesh jain

unread,
Jan 20, 2014, 12:48:51 AM1/20/14
to jmeter-...@googlegroups.com
The problem is fixed.
Thank you all for your suggestions

The set the property and passed the values to csv .......


--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/DCHCK1g5rmg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Thanks and regards
Nitesh Jain
Software engineer
Bandra (west) Mumbai 40050
Zarca interactive Pvt. Ltd., 7,Pali Village, Bandra West, Mumbai – 400050. Office:+91-26006788  Extn : 120 |  Mobile: +91-9702867103 
Reply all
Reply to author
Forward
0 new messages