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 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 ?
Hi @GeMi,
Thanks for this code suggestion!
Here my comments:
scnForSetOrRefreshToken
:nothingFor(2)
: “waiting for the first credentials”Note:
queryParam
(personal taste)Cheers!
Hi @sbrevet,
Thank you for your valuable suggestions
I have make huge changes in code including your suggerstions
If it is possible please check my PR → Case0022SetOrRefreshTokenSimulation in new version by gemiusz · Pull Request #17 · gemiusz/gatling-examples-maven-java · GitHub
In few words what it’s going in Simulation now:
queryParam
Cheers!
@sbrevet thank you for review and comments in PR.
I will look closely at them at Sunday afternoon because I’m at trip
Cheers!