Regression in CSV parsing because of csv-parse upgrade.
See original GitHub issueA new version of csv-parse
, i.e. 4.3.0
was released on Dec 31, 2018. This version has some validation refinements including one for the from_line
option. artillery passes the from_line
option as either 1 or 0 depending on whether headers should be skipped or not. This should be changed to use 2 or 1 instead.
Affected line in artillery/lib/commands/run.js
:
from_line: typeof payloadSpec.skipHeader === true ? 1 : 0,
This should be changed to:
from_line: typeof payloadSpec.skipHeader === true ? 2 : 1,
Alternatively, package.json should be changed to use
"csv-parse": "4.2.0",
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
encoding issue with CSV.parse - ruby on rails - Stack Overflow
My goal is to upload a file containing rows of firstname and lastname, parse it and create Person model in db for each...
Read more >csv-parse - npm
The csv-parse package is a parser converting CSV text input into arrays or objects. It is part of the CSV project. It implements...
Read more >Parsing Comma Separated Value (CSV) Files using Univocity
In this recipe, we will see how we can parse CSV files and handle data points retrieved from them. Getting ready. In order...
Read more >Implement the CSV parser UI [#2669974] | Drupal.org
Contains parser configuration form displayed on the feed form. feeds/src/Component/CsvParser.php. Loops through the CSV data and parses it. The ...
Read more >Data driven testing using csv in Protractor
Hi i found another csv module : csv-parse ... 'function'){ sleep(1) } for(let a of testdata){ it('test {Regression} {Sanity} {Sanity}', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. When can I expect the latest code on npmjs.com?
Can someone please look at my pull request for this? All artillery scripts using CSV files are broken with the latest version.