jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra0077 <...@git.apache.org>
Subject [GitHub] jmeter pull request: bug59153_ExceptionInCSVDataSetWithEmptyFilena...
Date Wed, 09 Mar 2016 13:00:07 GMT
GitHub user ra0077 opened a pull request:

    https://github.com/apache/jmeter/pull/162

    bug59153_ExceptionInCSVDataSetWithEmptyFilename

    Hi,
    
    When you add a CSV Data Set Config in your test plan and you don't fill
    the filename field we have an exception
    
    ERROR - jmeter.threads.JMeterThread: Test failed!
    java.lang.IllegalArgumentException: Could not read file header line
    	at
    org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:280)
    	at
    org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:178)
    	at
    org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:405)
    	at
    org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:397)
    	at
    org.apache.jmeter.control.GenericController.next(GenericController.java:158)
    	at
    org.apache.jmeter.control.LoopController.next(LoopController.java:123)
    	at
    org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:87)
    	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:238)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\XXXXXXXXX (Accès refusé)
    	at java.io.FileInputStream.open0(Native Method)
    	at java.io.FileInputStream.open(Unknown Source)
    	at java.io.FileInputStream.<init>(Unknown Source)
    	at
    org.apache.jmeter.services.FileServer.createBufferedReader(FileServer.java:419)
    	at org.apache.jmeter.services.FileServer.readLine(FileServer.java:345)
    	at org.apache.jmeter.services.FileServer.readLine(FileServer.java:329)
    	at
    org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:277)
    	... 8 more
    
    Antonio

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ra0077/jmeter bug59153_ExceptionInCSVDataSetWithEmptyFilename

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jmeter/pull/162.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #162
    
----
commit 53df603da71262acccb5eaac4c7b1a2db6597c7b
Author: ra0077 <ra0077@gmail.com>
Date:   2016-03-09T12:57:48Z

    Hi,
    
    Whe you add a CSV Data Set Config in your test plan and you don't fill
    the filename field we have an exception
    
    ERROR - jmeter.threads.JMeterThread: Test failed!
    java.lang.IllegalArgumentException: Could not read file header line
    	at
    org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:280)
    	at
    org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:178)
    	at
    org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:405)
    	at
    org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:397)
    	at
    org.apache.jmeter.control.GenericController.next(GenericController.java:158)
    	at
    org.apache.jmeter.control.LoopController.next(LoopController.java:123)
    	at
    org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:87)
    	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:238)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\XXXXXXXXX (Accès refusé)
    	at java.io.FileInputStream.open0(Native Method)
    	at java.io.FileInputStream.open(Unknown Source)
    	at java.io.FileInputStream.<init>(Unknown Source)
    	at
    org.apache.jmeter.services.FileServer.createBufferedReader(FileServer.java:419)
    	at org.apache.jmeter.services.FileServer.readLine(FileServer.java:345)
    	at org.apache.jmeter.services.FileServer.readLine(FileServer.java:329)
    	at
    org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:277)
    	... 8 more
    
    Antonio

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message