# How to properly use checkIf with multiple jsonPath extractions

**URL:** <https://community.gatling.io/t/how-to-properly-use-checkif-with-multiple-jsonpath-extractions/4936>\
**Category:** Gatling (Open-Source)\
**Created:** [April 11, 2019, 1:22pm UTC](https://community.gatling.io/t/how-to-properly-use-checkif-with-multiple-jsonpath-extractions/4936 "2019-04-11T13:22:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Michal](https://community.gatling.io/u/Michal)\
**Post date:** [April 11, 2019, 1:22pm UTC](https://community.gatling.io/t/how-to-properly-use-checkif-with-multiple-jsonpath-extractions/4936/1 "2019-04-11T13:22:49Z")

</div>

```auto
Hi,

```

```auto

```

```auto
I've got scenario when I send Get request which sometimes can return 404 and I don't want to report it as an error on the final reports.

```

```auto
Additionally if that request is successful I need to extract multiple values from json response.

```

```auto

```

```auto
Generally those 2 actions I want to use work for me fine when used independent i.e. 

```

```auto

```

```auto
1. exctract json response:

```

```auto

.check( 
 jsonPath("$..usrn").saveAs("usrn"), 
 jsonPath("$..street_descriptor").saveAs("street_descriptor"), 
 ....      
) 

```

```auto

```

```auto
2. Handle 404s:

```
