Hi: I have what seems to me to be a common need, but I can’t figure out a simple way to do it in Postman. Specifically, I want to execute a series of requests against my backend, taking data from earlier tests and passing it to later tests. ie:
- Request entity A. Make a copy as A2. Modify some of the resulting A data.
- Post the modified entity A, check the result.
- Delete modified entity A
- Save entity A2, restoring the original state of the database.
The above lets me test my GET, PUT, DELETE, POST operations in sequence, but in order to do it in Postman I have code in 4 different requests that writes environment variables to pass the data between requests. There’s no simple way to see all that code at once. Am I missing something or is this just how Postman works?
Apologies if this is a stupid question - perhaps I’ve missed something very obvious, or am doing something wrong.