u/indiengg

Handle 401s and session expiry in long regression suites

How to handle 401s and session expiry in long regression suites which took somewhere around 4+ hours, when token lifetime is close to 5-10 minutes and Rate limit issues from Oauth, for both UI + API automation using same credentials?

Please guide if anyone has faced this and found solution
I tried token refresh and ui login in between tests in tests.

reddit.com
u/indiengg — 11 days ago