How to run one request from another using Pre-request Script in Postman

后端 未结 6 1246

I\'m trying to send an authenticated request with one click in postman.

So, I have request named \"Oauth\" and I\'m using Tests to store the token in a local variable.

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-31 02:44

    You can't send another request from Pre-request Script section, but in fact, it's possible to chain request and run one after another.

    You collect your request into collection and run it with Collection Runner.

    To view request results you can follow other answer.

提交回复
热议问题