# Best practice for regression testing

**URL:** <https://community.postman.com/t/best-practice-for-regression-testing/84197>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [September 1, 2025, 3:26pm UTC](https://community.postman.com/t/best-practice-for-regression-testing/84197 "2025-09-01T15:26:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvigrass-b90c7bb1](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mvigrass-b90c7bb1](https://community.postman.com/u/mvigrass-b90c7bb1)\
**Post date:** [September 1, 2025, 3:26pm UTC](https://community.postman.com/t/best-practice-for-regression-testing/84197/1 "2025-09-01T15:26:49Z")

</div>

I’m new to Postman and I’m wanting to test a legacy SOAP webservice with around 80 functions. I’ve created a collection and folders for each functional area, and I’m now looking at Postman JavaScript for creating a series of tests.

The webservice documentation is limited, but there are some errors that occur because of missing configuration in the test systems. So I want to essentially run some smoke tests first so that I can ensure that the environment is ready before the entire test suite is executed and subsequently fails because of the missing configurations.

What is the best way to force the smoke tests to be executed first in a collection, and to cause them to stop execution of all the tests if any of the smoke tests fail?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [September 2, 2025, 11:47am UTC](https://community.postman.com/t/best-practice-for-regression-testing/84197/2 "2025-09-02T11:47:51Z")

</div>

Add your request that include the smoke tests to the beginning of your collection so they run first.

You can then use [pm.execution.setNextRequest(null);](https://learning.postman.com/docs/collections/running-collections/building-workflows/#stop-a-workflow) to stop all execution.
