I am working for a project which has several flows and as such is required api testing automation. However we need the following features when creating request workflows through postman:
- reuse the same request in multiple workflows.
- pause the postman runner after a given request, waiting for the user input before executing the next one. This is needed because the user needs to accept a notification via a mobile app and the test would fail if the next request would be sent before the approval of the user.
Let's say we have the requests P, D, N, C, R, here are some workflows:
- P->D(wait for user input)->N->D
- P->D(wait for user input)->N->D->C->R
For request reuse we could use something like this response: Request reuse in Postman, although I wanted to know if there are some more user-friendly alternatives.
Instead I don't know how and if it is possible to wait for user input before going on with the following requests. I know that I could setup a timer, but it is not correct in my use case, as the user may take a while to approve the request.
Have you any suggestion? Thanks.