SlideShare a Scribd company logo
Attendees are muted
Ask questions under Q&A section of Zoom
A recording of this session will be shared
Post-event feedback survey will be given at the end
Log into your Postman account for this session
(go.postman.co)
1
2
3
4
5
General Information
@getpostman @petuniaGray @poojamakes
All rights reserved by Postman Inc
API testing Beyond the
Basics : AI & Automation
Techniques
Joyce Lin
Senior director of
developer relations
Pooja Mistry
Developer Advocate
Senior Director of Developer Relations
Joyce Lin
Developer Advocate
Pooja Mistry
@petuniaGray
@poojamakes
At the end of this session, you will be able to:
● Harness the automation capabilities of Postman to conduct tests across
diverse environments.
● Amplify the potential of Postman's scripting interface by incorporating
pre-request scripts, assertions, variables, and libraries.
● Employ Postbot, an AI-powered assistant that interprets natural language
input to aid in testing, debugging, data visualization, and data analysis.
● Cultivate proficiency in testing intricate API workflows, encompassing
scenarios with multiple API endpoints, conditional logic, and data
manipulation
Learning Objectives
@getpostman @petuniaGray @poojamakes
Agenda
1 What is testing in Postman?
2 Means of test automation
3 Postbot
5 Resources and Q&A
4 Demo
@getpostman @petuniaGray @poojamakes
● Participate in the Poll
○ Which type of tests do you run in
Postman?
A little about you
@getpostman @petuniaGray @poojamakes
Do you even test APIs?
Tests and Test Results
Postman tests
– BDD assertions
● Chai.js BDD syntax
● pm.expect()
predicate expression
that can be evaluated
to a boolean value
@getpostman @petuniaGray @poojamakes
API Testing Methods
@getpostman @petuniaGray @poojamakes
Postbot, Postman’s new AI assistant
● Write tests
● Visualize responses
● Write FQL in Postman Flows
● Write documentation
@getpostman @petuniaGray @poojamakes
Demo
www.postman.com/postman/workspace/postman-intergalactic
Postbot testing
@getpostman @petuniaGray @poojamakes
Demo
https://www.postman.com/postman/workspace/test-examples-in-postman/
Test Automation
@getpostman @petuniaGray @poojamakes
Means of Test Automation
@getpostman @petuniaGray @poojamakes
Tips for writing better Postman tests
Group multiple
assertions
● Keep them logically
organized for those
who review the test
results and need to
debug issues
Use messages and
console
statements
● Provide visibility to
validate conditional
testing and execution
order
● Prepend custom
messages
Use descriptive,
consistent, or
dynamic test
names
● Use variables within
test names to provide
more detail, especially
if the same test is used
for multiple scenarios
or iterations
@getpostman @petuniaGray @poojamakes
@getpostman @petuniaGray @arlemi
loopdelicious.github.io/postman-skills/
What we learned today:
● Types of testing you can run in Postman
● Testing API workflows with Postbot
● Types of automation capabilities tests across diverse environments.
● Postman's collaboration features to manage test suites, share results with
team members
In summary
@getpostman @petuniaGray @poojamakes
Postman API Test Automation for Beginners - Valentin Despa
https://www.youtube.com/watch?v=zp5Jh2FIpF0
15 Days of Postman - for Testers
postman.com/postman/workspace/15-days-of-postman-for-testers/overview
Test examples in Postman
postman.com/postman/workspace/test-examples-in-postman/overview
Quickstarts: hands-on tutorials
quickstarts.postman.com
Additional Resources
@getpostman @petuniaGray @poojamakes
Please tell us about
your experience!
FEEDBACK SURVEY
@getpostman @petuniaGray @poojamakes
tinyurl.com/ai-automation-techniques
Thank You
@getpostman @petuniaGray @poojamakes

More Related Content

Similar to API testing Beyond the Basics AI & Automation Techniques

Sakar Patnaik_1.5_testing_Manual_Automation_Selenium
Sakar Patnaik_1.5_testing_Manual_Automation_SeleniumSakar Patnaik_1.5_testing_Manual_Automation_Selenium
Sakar Patnaik_1.5_testing_Manual_Automation_Selenium
SAKAR PATNAIK
 
Встреча "QA: в каких направлениях может найти себя тестировщик?"
Встреча "QA: в каких направлениях может найти себя тестировщик?"Встреча "QA: в каких направлениях может найти себя тестировщик?"
Встреча "QA: в каких направлениях может найти себя тестировщик?"
GoIT
 

Similar to API testing Beyond the Basics AI & Automation Techniques (20)

Ayush Goyal - Automation Testing Resume
Ayush Goyal - Automation Testing ResumeAyush Goyal - Automation Testing Resume
Ayush Goyal - Automation Testing Resume
 
API automation with JMeter + Bamboo CI
API automation with JMeter + Bamboo CIAPI automation with JMeter + Bamboo CI
API automation with JMeter + Bamboo CI
 
Eradicate Flaky Tests
Eradicate Flaky TestsEradicate Flaky Tests
Eradicate Flaky Tests
 
Eradicate Flaky Tests - AppiumConf 2021
Eradicate Flaky Tests - AppiumConf 2021Eradicate Flaky Tests - AppiumConf 2021
Eradicate Flaky Tests - AppiumConf 2021
 
Pankaj python programmer
Pankaj python programmerPankaj python programmer
Pankaj python programmer
 
API Lifecycle, Part 2: Monitor and Deploy an API
API Lifecycle, Part 2: Monitor and Deploy an APIAPI Lifecycle, Part 2: Monitor and Deploy an API
API Lifecycle, Part 2: Monitor and Deploy an API
 
Ui Testing with Ghost Inspector
Ui Testing with Ghost InspectorUi Testing with Ghost Inspector
Ui Testing with Ghost Inspector
 
ShobhaResume
ShobhaResumeShobhaResume
ShobhaResume
 
Designing Good API Experiences Session 24
Designing Good API Experiences Session 24Designing Good API Experiences Session 24
Designing Good API Experiences Session 24
 
Jayanth_Resume
Jayanth_ResumeJayanth_Resume
Jayanth_Resume
 
Pradeep.CL
Pradeep.CLPradeep.CL
Pradeep.CL
 
Pradeep.CL
Pradeep.CLPradeep.CL
Pradeep.CL
 
Yasfeen_Sultana
Yasfeen_SultanaYasfeen_Sultana
Yasfeen_Sultana
 
Sakar Patnaik_1.5_testing_Manual_Automation_Selenium
Sakar Patnaik_1.5_testing_Manual_Automation_SeleniumSakar Patnaik_1.5_testing_Manual_Automation_Selenium
Sakar Patnaik_1.5_testing_Manual_Automation_Selenium
 
Getting Started with Server-Side Testing
Getting Started with Server-Side TestingGetting Started with Server-Side Testing
Getting Started with Server-Side Testing
 
Automation test lead
Automation test leadAutomation test lead
Automation test lead
 
Marcelo Victor Reyes_CV
Marcelo Victor Reyes_CVMarcelo Victor Reyes_CV
Marcelo Victor Reyes_CV
 
Встреча "QA: в каких направлениях может найти себя тестировщик?"
Встреча "QA: в каких направлениях может найти себя тестировщик?"Встреча "QA: в каких направлениях может найти себя тестировщик?"
Встреча "QA: в каких направлениях может найти себя тестировщик?"
 
Quality Assurance_Karthik-CV
Quality Assurance_Karthik-CVQuality Assurance_Karthik-CV
Quality Assurance_Karthik-CV
 
Unboxing What's New in Q2
Unboxing What's New in Q2Unboxing What's New in Q2
Unboxing What's New in Q2
 

More from Postman

Discovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanDiscovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with Postman
Postman
 
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationOptimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Postman
 

More from Postman (20)

Elevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & DocumentationElevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & Documentation
 
Discovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanDiscovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with Postman
 
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationOptimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
 
Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)
 
How to Scale APIs-as-Product for Future Success
How to Scale APIs-as-Product for Future SuccessHow to Scale APIs-as-Product for Future Success
How to Scale APIs-as-Product for Future Success
 
Revolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with PostmanRevolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with Postman
 
Everything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPIEverything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPI
 
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
 
Five Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
 
Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs
 
How ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityHow ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in Popularity
 
Exploring Postman’s VS Code Extension
Exploring Postman’s VS Code ExtensionExploring Postman’s VS Code Extension
Exploring Postman’s VS Code Extension
 
2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends
 
Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World
 
Testing and Developing gRPC APIs
Testing and Developing gRPC APIsTesting and Developing gRPC APIs
Testing and Developing gRPC APIs
 
Testing and Developing GraphQL APIs
Testing and Developing GraphQL APIsTesting and Developing GraphQL APIs
Testing and Developing GraphQL APIs
 
Introduction to API Security - Intergalactic
Introduction to API Security - IntergalacticIntroduction to API Security - Intergalactic
Introduction to API Security - Intergalactic
 
Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2
 
Building Low-Code Applications with Postman Flows
Building Low-Code Applications with Postman FlowsBuilding Low-Code Applications with Postman Flows
Building Low-Code Applications with Postman Flows
 
Postman Intergalactic - API Observability
Postman Intergalactic - API ObservabilityPostman Intergalactic - API Observability
Postman Intergalactic - API Observability
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 

API testing Beyond the Basics AI & Automation Techniques

  • 1. Attendees are muted Ask questions under Q&A section of Zoom A recording of this session will be shared Post-event feedback survey will be given at the end Log into your Postman account for this session (go.postman.co) 1 2 3 4 5 General Information @getpostman @petuniaGray @poojamakes
  • 2. All rights reserved by Postman Inc API testing Beyond the Basics : AI & Automation Techniques Joyce Lin Senior director of developer relations Pooja Mistry Developer Advocate
  • 3. Senior Director of Developer Relations Joyce Lin Developer Advocate Pooja Mistry @petuniaGray @poojamakes
  • 4. At the end of this session, you will be able to: ● Harness the automation capabilities of Postman to conduct tests across diverse environments. ● Amplify the potential of Postman's scripting interface by incorporating pre-request scripts, assertions, variables, and libraries. ● Employ Postbot, an AI-powered assistant that interprets natural language input to aid in testing, debugging, data visualization, and data analysis. ● Cultivate proficiency in testing intricate API workflows, encompassing scenarios with multiple API endpoints, conditional logic, and data manipulation Learning Objectives @getpostman @petuniaGray @poojamakes
  • 5. Agenda 1 What is testing in Postman? 2 Means of test automation 3 Postbot 5 Resources and Q&A 4 Demo @getpostman @petuniaGray @poojamakes
  • 6. ● Participate in the Poll ○ Which type of tests do you run in Postman? A little about you @getpostman @petuniaGray @poojamakes
  • 7. Do you even test APIs?
  • 8. Tests and Test Results Postman tests – BDD assertions ● Chai.js BDD syntax ● pm.expect() predicate expression that can be evaluated to a boolean value @getpostman @petuniaGray @poojamakes
  • 9. API Testing Methods @getpostman @petuniaGray @poojamakes
  • 10. Postbot, Postman’s new AI assistant ● Write tests ● Visualize responses ● Write FQL in Postman Flows ● Write documentation @getpostman @petuniaGray @poojamakes
  • 13. Means of Test Automation @getpostman @petuniaGray @poojamakes
  • 14. Tips for writing better Postman tests Group multiple assertions ● Keep them logically organized for those who review the test results and need to debug issues Use messages and console statements ● Provide visibility to validate conditional testing and execution order ● Prepend custom messages Use descriptive, consistent, or dynamic test names ● Use variables within test names to provide more detail, especially if the same test is used for multiple scenarios or iterations @getpostman @petuniaGray @poojamakes
  • 16. What we learned today: ● Types of testing you can run in Postman ● Testing API workflows with Postbot ● Types of automation capabilities tests across diverse environments. ● Postman's collaboration features to manage test suites, share results with team members In summary @getpostman @petuniaGray @poojamakes
  • 17. Postman API Test Automation for Beginners - Valentin Despa https://www.youtube.com/watch?v=zp5Jh2FIpF0 15 Days of Postman - for Testers postman.com/postman/workspace/15-days-of-postman-for-testers/overview Test examples in Postman postman.com/postman/workspace/test-examples-in-postman/overview Quickstarts: hands-on tutorials quickstarts.postman.com Additional Resources @getpostman @petuniaGray @poojamakes
  • 18. Please tell us about your experience! FEEDBACK SURVEY @getpostman @petuniaGray @poojamakes tinyurl.com/ai-automation-techniques