I'm writing test in Postman and I have multiple requests grouped like this:
Some test title:
Create a user (set of "pre-requests"):
- sending a few requests required to create a user, necessary to run tests
Some action on a created user (here I'm testing what is in the test title)
- one or more requests
- Another test title:
- Create a user (set of "pre-requests", the same as in test 1.):
- sending a few requests required to create a user, necessary to run tests
- Some action on a created user (not related ot test 1.)
- one or more requests
- Create a user (set of "pre-requests", the same as in test 1.):
To summarize I need to create a user before every request when I want to test something.
My question - How can I re-use "Create a user" set of requests without copying it?