# error: value formParam is not a member of io.gatling.http.request.builder.HttpRequestBuilder

**URL:** https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678
**Category:** Gatling (Open-Source)
**Created:** [November 12, 2014, 3:21pm UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678 "2014-11-12T15:21:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Venu\_J](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@Venu\_J](https://community.gatling.io/u/Venu_J)
#### Post date: [November 12, 2014, 3:21pm UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/1 "2014-11-12T15:21:33Z")

</div>

“mvn install” is getting failed as mentioned snapshot of the error below:

[INFO] Compiling 5 source files to \<…path…\>  
[ERROR] \<…path…\>: error: value formParam is not a member of io.gatling.http.request.builder.HttpRequestBuilder  
[ERROR] possible cause: maybe a semicolon is missing before `value formParam’?  
[ERROR] .formParam(“author”, “${username}”)  
[ERROR] ^  
[ERROR] one error found  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE

my pom.xml :

---

<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: [November 12, 2014, 4:33pm UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/2 "2014-11-12T16:33:35Z")

</div>

This issue is that only post() currently support formParam.  
Is it intended that you want x-www-form-url-encoded ContentType for a method different from POST?

---

<div class="post-metadata">

### Author: ![Venu\_J](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@Venu\_J](https://community.gatling.io/u/Venu_J)
#### Post date: [November 13, 2014, 5:57am UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/3 "2014-11-13T05:57:01Z")

</div>

It is not intended.  
This issue is only with put() method.

when I use formParam with put() method, I get this error: value formParam is not a member of io.gatling.http.request.builder.HttpRequestBuilder

Thanks,  
-V

---

<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: [November 13, 2014, 6:56am UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/4 "2014-11-13T06:56:55Z")

</div>

I added support for x-www-form-urlencoded params for PUT (and other methods as well) only yesterday and it will be available in 2.1: [https://github.com/gatling/gatling/issues/2366](https://github.com/gatling/gatling/issues/2366)

Honestly, it’s pretty exotic, you’re the first one to ever report doing such a thing.

---

<div class="post-metadata">

### Author: ![Venu\_J](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@Venu\_J](https://community.gatling.io/u/Venu_J)
#### Post date: [November 13, 2014, 9:37am UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/5 "2014-11-13T09:37:30Z")

</div>

Thanks for the info Landelle, I tried to upgrame gatling to 2.1 [Sonatype OSS Snapshots repository](https://oss.sonatype.org/content/repositories/snapshots/) using maven.  
Unluckily, I could not succeed to migrate to 2.1  
Can you share the procedure to migrate to 2.1 using mavin.

Regards,  
-V

---

<div class="post-metadata">

### Author: ![Venu\_J](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@Venu\_J](https://community.gatling.io/u/Venu_J)
#### Post date: [November 14, 2014, 1:15pm UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/6 "2014-11-14T13:15:46Z")

</div>

Can you provide maven repository ([http://maven-repository.com/](http://maven-repository.com/)) for 2.1 version that support for x-www-form-urlencoded params for PUT.

---

<div class="post-metadata">

### Author: ![Venu\_J](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@Venu\_J](https://community.gatling.io/u/Venu_J)
#### Post date: [November 17, 2014, 11:16am UTC](https://community.gatling.io/t/error-value-formparam-is-not-a-member-of-io-gatling-http-request-builder-httprequestbuilder/1678/7 "2014-11-17T11:16:21Z")

</div>

Gentle reminder…

can you please suggest
