# \#negative-testing

**URL:** https://community.postman.com/tag/negative-testing/336.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [How to delay response from mock server?](https://community.postman.com/t/how-to-delay-response-from-mock-server/11833)

<div class="topic-metadata">

**Author:** [@maryfatimma](https://community.postman.com/u/maryfatimma)\
**Replies:** 2\
**Last updated:** [January 16, 2023, 7:21pm UTC](https://community.postman.com/t/how-to-delay-response-from-mock-server/11833 "2023-01-16T19:21:30Z")

</div>

Archived topic — some details may be out of date. Mock servers built from saved collection examples are still supported. Postman now also has code-based mocks: JavaScript request handlers plus a config.yaml, stored as …

---

## [Check that there is no environment variable inside the response](https://community.postman.com/t/check-that-there-is-no-environment-variable-inside-the-response/27253)

<div class="topic-metadata">

**Author:** [@science-architect-96](https://community.postman.com/u/science-architect-96)\
**Replies:** 4\
**Last updated:** [August 29, 2021, 7:59am UTC](https://community.postman.com/t/check-that-there-is-no-environment-variable-inside-the-response/27253 "2021-08-29T07:59:03Z")

</div>

To test this section I have to check an Environment Variable that is not inside this reponse My response is here { "status": "ok", "statusCode": "0000", "message": { "text": "", "type": "" …

---

## [Negative API testing](https://community.postman.com/t/negative-api-testing/7152)

<div class="topic-metadata">

**Author:** [@michaldrajna](https://community.postman.com/u/michaldrajna)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 1:15pm UTC](https://community.postman.com/t/negative-api-testing/7152 "2019-08-14T13:15:34Z")

</div>

Hello, I want to test negative GET API requests. I have already positive requests so should I add negative scenarios to the existing positive test scripts in tests tab as pm.sendRequest with invalid value or should I cre…
