Fixed NPE error when reading CSV file with fewer lines than number of…#26
Fixed NPE error when reading CSV file with fewer lines than number of…#26arthef wants to merge 2 commits intorollno748:masterfrom
Conversation
|
Hi @arthef How does your change of checking line is empty or null will fix it ? |
|
I am sorry for being too vague. Here is all the information I have: Thread Group settings:
Extended CSV Data Set Config:
It seems to me, the problem is that there are fewer lines in CSV file than requested threads number. JMeter attempts to allocate data for thread 5 - 10 but there is no more data in the file and My change, handles the Please let me know if you have any questions or if you need more information. |
If number of lines in the CSV file is lower than number of threads set in the Thread Group csvReadLine throws NPE.
This PR contains a simple fix, tested.