# How to generate an error during performance testing

**URL:** <https://community.postman.com/t/how-to-generate-an-error-during-performance-testing/52426>\
**Category:** Help Hub\
**Tags:** tests, performance\
**Created:** [September 26, 2023, 2:45pm UTC](https://community.postman.com/t/how-to-generate-an-error-during-performance-testing/52426 "2023-09-26T14:45:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaceflight-technol7](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@spaceflight-technol7](https://community.postman.com/u/spaceflight-technol7)\
**Post date:** [September 26, 2023, 2:45pm UTC](https://community.postman.com/t/how-to-generate-an-error-during-performance-testing/52426/1 "2023-09-26T14:45:47Z")

</div>

Hi everyone

I have one collection that I use for testing some API methods.  
and I use pm.test to analyze the results and raise errors.  
It works fine in the functional testing.  
However, in the performance testing, it is ignored.  
Is it possible somehow to raise an error?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 25, 2023, 2:46pm UTC](https://community.postman.com/t/how-to-generate-an-error-during-performance-testing/52426/2 "2023-12-25T14:46:39Z")

</div>

Closed on December 25, 2023, 2:46pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
