# Get bearer tokens for k users, then make n concurrent requests with them

**URL:** <https://community.gatling.io/t/get-bearer-tokens-for-k-users-then-make-n-concurrent-requests-with-them/8882>\
**Category:** Gatling (Open-Source)\
**Tags:** gatling-academy\
**Created:** [April 11, 2024, 4:03pm UTC](https://community.gatling.io/t/get-bearer-tokens-for-k-users-then-make-n-concurrent-requests-with-them/8882 "2024-04-11T16:03:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)\
**Post date:** [April 13, 2024, 4:04pm UTC](https://community.gatling.io/t/get-bearer-tokens-for-k-users-then-make-n-concurrent-requests-with-them/8882/2 "2024-04-13T16:04:01Z")

</div>

Hi @StefanFischer,

Did you have a look at @GeMi proposal?

> [@Token Refresh - Java - Example](https://community.gatling.io/t/token-refresh-java-example/7935):
>
> I see that lot of people asking about solution to refresh Token when expired. I have prepared Case0022SetOrRefreshTokenSimulation where Token is refreshed every some period of time. What you think about this solution @slandelle @sbrevet ?

I think your use cases are close to each other.

Cheers!

---

_[View the full topic](https://community.gatling.io/t/get-bearer-tokens-for-k-users-then-make-n-concurrent-requests-with-them/8882)._
