# Same access token for all user request

**URL:** <https://community.gatling.io/t/same-access-token-for-all-user-request/8371>\
**Category:** Gatling (Open-Source)\
**Tags:** gatling-academy\
**Created:** [October 16, 2023, 5:57pm UTC](https://community.gatling.io/t/same-access-token-for-all-user-request/8371 "2023-10-16T17:57:06Z")\
**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:** [October 16, 2023, 6:38pm UTC](https://community.gatling.io/t/same-access-token-for-all-user-request/8371/2 "2023-10-16T18:38:51Z")

</div>

Hi @partheeban,

@GeMi was kind enough to implement a full example:

> [@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 ?

Cheers!

---

_[View the full topic](https://community.gatling.io/t/same-access-token-for-all-user-request/8371)._
