I have some folder with different request, something like:
Folder 1 request 1 request 2 request 3 Folder 2 request 1 request 2 request 3 Folder 3 request 1 request 2 request 3
The thing is that all request 1 use the same test (same for request 2 and request 3). The reason for this is that there are some little differences on the bodies, but the structure of the responses is similar.
The problem here is that I need to duplicate all those tests for all the folders, and if I make some change replicate it in all the instances of the tests.
Isn´t there any way to write this code only once, encapsulate like functions and then call these functions from the Test area of the request??
Thank you very much.