# \#pm

**URL:** https://community.postman.com/tag/pm/36.md

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

---

## [Unable to visualize response after update latest update](https://community.postman.com/t/unable-to-visualize-response-after-update-latest-update/73576)

<div class="topic-metadata">

**Author:** [@lli-1und1](https://community.postman.com/u/lli-1und1)\
**Replies:** 13\
**Last updated:** [January 16, 2025, 7:40am UTC](https://community.postman.com/t/unable-to-visualize-response-after-update-latest-update/73576 "2025-01-16T07:40:28Z")

</div>

After updating to the latest version of Postman, I am encountering an issue with the Visualizer feature in the “post-response” in the Scripts tab. Specifically, the pm object, which is essential for Postman-specific scri…

---

## [Executing sync requests programmatically from a pre-request or test scripts](https://community.postman.com/t/executing-sync-requests-programmatically-from-a-pre-request-or-test-scripts/14678)

<div class="topic-metadata">

**Author:** [@tmladenov\_atos](https://community.postman.com/u/tmladenov_atos)\
**Replies:** 9\
**Last updated:** [January 6, 2023, 1:54am UTC](https://community.postman.com/t/executing-sync-requests-programmatically-from-a-pre-request-or-test-scripts/14678 "2023-01-06T01:54:02Z")

</div>

Hello Postman team, We are using Postman to automate a broad number of requests. Sometimes we need to query an API programmatically, wait for its response, process it, and then proceed depending on what we have received…

---

## [Retrieve JSON response key value in complex JSON](https://community.postman.com/t/retrieve-json-response-key-value-in-complex-json/41890)

<div class="topic-metadata">

**Author:** [@anilkumar2249](https://community.postman.com/u/anilkumar2249)\
**Replies:** 4\
**Last updated:** [December 9, 2022, 1:49pm UTC](https://community.postman.com/t/retrieve-json-response-key-value-in-complex-json/41890 "2022-12-09T13:49:22Z")

</div>

Below is my JSON response. I would like to fetch taskids = \[20785, 20792, 20796\], patientids = \[Patient/20787,Patient/20794,Patient/20798\], encounterids = \[Encounter/20784, Encounter/20791,Encounter/20795\] I have tried…

---

## [Make logging and tests results easy with custom pm functions](https://community.postman.com/t/make-logging-and-tests-results-easy-with-custom-pm-functions/33614)

<div class="topic-metadata">

**Author:** [@rtfmoz2](https://community.postman.com/u/rtfmoz2)\
**Replies:** 14\
**Last updated:** [November 26, 2022, 2:47am UTC](https://community.postman.com/t/make-logging-and-tests-results-easy-with-custom-pm-functions/33614 "2022-11-26T02:47:59Z")

</div>

Go from this… Pre-Request Script // Clear env vars at start of run names = \[ "access\_token", "refresh\_token", "oid\_token", "resumeURL", "loginURL", "auth\_code", "opentoken" \]; for (index in names) { if (obj.hasOwnProper…

---

## [Pm is not defined - Desktop app](https://community.postman.com/t/pm-is-not-defined-desktop-app/38386)

<div class="topic-metadata">

**Author:** [@anastasios.ioannidis](https://community.postman.com/u/anastasios.ioannidis)\
**Replies:** 6\
**Last updated:** [August 25, 2022, 8:51am UTC](https://community.postman.com/t/pm-is-not-defined-desktop-app/38386 "2022-08-25T08:51:56Z")

</div>

I’m trying to apply the documentation’s first js test sample: in a Collection request / Tests tab: But getting: I’m using Postman Desktop 9.24.2 (Win11, Node.js v16.15.0) Also, in About section: Postman for…

---

## [Is there any way to continue with tests in postman even if any one assert fails in it?](https://community.postman.com/t/is-there-any-way-to-continue-with-tests-in-postman-even-if-any-one-assert-fails-in-it/14583)

<div class="topic-metadata">

**Author:** [@svarshney2311](https://community.postman.com/u/svarshney2311)\
**Replies:** 8\
**Last updated:** [March 22, 2022, 6:34am UTC](https://community.postman.com/t/is-there-any-way-to-continue-with-tests-in-postman-even-if-any-one-assert-fails-in-it/14583 "2022-03-22T06:34:13Z")

</div>

In a Postman GET request, I have used multiple assertions. However, if any assertion fails, Postman will stops its execution then and there and will throw an error. Is there any way to prevent this and continue with oth…

---

## [Schema validation](https://community.postman.com/t/schema-validation/24729)

<div class="topic-metadata">

**Author:** [@navigation-physicist](https://community.postman.com/u/navigation-physicist)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 8:30pm UTC](https://community.postman.com/t/schema-validation/24729 "2021-06-09T20:30:41Z")

</div>

pm.response.to.have.jsonSchema is not working!! I am using a http://json-schema.org/draft-07/schema and when changing anything in the schema the answer is always “PASS” Could it be because my response is a huge json?

---

## [Older \`tests\[\]\` syntax vs \`pm.test()\`](https://community.postman.com/t/older-tests-syntax-vs-pm-test/6456)

<div class="topic-metadata">

**Author:** [@aredman](https://community.postman.com/u/aredman)\
**Replies:** 4\
**Last updated:** [October 22, 2020, 9:35am UTC](https://community.postman.com/t/older-tests-syntax-vs-pm-test/6456 "2020-10-22T09:35:37Z")

</div>

I recognize that tests\[\] is being deprecated and so I wanted to change to pm.test(). However, when I use the same function that worked before in passing and failing with test\[\], I get false positives with pm.test(). The …

---

## [PM Response within a loop](https://community.postman.com/t/pm-response-within-a-loop/594)

<div class="topic-metadata">

**Author:** [@mark.sadegursky](https://community.postman.com/u/mark.sadegursky)\
**Replies:** 3\
**Last updated:** [January 3, 2018, 5:35pm UTC](https://community.postman.com/t/pm-response-within-a-loop/594 "2018-01-03T17:35:32Z")

</div>

Hi! I have an initial call to an API that gives me a list, that I then loop through and want to export the response from the 2nd call to the console. However, the console only seems to output the response of the initial…

---

## [Are there plans for PM variables saved using the pm method retain their data type?](https://community.postman.com/t/are-there-plans-for-pm-variables-saved-using-the-pm-method-retain-their-data-type/171)

<div class="topic-metadata">

**Author:** [@postman-paul540](https://community.postman.com/u/postman-paul540)\
**Replies:** 2\
**Last updated:** [November 10, 2017, 7:39am UTC](https://community.postman.com/t/are-there-plans-for-pm-variables-saved-using-the-pm-method-retain-their-data-type/171 "2017-11-10T07:39:57Z")

</div>

Hi. Just a simple question if variables saved using pm.environment.set(“name”, path) will eventually keep their data type? Given I have saved an environment variable which was a number, let’s say 35. And in a differen…
