I got the base collection test which I need to reuse continually in other collection.
Example base request: login test
My current login generates a token (which I set in an environment variable and use that for different request) which expires in seconds so in order to avoid false failure due to expire token I am running login test as the first request before executing any other test. But the issue is when login test change (example: new header or payload data) then I have to change same test for every place where I have to perform login test first before I can run another test.
Is there any way where I can reuse a single login test request from one folder and my other requested get executed after login test?
Hope this makes sense. If not then please reply to me for more clarification.