# Gatling CSV feeder read only n records from csv file

**URL:** https://community.gatling.io/t/gatling-csv-feeder-read-only-n-records-from-csv-file/4427
**Category:** Gatling (Open-Source)
**Created:** [July 19, 2018, 9:56pm UTC](https://community.gatling.io/t/gatling-csv-feeder-read-only-n-records-from-csv-file/4427 "2018-07-19T21:56:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sfly.test123](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sfly.test123](https://community.gatling.io/u/sfly.test123)
#### Post date: [July 19, 2018, 9:56pm UTC](https://community.gatling.io/t/gatling-csv-feeder-read-only-n-records-from-csv-file/4427/1 "2018-07-19T21:56:06Z")

</div>

Hi would it be possible to only read n records from a given csv file using Gatling’s CSV Feeder?

---

<div class="post-metadata">

### Author: ![sfly.test123](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sfly.test123](https://community.gatling.io/u/sfly.test123)
#### Post date: [July 19, 2018, 11:51pm UTC](https://community.gatling.io/t/gatling-csv-feeder-read-only-n-records-from-csv-file/4427/2 "2018-07-19T23:51:01Z")

</div>

Never mind figured it out. csv(filename).records.take(count)
