# Issue with multipart form data upload in Gatling 2.0.0-M3

**URL:** <https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764>\
**Category:** Gatling (Open-Source)\
**Created:** [January 6, 2014, 11:11pm UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764 "2014-01-06T23:11:58Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [January 9, 2014, 6:39am UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/21 "2014-01-09T06:39:21Z")

</div>

Which version of Gatling 1 did you use when it used to work?

---

<div class="post-metadata">

**Author:** ![Vivek\_R](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@Vivek\_R](https://community.gatling.io/u/Vivek_R)\
**Post date:** [January 9, 2014, 6:43am UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/22 "2014-01-09T06:43:45Z")

</div>

Gatling 1.5.3. Even with that I didn’t try running more than 20 users. So not sure if the problem exists in 1.5.3 or not.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [January 9, 2014, 7:05am UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/23 "2014-01-09T07:05:33Z")

</div>

Could you give it a try with 1.5.3, please? If there’s a problem on Gatling side, it lies deep into Netty, and that’s not somewhere I like investigating…

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [January 9, 2014, 12:45pm UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/24 "2014-01-09T12:45:14Z")

</div>

Actually, are you sure you’re not saturating your NIC?

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [January 9, 2014, 1:48pm UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/25 "2014-01-09T13:48:03Z")

</div>

Also, which JDK do you use?

---

<div class="post-metadata">

**Author:** ![Vivek\_R](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@Vivek\_R](https://community.gatling.io/u/Vivek_R)\
**Post date:** [January 9, 2014, 6:25pm UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/26 "2014-01-09T18:25:04Z")

</div>

java version "1.6.0\_27"  
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.4)  
OpenJDK Server VM (build 20.0-b12, mixed mode)

We have a 100 MB network between the client and the server and I'm  
pretty sure we're not saturating our NIC. When we run 18 to 20  
concurrent files (Average file sizes: 14 MB), it might slow down and  
get high response times, but not just die abruptly  
Vivek

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [January 9, 2014, 7:12pm UTC](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764/27 "2014-01-09T19:12:06Z")

</div>

I checked the AHC code and had a chat with the author, Jean-François Arcand: this is plain NIO code, so the problem might be a JVM NIO implementation bug.  
Your JDK is quite old (more than 2,5 year old), so could you try upgrading? Could you also try switching from OpenJDK to Hotspot?

[Previous page](https://community.gatling.io/t/issue-with-multipart-form-data-upload-in-gatling-2-0-0-m3/764.md?page=1)
