# PSA: Helpful scripts for running regression tests

**URL:** <https://community.postman.com/t/psa-helpful-scripts-for-running-regression-tests/39161>\
**Category:** Help Hub\
**Tags:** tests, automation, scripts, library\
**Created:** [September 16, 2022, 4:10am UTC](https://community.postman.com/t/psa-helpful-scripts-for-running-regression-tests/39161 "2022-09-16T04:10:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alekdavis](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/alekdavis/32/12996_2.png) [@alekdavis](https://community.postman.com/u/alekdavis)\
**Post date:** [September 16, 2022, 4:10am UTC](https://community.postman.com/t/psa-helpful-scripts-for-running-regression-tests/39161/1 "2022-09-16T04:10:21Z")

</div>

If anyone uses Postman for test automation (regression testing, etc), check out the JavaScript utility library I wrote:

> **[GitHub - alekdavis/PostmanUtilities: JavaScript class that can simplify and reduce...](https://github.com/alekdavis/PostmanUtilities)**
>
> JavaScript class that can simplify and reduce Postman pre-request and test code.

I’m new to Postman (just have been using it for a couple of weeks, although I have some rudimentary knowledge of Insomnia), but I felt the need to write a library after taking over a regression test suite for our REST API products and realizing that the code could be simplified and reduced. In fact, it reduced the amount of code by, at least a factor of 10. And it produces consistent logging that makes troubleshooting issues a lot easier.

I also need to mention that I’m not a JavaScript expert (I know C/C++, C#, some Java, PowerShell, T-SQL, but I never actually spent time learning JavaScript), so there may be a chance to make the library. If you see issues or suggestions, let me know.

I hope someone finds it helpful.

---

<div class="post-metadata">

**Author:** ![altimetry-observer-6](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@altimetry-observer-6](https://community.postman.com/u/altimetry-observer-6)\
**Post date:** [September 24, 2022, 11:49am UTC](https://community.postman.com/t/psa-helpful-scripts-for-running-regression-tests/39161/2 "2022-09-24T11:49:33Z")

</div>

Very useful Alek, great work.  
I am defiantly going to use it!
