blog.postman.com
Open in
urlscan Pro
162.159.130.53
Public Scan
Submitted URL: https://go.postman.com/MDY3LVVNRC05OTEAAAGPs3GkO4MxXwQPBI4lMRpYV77DxHk21K6tCjGbdAQGzlQ-S033EjgJbl59jO-rtdTZYAD3tBI=
Effective URL: https://blog.postman.com/optimize-your-api-testing-workflow-with-postmans-skip-request-feature/?utm_source=marketo&utm_me...
Submission: On November 28 via api from US — Scanned from DE
Effective URL: https://blog.postman.com/optimize-your-api-testing-workflow-with-postmans-skip-request-feature/?utm_source=marketo&utm_me...
Submission: On November 28 via api from US — Scanned from DE
Form analysis
2 forms found in the DOMGET /
<form class="form-inline my-lg-0" method="get" action="/">
<label htmlfor="search-lc" class="search-label">
<svg class="nav-search__icon" width="16" height="16" viewBox="0 0 16 16" fill="#6b6b6b" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M9.87147 9.16437C10.5768 8.30243 11 7.20063 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11C7.20063 11 8.30243 10.5768 9.16437 9.87147L9.89648 10.6036L9.64648 10.8536L13.5758 14.7829C13.8101 15.0172 14.19 15.0172 14.4243 14.7829L14.7829 14.4243C15.0172 14.19 15.0172 13.8101 14.7829 13.5758L10.8536 9.64648L10.6036 9.89648L9.87147 9.16437ZM6 10C8.20914 10 10 8.20914 10 6C10 3.79086 8.20914 2 6 2C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10Z">
</path>
</svg>
</label>
<input class="form-control" id="search-lc" type="search" placeholder="Search Postman Blog" aria-label="Search" name="s" autocomplete="off" spellcheck="false" dir="auto" value="">
</form>
POST https://blog.postman.com/wp-comments-post.php?wpe-comment-post=mktgproduction
<form action="https://blog.postman.com/wp-comments-post.php?wpe-comment-post=mktgproduction" method="post" id="commentform" class="comment-form" novalidate="">
<p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>
<p class="comment-form-author"><label for="author">Your name</label><br><input class="form-control" id="author" name="author" aria-required="true"></p>
<p class="comment-form-email"><label for="author">Your email</label><br><input class="form-control" id="email" name="email"></p>
<p class="comment-form-comment"><label for="author">Write a public comment</label><textarea class="form-control" id="comment" name="comment" aria-required="true"></textarea></p>
</form>
Text Content
* Product GETTING STARTED What is Postman? Customer Stories Download Postman → API PLATFORM Collaborate in Workspaces Organize with Collections Explore the API Client Build Postman Flows Work smarter with Postbot Browse API Tools ENTERPRISE SOLUTIONS Enterprise Essentials API Test Automation Internal API Management * What is Postman? API Repository Tools Governance Workspaces Integrations Get Started Free → * Pricing * Enterprise * Resources and Support LEARNING Learning Center Docs Postman Academy White Papers Breaking Changes Show Templates Tutorials Webinars State of the API Report Guide to API-First COMMUNITY AND EVENTS Blog Community Postman Supernovas Student Program Events Postman Swag SUPPORT Support Center Reseller Support Postman Status Release Notes Contact Us * Public API Network Contact Sales Sign In Sign Up for Free Launch Postman Blog * Learning Center Learn about how to get started using Postman, and read more in the product docs. * Labs Flows, gRPC, WebSockets! Learn about the latest cutting-edge features brewing in Postman Labs. * Open Technologies Invest in the knowledge, specifications, standards, tooling, data, people, and organizations that define the next 50 years of the API economy. * Collection Format Understand the specification behind Postman Collections. Check out the docs and support resources! * Blog The Postman blog is your hub for API resources, news, and community. Learn about the Postman API Platform and much more. * AI * API-First * Product Updates * Company News * Tutorials OPTIMIZE YOUR API TESTING WORKFLOW WITH POSTMAN’S SKIP REQUEST FEATURE Giridhar November 15, 2023· 3 mins In the fast-paced world of API development and testing, efficiency and flexibility are key. Developers need tools that facilitate the testing and automation of their APIs and allow them to optimize their workflows. With this in mind, we are super excited to introduce a feature that’s been heavily requested by our community: pm.execution.skipRequest(). This function empowers users to skip or stop requests from being sent, all within the pre-request scripts stage of your API testing, providing unparalleled control over your testing and conditional workflows. The function takes effect in the Postman API client, Collection Runner, and Postman Flows. THE POWER OF PRE-REQUEST SCRIPTS Before diving into this exciting new functionality, let’s first understand the importance of pre-request scripts. Postman has long offered the ability to add pre-request scripts that are executed before a request is sent to the server. These scripts are instrumental in setting up the necessary conditions, parameters, and headers for the request to ensure it’s tailored to your specific needs. However, what if you could go beyond just setting up your request? What if you could make intelligent decisions on whether to send the request at all, based on the conditions you specify? This is where pm.execution.skipRequest()comes into play. UNLEASH CONDITIONAL WORKFLOWS Imagine a scenario where you are testing an API and you only want to send a request when a certain condition is met. For example, if a particular access token is not present in an environment, the rest of the steps are deemed unnecessary to run. Prior to this feature, there was no way to skip execution of the current request at all; the request would still process and respond with an unintended result. With pm.execution.skipRequest(), you can now create conditional workflows that drastically improve the efficiency of your API testing. For example, you can skip requests if a specific test case fails, a token expires, or if certain environmental conditions are not met. This level of control ensures that your test cases run more smoothly, and you can save valuable time by avoiding unnecessary network calls. WRITE MORE EFFICIENT TEST CASES Efficiency in API testing is not just about saving time; it’s also about resource management and reducing the load on your servers. By utilizing pm.execution.skipRequest(), you can build more efficient test cases. This means your tests become less resource-intensive, and your server doesn’t get flooded with requests that may not be needed in specific scenarios. WATCH AND LEARN WHAT’S NEXT? We are committed to providing developers with the tools they need to streamline their API testing and automation workflows, and so we hope you like this addition to the pm sandbox. Stay tuned for more advancements as we plan to build on this feature, offering even more ways to optimize your testing process. As this feature becomes available, we encourage you to explore it, experiment with different use cases, and share your feedback. Your input is invaluable in helping us fine-tune this feature and create an even better experience for our users—so please leave us feedback in a comment below. Try Postman now +8 Tags: API Testing Product Updates Giridhar * * Giridhar is a product manager at Postman. View all posts by Giridhar. What do you think about this topic? Tell us in a comment below. COMMENT CANCEL REPLY Your email address will not be published. Required fields are marked * Your name Your email Write a public comment Δ This site uses Akismet to reduce spam. Learn how your comment data is processed. YOU MIGHT ALSO LIKE TEST YOUR API’S PERFORMANCE BY SIMULATING REAL-WORLD TRAFFIC WITH POSTMAN Malvika Chaudhary· 8 mins When it comes to API testing, you may have wondered some or all of these questions: How will my APIs perform in… Read more → API TESTING INTERVIEW QUESTIONS The Postman Team· 8 mins So, you have a big job interview coming up, and you know they’re going to grill you on your API testing knowledge…. Read more → POSTMAN’S GUIDE TO 5 ESSENTIAL API TESTING TECHNIQUES Pooja Mistry· 6 mins Postman has revolutionized the way developers test APIs, offering a comprehensive set of tools and features that streamline the API testing process…. Read more → POSTMAN NAMED BEST API PLATFORM Postman is the #1 place where developers come to work with APIs. See why we’re top-ranked in G2’s first-ever evaluation of API Platforms. Read more → © 2023 Postman, Inc. PRODUCT * What is Postman? * API Repository * Tools * Governance * Workspaces * Integrations * Enterprise * Plans and pricing * Download the app * Support Center COMPANY * About * Careers and culture * Press and media * Contact us * Partner program LEGAL AND SECURITY * Terms of Service * Trust and Safety * Privacy policy * Cookie notice * Privacy choices API CATEGORIES * App Security * Payments * Financial Services * DevOps * Developer Productivity * Data Analytics * Communication * Artifical Intelligence SOCIAL * Twitter * LinkedIn * GitHub * YouTube * Asset 2 Twitch We use cookies on your device to enhance your navigation experience, analyze usage to improve our site, and customize our marketing efforts. You can learn more about cookies in ourCookie Notice. Reject All Cookies Accept All Cookies Manage Cookies PRIVACY PREFERENCE CENTER When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. More information Allow All MANAGE CONSENT PREFERENCES STRICTLY NECESSARY COOKIES Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. Cookies Details FUNCTIONAL COOKIES Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookies Details TARGETING COOKIES Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. If you do not allow these cookies, you will experience less targeted advertising. Cookies Details PERFORMANCE COOKIES Performance Cookies These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance. Cookies Details Back Button COOKIE LIST Search Icon Filter Icon Clear checkbox label label Apply Cancel Consent Leg.Interest checkbox label label checkbox label label checkbox label label Confirm My Choices