# My feeder value fails to get loaded

**URL:** <https://community.gatling.io/t/my-feeder-value-fails-to-get-loaded/3970>\
**Category:** Gatling (Open-Source)\
**Created:** [October 10, 2017, 7:37am UTC](https://community.gatling.io/t/my-feeder-value-fails-to-get-loaded/3970 "2017-10-10T07:37:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![George](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@George](https://community.gatling.io/u/George)\
**Post date:** [October 10, 2017, 7:37am UTC](https://community.gatling.io/t/my-feeder-value-fails-to-get-loaded/3970/1 "2017-10-10T07:37:43Z")

</div>

Hi guys,

Sometimes, the exact same simulation that worked a minute ago, runs into this error:

10:06:12.843 [ERROR] i.g.h.a.s.HttpRequestAction - ‘httpRequest-3’ failed to execute: No attribute named ‘password’ is defined

> Failed to build request LOGIN\_request\_1: No attribute named ‘p 1 (100.0%)  
> assword’ is defined

If I run the exact same simulation again, more than likely it will work. So it’s a strange intermittent problem.

The relevant code is this:

object Login {  
val feeder = csv(“/home/george/gatling-charts-highcharts-bundle-2.3.0/user-files/simulations/drt\_67\_searchANI\_play\_open/logins.csv”).random  
val login = exec(http(“LOGIN\_request\_0”)  
.get(“/DTR/”)  
.headers(headers\_0))  
.pause(3)  
.feed(feeder)  
.exec(http(“LOGIN\_request\_1”)  
.post(“/DTR/list”)  
.headers(headers\_0)  
.formParam(“user”, “${username}”)  
.formParam(“psw”, “${password}”))  
.pause(5)  
}

The csv file is of course fine, with the two column names on top and 17 rows of data below, like this:

username,password  
user1,pass1  
user2,pass2  
user3,pass3

Please advise.

Thanks,  
George

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 11, 2017, 8:49am UTC](https://community.gatling.io/t/my-feeder-value-fails-to-get-loaded/3970/2 "2017-10-11T08:49:06Z")

</div>

Hi,

Could you please provide an actionnable reproducer, like a sample project on Github?

Thanks,

---

<div class="post-metadata">

**Author:** ![George](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@George](https://community.gatling.io/u/George)\
**Post date:** [October 15, 2017, 3:49pm UTC](https://community.gatling.io/t/my-feeder-value-fails-to-get-loaded/3970/3 "2017-10-15T15:49:37Z")

</div>

Hello and thanks for answering,

As I found out, the problem was due to a blank line at the end of my feeder CSV file. Whenever that was randomly picked, I got the error. So it was my fault after all. It was blank so a bit hard to… see. 🙂

George
