I am testing a security service(running on remote linux server) which returns me an access token which is valid for 1 day.
I am writing a JMeter script to test this scenario. Here are the steps that i want to follow:
- Make a http token request to the service.
- Once the access token is received, validate if it is a valid token by resending it to the security service.
- Change system date and increment it by 1 day so that the token becomes invalid.
- Once invalid, validate it again by sending it to the security service.
I am not sure how can i execute step 3 and if it is possible via JMeter in the first place.
Stuck. Please suggest.
Thanks.