# Check bodyString Json values.

**URL:** <https://community.gatling.io/t/check-bodystring-json-values/1355>\
**Category:** Gatling (Open-Source)\
**Created:** [September 3, 2014, 9:21am UTC](https://community.gatling.io/t/check-bodystring-json-values/1355 "2014-09-03T09:21:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swapnil\_Kotwal](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Swapnil\_Kotwal](https://community.gatling.io/u/Swapnil_Kotwal)\
**Post date:** [September 3, 2014, 9:21am UTC](https://community.gatling.io/t/check-bodystring-json-values/1355/1 "2014-09-03T09:21:37Z")

</div>

Hi,

On login to my web app, I got bodyString as a json, how can I check it’s values ?

```auto
body=
{"Message":"Success","Api_key":"xxxxxxx","Pcode":"xxxxxxx"}

I tried 

.exec(http("authorization")
      .post("/auth")
      .headers(headers_10)
      .queryParam("""email""", "${email}")
      .queryParam("""password""", "${password}")
      .check(status.is(200))
      .check(jsonPath("$.Message").is("Success")))
    .pause(1)

it through java.lang.NumberFormatException: For input string: "20-ea" error

```

---

<div class="post-metadata">

**Author:** ![Swapnil\_Kotwal](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Swapnil\_Kotwal](https://community.gatling.io/u/Swapnil_Kotwal)\
**Post date:** [September 3, 2014, 10:36am UTC](https://community.gatling.io/t/check-bodystring-json-values/1355/2 "2014-09-03T10:36:20Z")

</div>

From### Stéphane Landelle:-

I’m pretty sure this message is just a warn from Boon that failed to parse your Java version as you use a Early Access version of JDK8u20.  
If so, this was fixed in Boon 0.24 that’s shipped with Gatling 2.0.0-RC3.
