# queryParam

**URL:** <https://community.gatling.io/t/queryparam/441>\
**Category:** Gatling (Open-Source)\
**Created:** [June 19, 2013, 4:30am UTC](https://community.gatling.io/t/queryparam/441 "2013-06-19T04:30:28Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [June 19, 2013, 4:30am UTC](https://community.gatling.io/t/queryparam/441/1 "2013-06-19T04:30:28Z")

</div>

Can’t you just pass a lambda, like queryParam(“numerOfSearchResultsOnGoogle”, session =\> 6 + ThreadLocalRandom.current.nextInt(2000))? You can already do that.

Stéphane
