# Feeder file missing to populate in POST .formParams

**URL:** <https://community.gatling.io/t/feeder-file-missing-to-populate-in-post-formparams/5834>\
**Category:** Gatling (Open-Source)\
**Created:** [October 9, 2020, 5:19am UTC](https://community.gatling.io/t/feeder-file-missing-to-populate-in-post-formparams/5834 "2020-10-09T05:19:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunil\_k](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sunil\_k](https://community.gatling.io/u/sunil_k)\
**Post date:** [October 9, 2020, 5:19am UTC](https://community.gatling.io/t/feeder-file-missing-to-populate-in-post-formparams/5834/1 "2020-10-09T05:19:56Z")

</div>

Sorry For the BigEmail but wanted to put in all the details to share the complete picture.

I am using a maven archetype to create my project . I am on scala 3.3.1

here’s my Project structure :

![image.png]()

**My Issue**

I have a feeder file which sometimes fails to populate the data in the exec POST calls. I tried circular and also random . ( val upFeeder = csv(“data/usrpwd.csv”).random)

**How I found this Issue**

Found the formParam in my POST requests missing in my server logs , hence created this chainBuilder and a scenario to prove it the issue with the Feeder File.  
_\<wul:Failure iPhone\_XXXX=“Please enter your user name” Location="/35k\_0710\_tm/login-auth.xml" Reason=“IllegalArgumentException”\>Please enter your user name\</wul:Failure\>\</wul:Auth\_Response\>_

![image.png]()

**How did i conclude its the gatline feeder causing this error?**  
1 .Just to validate my AUT, I hard coded my POST exec form params and ran a heavy test and they work very like charm.I’m more confident its something witht he feeder file usage.  
2 . In order to check the gatling side of things , I removed all my app logics and created this simple feederTest.

**STEPS**

1. I could reproduce the feeder issue by creating a dummy test for feeder file.

_Feeder file_ : Place few (or even just one logline) entry in this csv file with headers ( userName , password)  
In my feeder file There is no blank line at the end of the csv file.  
_$ cat usrpwd.csv_  
_username,password_  
_u00001,somepassword_  
_u00002,somepassword_

---

<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 9, 2020, 6:42am UTC](https://community.gatling.io/t/feeder-file-missing-to-populate-in-post-formparams/5834/2 "2020-10-09T06:42:25Z")

</div>

Hello,

First of all, please upgrade to Gatling 3.4.0 as you’re using a deprecated version.  
Then, if you can still reproduce, please check your feeder file for non printable characters that could break the csv parsing or your printing (ie what you send if not what you see).  
If you can’t spot anything suspicious, please provide your feeder file.

---

<div class="post-metadata">

**Author:** ![sunil\_k](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sunil\_k](https://community.gatling.io/u/sunil_k)\
**Post date:** [October 9, 2020, 7:52am UTC](https://community.gatling.io/t/feeder-file-missing-to-populate-in-post-formparams/5834/3 "2020-10-09T07:52:05Z")

</div>

I upgraded to 3.4 . It complained about some compatibility at the “IDEPathHelper.scala” files .  
I fixed it by copying these files from the mvn:gatling repo from [https://github.com/gatling/gatling-maven-plugin-demo/tree/master/src/test/scala](https://github.com/gatling/gatling-maven-plugin-demo/tree/master/src/test/scala)

Ran the same test with same feeder files and it worked with charm .

Thanks again.  
**Issue Resolution :** Upgraded to latest gatling version 3.4
