# Building a test strategy

**URL:** <https://community.postman.com/t/building-a-test-strategy/36207>\
**Category:** Help Hub\
**Created:** [June 14, 2022, 6:27pm UTC](https://community.postman.com/t/building-a-test-strategy/36207 "2022-06-14T18:27:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nogginboink](https://avatars.discourse-cdn.com/v4/letter/n/9d8465/32.png) [@nogginboink](https://community.postman.com/u/nogginboink)\
**Post date:** [June 14, 2022, 6:27pm UTC](https://community.postman.com/t/building-a-test-strategy/36207/1 "2022-06-14T18:27:37Z")

</div>

I’m building a backend API for an app that requires logging in. I’d like to build test cases of a sequence:

1. create account
2. confirm account
3. log in and get access token and refresh token
4. create an app widget
5. add a thingy to the widget

For each step, I want to test some successful cases and some failure cases (like password doesn’t meet complexity requirements).

I’d like to create more than 1 user account and do some success tests with some users and some failure tests with others. I want to ensure that widgets created in account A can’t be seen from account B.

I already have a collection with simple calls to my API but I don’t have them strung together in sequences.

What the general strategy for approaching this type of testing?

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [June 15, 2022, 8:28am UTC](https://community.postman.com/t/building-a-test-strategy/36207/2 "2022-06-15T08:28:08Z")

</div>

Hi @nogginboink

Have a look at **postman.setNextRequest();**

> **[Building request workflows | Postman Learning Center](https://learning.postman.com/docs/running-collections/building-workflows/)**
>
> Building request workflows: documentation for Postman, the collaboration platform for API development. Create better APIs—faster.
