# How can I extract the pass/fail tests results

**URL:** <https://community.postman.com/t/how-can-i-extract-the-pass-fail-tests-results/881>\
**Category:** Help Hub\
**Tags:** tests, extract\
**Created:** [February 4, 2018, 11:37pm UTC](https://community.postman.com/t/how-can-i-extract-the-pass-fail-tests-results/881 "2018-02-04T23:37:51Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pageorge](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pageorge](https://community.postman.com/u/pageorge)\
**Post date:** [February 16, 2022, 6:01pm UTC](https://community.postman.com/t/how-can-i-extract-the-pass-fail-tests-results/881/7 "2022-02-16T18:01:59Z")

</div>

The solution is simple : just use a try {…} catch {…} pattern

See example [here](https://community.postman.com/t/how-to-know-if-test-failed-or-passed-from-the-testscript-tab/1386/4).

---

_[View the full topic](https://community.postman.com/t/how-can-i-extract-the-pass-fail-tests-results/881)._
