Postman Community
How can I extract the pass/fail tests results
Ask the Experts and Postman Tips
tests
,
extract
pageorge
(Pierre-Aurélien)
February 16, 2022, 6:01pm
7
The solution is simple : just use a try {…} catch {…} pattern
See example
here
.
show post in topic
Related topics
Topic
Replies
Views
Activity
Get TestResults value PASSED/FAILED saved in a variable
Ask the Experts and Postman Tips
tests
,
test-results
4
166
July 17, 2024
Postman test scripts are ignored when inside a try/catch
Ask the Experts and Postman Tips
tests
,
collections
3
384
February 9, 2024
Extract JSON string from response body into Test Results
Ask the Experts and Postman Tips
tests
4
157
September 11, 2024
Extract value from a JSON Response Body via the Test Scripts - no output
New to APIs/Postman
tests
2
8670
January 10, 2023
Postman test - How to fetch failure count
Ask the Experts and Postman Tips
documentation
,
tests
,
collections
6
3313
December 12, 2024