Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
40+ tips to use Postman more efficiently
Search
Abhinav Asthana
December 13, 2014
Programming
1
260
40+ tips to use Postman more efficiently
Abhinav Asthana
December 13, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
390
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.4k
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
5
1k
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
140
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
250
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
610
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
560
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
4
430
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
280
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
300
The free-lunch guide to idea circularity
hollycummins
0
260
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
130
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
A Soul's Torment
seathinner
5
2.5k
Optimizing for Happiness
mojombo
378
71k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
200
Statistics for Hackers
jakevdp
799
230k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
エンジニアに許された特別な時間の終わり
watany
106
240k
How to Ace a Technical Interview
jacobian
281
24k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
HDC tutorial
michielstock
1
550
Amusing Abliteration
ianozsvald
0
130
Transcript
Postman gives you superpowers These slides show you how to
use them
Launch Postman quickly Chrome’s app launcher sits in your OS
dock and let’s you access Postman without opening Chrome.
Launch Postman quickly Create a Postman shortcut just like shortcuts
for native apps
Launch Postman quickly Go to the “Apps” page using the
Bookmarks bar or type chrome://apps in the address bar
Build requests quickly URL parameters let you add key-value pairs
to construct the request URL quickly.
Build requests quickly Use header presets to save and load
common sets of headers.
Build requests quickly Send browser cookies automatically through the Postman
Interceptor extension. Install Interceptor
Build requests quickly Authenticate using Basic Auth, Digest Auth, Oauth
1.0 and Oauth 2.0 helpers. Postman can sign requests and generate header and parameter values.
Organize using collections Collections let you bunch requests together and
organize them further in folders. You can use collections for API documentation, user scenarios or any kind of related requests.
Organize using collections Using the history to replay requests a
lot? Use collections to be more organized.
Organize using collections Document your API using collections.
Organize using collections Store a sample flow using collections.
Organize using collections Add names and descriptions while saving requests
in a collection. Descriptions in Postman support Markdown.
Organize using collections Descriptions show up right above the request
construction module.
Organize using collections Lots of requests in a collection? Use
folders to organize stuff further.
Using collections Requests can be re-ordered and duplicated inside a
collection or a folder.
Organize using collections Save sample responses inside requests. Click on
the bookmark icon above the response view.
Organize using collections Saving responses: Give the response an identifier.
Organize using collections Saving responses: Response identifiers show up as
part of the description. Click to load the response.
Sharing collections Share collections with your team. On-board new developers
quickly.
Sharing collections Share collections through getpostman.com. Used by folks at
Box, Cisco, Intel, Qualys and many more!
Sharing collections Collections can be imported from the file system
and URLs.
Sharing collections Share your collections with Postman users using the
API directory. Exciting updates coming soon!
Using environments Use variables inside requests to switch between local,
staging or production environments. Can also be used to hide sensitive information while sharing collections.
Using environments Environment variables are enclosed in {{double curly braces}}
and can be used anywhere inside request values.
Using environments Environments can be exported and shared.
Postman Interceptor Install the Postman Interceptor for tighter integration with
the Chrome browser. Install Interceptor
Postman Interceptor Capture requests from a web page and stream
them inside Postman’s history.
Postman Proxy Use the Postman Proxy to capture requests from
desktop applications or mobile applications. Link: https://github.com/a85/PostmanProxy
Jetpacks Get the Jetpacks upgrade for writing tests, running pre-request
scripts and the Collection Runner. It’s just $9.99 for a single user! Buy Jetpacks
Jetpacks Provision licenses for your entire team using the online
interface. Link: https://www.getpostman.com/profile/teams
Pre-request scripts Execute Javascript code before a request is sent.
Example: Generate random numbers or timestamps and insert in requests
Pre-request scripts The request object is available inside pre-request scripts.
Access values from the UI and then modify them again.
Pre-request scripts Set environment and global variable values. Useful in
request chaining.
Test scripts Write tests within Postman using the full power
of Javascript. Use snippets to quickly build a test suite.
Test scripts Results show up inside Postman with pass/fail counts.
Test scripts are part of collections. Sharing a collection also shares your tests.
Test scripts Environments and global values can be set inside
test scripts too.
Request evaluation life-cycle 1. Gather data from the Postman UI
2. Pre-request scripts 3. Send request 4. Receive response 5. Run test scripts 6. Display response and test results
Collection runner Run all requests in a collection or a
folder together. You can run multiple iterations too.
Collection runner See aggregate test results. For multiple iterations, drill
into each iteration’s result.
Collection runner See previous runs. Ensure that your API tests
are improving over time.
Data files Load data files for multiple iterations. Postman supports
CSV and JSON files.
Data files Data variables are enclosed within {{double curly braces}}
in the request.
Data files Data values are available in pre-request scripts and
test scripts too using the special data variable.
Newman Newman is a Node.js based command line companion tool
to run Postman collections. See documentation
Newman Use Newman to schedule tests using cron. Integrate Newman
with build systems. cron/curl +
Links • Postman (www.getpostman.com) • Postman Docs (www.getpostman.com/docs) • Postman
Blog (http:/ /blog.getpostman.com) • Postman on Twitter (https:/ /www.twitter.com/postmanclient) • Postman on Facebook ( https:/ /www.facebook.com/getpostman) • Email us at
[email protected]