# Runner custom request order

**URL:** <https://community.postman.com/t/runner-custom-request-order/5835>\
**Category:** Help Hub\
**Tags:** runnercollection, runner\
**Created:** [June 10, 2019, 7:17am UTC](https://community.postman.com/t/runner-custom-request-order/5835 "2019-06-10T07:17:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![postman-paul540](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/postman-paul540/32/149_2.png) [@postman-paul540](https://community.postman.com/u/postman-paul540)\
**Post date:** [June 10, 2019, 8:10am UTC](https://community.postman.com/t/runner-custom-request-order/5835/6 "2019-06-10T08:10:25Z")

</div>

Yep, I’ve been there 🙂

I may be biased here, but checkout my posts on using “beforeEachHooks” in Postman:

So if you have a User API and you want to create a new user per test scenario so you have no persisting data from other tests.

You’d want a “create user” request to run first, then run request 2. Then go back and create a new user and run request 3. etc.

I’ve used this method at my current place of work and it has dramatically cut down maintenance. There is a little bit of a learning curve whenever new testers start using my API tests but it’s SO much better than duplicating and maintaining the same request.

> [@My Code Snippets From The London Postman Summit - Paul Farrell](https://community.postman.com/t/my-code-snippets-from-the-london-postman-summit-paul-farrell/4591):
>
> Hey all, First of all, it was great meeting some of you that attended the Postman event. For those attended, I hope you enjoyed or got something out of my talk slight_smile I’ve been asked to upload the slides I used during my talk but the slides on their own are pretty pointless, as 90% of the content was me talking over images. So I’ll just upload the code examples used in the last third of the slides. For those that didn’t attend or need their memory jogging - this is about using “hooks”…

[https://community.postman.com/t/implement-hooks-to-postman-to-improve-maintainability-of-test-collections-before-beforeeach-aftereach-etc/3778](https://community.postman.com/t/implement-hooks-to-postman-to-improve-maintainability-of-test-collections-before-beforeeach-aftereach-etc/3778)

**My post on the below thread has example collections etc.**

> [@How to implement DRY / good coding practices?](https://community.postman.com/t/how-to-implement-dry-good-coding-practices/5500/6):
>
> @danny-dainton@chrissbaumann EDIT: I’ve attached an example collection/environment to see it in action. Just click the Download link at the top and import them into Postman. Postman Collection: [{ "info": { "\_postman\_id": "ae24430b-d0c0-4b0c-91ff-90a060d4611b", "name - Pastebin.com](https://pastebin.com/a57NL4gz) Postman Environment: [{ "id": "4d43c020-4c8c-43d8-b1ae-acaaecf7bd40", "name": "Restful Booker", - Pastebin.com](https://pastebin.com/aMEDjkU4) For me, keeping your tests DRY in Postman is one of the biggest challenges and it’s something that …

---

_[View the full topic](https://community.postman.com/t/runner-custom-request-order/5835)._
