Visualizations in
Postman
How to visualize data and some sample collections
DEVELOPER ADVOCATE, POSTMAN
Meenakshi
Dhanani
@mdhananii
SOLUTIONS ENGINEER, POSTMAN
John
Banning
@jwbanning
Agenda
1 Need for visualizations
2 Visualize responses in Postman
3 How does it work?
4 Demo
5 Sample visualizations
6 User personas
7 Q&A
go.postman.co/build
Why Visualizations?
Become an artist
Postman Visualizer offers an interface for users to see their response through beautiful User Interface
lens. We give you a canvas that you can use to show your data in whatever way you like.
Why Visualizations?
JS Libraries:
Visualization Engine
What is under the hood?
A transformation API over the response to convert the textual representation to a visual representation
D3 Skeleton
JQuery
Chart.js
Handlebar.js
Electron <webview /> in app | Iframe in web
How Does It Work?
pm.visualizer.set(
template,
response:pm.response.json())
var template = `
<table bgcolor="#FFFFFF">
<tr>
<th>Name</th>
<th>Location</th>
</tr>
{{#each response}}
<tr>
<td>{{name}}</td>
<td>{{location}}</td>
</tr>
{{/each}}
</table>
`;
How Does It Work?
Render options and
data
Render instructions
Templating
engine
(Handlebars)
Rendered
Template
Rendering
libraries
HTML rendering engine
Environment &
Globals
Content
Response data
How Does It Work?
Tips and Tricks
Tips and Tricks
Demo
Walkthrough
Data scientist Frontend Developer
Designer
User Personas
Sample Visualizations
Learning Center
Postman Network
Forum
https://www.postman.com/postman-economics-report/
Resources
Getting Started with Public Workspaces
Sign up for Postman
www.postman.com
Explore public workspaces
www.postman.com/explore
Learn about public workspaces
learning.postman.com
Q&A
DEVELOPER ADVOCATE, POSTMAN
Meenakshi
Dhanani
@mdhananii
SOLUTIONS ENGINEER, POSTMAN
John
Banning
@jwbanning
Become an artist
Postman Visualizer offers an interface for users to
see their response through beautiful User Interface
lens. We give you a canvas that you can use to
show your data in whatever way you like.
Why Visualizations?
Visualization Engine:
A transformation API over the response to convert the textual
representation to a visual representation
● Electron <webview /> in app | Iframe in web
● JS Libraries:
Handlebar.js
Chart.js
D3
JQuery
Skeleton
How Does It Work?
pm.visualizer.set(
template,
response:pm.response.json())
var template = `
<table bgcolor="#FFFFFF">
<tr>
<th>Name</th>
<th>Location</th>
</tr>
{{#each response}}
<tr>
<td>{{name}}</td>
<td>{{location}}</td>
</tr>
{{/each}}
</table>
`;
How Does It Work?
Environment &
Globals
Content
Render options
and data
Render
instructions
Templating
engine
(Handlebars)
Rendered
Template
Response
data
HTML rendering
engine
Rendering
libraries
Tip and Tricks
● Where to find the rendered
visualizations?
● Developer Tools
● Console
Postman Galaxy Logos
Vertical Logo
PDF, PNG, SVG
DOWNLOAD
Horizontal Logo
PDF, PNG, SVG
DOWNLOAD
Postman Galaxy Logos Assets
Vertical Logo
PDF, PNG, SVG
DOWNLOAD
Horizontal Logo
PDF, PNG, SVG
DOWNLOAD
Logo Icon
PNG
Copy to use in
other decks
Response Visualizations in Postman

Response Visualizations in Postman