Hi guys, need help from you guys for a usecase
I have a scenario where session expires in 20mins and i need to refresh the session after expiry.
Use case : If any request fails with 401 , i need to call a new request which will refresh the session.
If Response code = 401 for Request1 ,
ignore tests and, Call Request2 and go back to Request 1 :
else Call Request 3
Can someone help me with script for the usecase