SlideShare a Scribd company logo
•Open the Trello board at
https://goo.gl/U8hdro
•Download the Postman desktop app from
https://www.getpostman.com/ and follow the
installation instructions.
No dogs were actually washed in the production of these slides.
Get a headstart on API Testing
FUNdamentals!
Show of feet (stand up) - who is willing to share their screen
(with Postman) with someone? Hands-on for everyone is
preferred.
Let's self-organize - Screen folk, keep standing. Screenless
folk, re-locate to be near a screen.
Not enough screens? Follow along with Dan. Move up front
and grab a seat near Dan.
Screen logistics
API Testing FUNdamentals
JoEllen Carter / Dan Gilkerson
What’s so fun about testing
an Application
Programming Interface?
Agile Testing Days 2018 USA - API Testing Fundamentals
Agile Testing Days 2018 USA - API Testing Fundamentals
Do restful APIs take naps?
HTTPRequest
URL
Method
Headers
Body
When does the fun start?
Workshop Trello Board
https://goo.gl/U8hdro
TeamCity Newman Reporter
Let’s recap….
Exploratory Testing
• Identify the variable bits - things that can/will/might
change
• Apply Heuristics to the variables
• Zero, One, Many
• Some, None, All
• Beginning, Middle, End
• Too Many, Too Few
• Relative Position, i.e. content
Functional, Contract, &
Integration
• Basic
• Correct status codes are generated for invalid inputs
• Request/response bodies contain the correct content
type and schema
• Backwards-compatibility for public APIs
• Advanced
• Join API requests together to mirror application
functionality
Performance & Security
• Performance
• Response times under different conditions
• Basic Security
• Authentication tokens are valid/present
• Authorization - account boundaries are not
violated
• SSL is enforced/warned when not present
• Advanced Security
• Injection points – headers, parameters, body
• Recording tools – what is exposed/available
• Rest Security Cheat Sheet; OWASP top 10
security vulnerabilities
To Infinity and Beyond!
• API tests are part of your CI/CD pipeline
• Newman - command line runner for Postman
collections
• Runscope - great for testing incoming requests,
a la webhooks
• Augment unit tests by crossing component
boundaries
• Tests are accessible to developers to run locally
• Tests are purpose-specific - don’t test everything
at one time
How much fun did we have?
Links
ProgrammableWeb
API Security Testing
OWASP Top 10 Project
List of HTTP Header fields
Varonis - Introduction to Oauth
Oauth.net
Understanding rest and rpc
http://kanyerest.xyz/
Thank you!
JoEllen Carter
@testacious
Dan Gilkerson
@dangilkerson

More Related Content

What's hot (20)

PDF
Building serverless-applications
Andrii Soldatenko
 
PDF
Андрей Солдатенко. Разработка высокопроизводительныx функциональных тестов д...
Alina Dolgikh
 
PDF
Mobile Testing Tips - Let's achieve fast feedback loops
Kenneth Poon
 
PPTX
Speed upyourtest with_appium
VodqaBLR
 
PDF
PyCon Ukraine 2014
Andrii Soldatenko
 
PPTX
Selenium and Appium Training from Sauce Labs
Sauce Labs
 
PDF
TDD on android. Why and How? (Coding Serbia 2019)
Danny Preussler
 
PDF
Diffy : Automatic Testing of Microservices @ Twitter
Puneet Khanduri
 
PDF
Continuous delivery of embedded systems embedded meetup
Mike Long
 
PPT
VodQA_ParallelizingCukes_AmanKing
poojaelkunchwar
 
PPTX
Continuous Testing in the Cloud
Sauce Labs
 
PPTX
Deploy Faster Without Failing Faster - Metrics-Driven - Dynatrace User Groups...
Andreas Grabner
 
PPTX
Super powered API testing
postmanclient
 
PPTX
Make Your UI Tests Resilient with the Next Generation of Frameworks
Satyajit Malugu
 
PPTX
Effective Code Review (Or How To Alienate Your Coworkers)
Perforce
 
PPTX
JavaOne 2015: Top Performance Patterns Deep Dive
Andreas Grabner
 
KEY
Continuous integration & deployment
Alan Harper
 
PDF
Careful - APIs Inside: Testing and Monitoring for App Development
3scale
 
PDF
Oscon presentation
garrettmoon
 
PDF
SauceCon 2017: Testing @ the Speed of Concurrency
Sauce Labs
 
Building serverless-applications
Andrii Soldatenko
 
Андрей Солдатенко. Разработка высокопроизводительныx функциональных тестов д...
Alina Dolgikh
 
Mobile Testing Tips - Let's achieve fast feedback loops
Kenneth Poon
 
Speed upyourtest with_appium
VodqaBLR
 
PyCon Ukraine 2014
Andrii Soldatenko
 
Selenium and Appium Training from Sauce Labs
Sauce Labs
 
TDD on android. Why and How? (Coding Serbia 2019)
Danny Preussler
 
Diffy : Automatic Testing of Microservices @ Twitter
Puneet Khanduri
 
Continuous delivery of embedded systems embedded meetup
Mike Long
 
VodQA_ParallelizingCukes_AmanKing
poojaelkunchwar
 
Continuous Testing in the Cloud
Sauce Labs
 
Deploy Faster Without Failing Faster - Metrics-Driven - Dynatrace User Groups...
Andreas Grabner
 
Super powered API testing
postmanclient
 
Make Your UI Tests Resilient with the Next Generation of Frameworks
Satyajit Malugu
 
Effective Code Review (Or How To Alienate Your Coworkers)
Perforce
 
JavaOne 2015: Top Performance Patterns Deep Dive
Andreas Grabner
 
Continuous integration & deployment
Alan Harper
 
Careful - APIs Inside: Testing and Monitoring for App Development
3scale
 
Oscon presentation
garrettmoon
 
SauceCon 2017: Testing @ the Speed of Concurrency
Sauce Labs
 

Similar to Agile Testing Days 2018 USA - API Testing Fundamentals (20)

PPTX
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
Peter Sabev
 
PDF
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Clever Moe
 
PDF
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
Clever Moe
 
PDF
Continuous Integration, Deploy, Test From Beginning To End 2014
Clever Moe
 
PPTX
Selenium Camp 2016
Dan Cuellar
 
PDF
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
PDF
Getting your mobile test automation process in place - using Cucumber and Cal...
Niels Frydenholm
 
PDF
Uber’s Fascinating World of Inter-App Communications
Josiah Renaudin
 
PDF
Application Delivery Patterns
Shiva Narayanaswamy
 
PDF
Api FUNdamentals #MHA2017
JoEllen Carter
 
PDF
Api fundamentals
AgileDenver
 
PPTX
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Ori Bendet
 
PPTX
Appium & Selenium Alone vs Appium & Selenium with Perfecto
Lizzy Guido (she/her)
 
PPTX
Appium vs Espresso and XCUI Test
Perfecto by Perforce
 
ODP
Dev ops ci-ap-is-oh-my_security-gone-agile_ut-austin
Matt Tesauro
 
PDF
Justin Ison
CodeFest
 
PDF
Matt Eakin - The New Tester Skillset
QA or the Highway
 
PDF
Continous Delivery Toronto Presentation
XebiaLabs
 
ODP
Making security-agile matt-tesauro
Matt Tesauro
 
PPTX
Appium overview (Selenium Israel #2, Feb. 2014)
danielputerman
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
Peter Sabev
 
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Clever Moe
 
STARWest: Use Jenkins For Continuous 
Load Testing And Mobile Test Automation
Clever Moe
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Clever Moe
 
Selenium Camp 2016
Dan Cuellar
 
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
Getting your mobile test automation process in place - using Cucumber and Cal...
Niels Frydenholm
 
Uber’s Fascinating World of Inter-App Communications
Josiah Renaudin
 
Application Delivery Patterns
Shiva Narayanaswamy
 
Api FUNdamentals #MHA2017
JoEllen Carter
 
Api fundamentals
AgileDenver
 
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Ori Bendet
 
Appium & Selenium Alone vs Appium & Selenium with Perfecto
Lizzy Guido (she/her)
 
Appium vs Espresso and XCUI Test
Perfecto by Perforce
 
Dev ops ci-ap-is-oh-my_security-gone-agile_ut-austin
Matt Tesauro
 
Justin Ison
CodeFest
 
Matt Eakin - The New Tester Skillset
QA or the Highway
 
Continous Delivery Toronto Presentation
XebiaLabs
 
Making security-agile matt-tesauro
Matt Tesauro
 
Appium overview (Selenium Israel #2, Feb. 2014)
danielputerman
 
Ad

More from JoEllen Carter (6)

TXT
Agile Testing Days 2018 - API Fundamentals - postman collection
JoEllen Carter
 
DOCX
Mapping Mashup Story Mapping Exercise 3 uncolored cards
JoEllen Carter
 
DOCX
Mapping Mashup Exercise solutions
JoEllen Carter
 
PDF
Mapping Mashup Exercise handouts
JoEllen Carter
 
PPTX
Atd 2016-mapping-mashup
JoEllen Carter
 
PDF
Agile testing to build the right thing - Lisa Crispin and JoEllen Carter
JoEllen Carter
 
Agile Testing Days 2018 - API Fundamentals - postman collection
JoEllen Carter
 
Mapping Mashup Story Mapping Exercise 3 uncolored cards
JoEllen Carter
 
Mapping Mashup Exercise solutions
JoEllen Carter
 
Mapping Mashup Exercise handouts
JoEllen Carter
 
Atd 2016-mapping-mashup
JoEllen Carter
 
Agile testing to build the right thing - Lisa Crispin and JoEllen Carter
JoEllen Carter
 
Ad

Recently uploaded (20)

PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 

Agile Testing Days 2018 USA - API Testing Fundamentals

  • 1. •Open the Trello board at https://goo.gl/U8hdro •Download the Postman desktop app from https://www.getpostman.com/ and follow the installation instructions. No dogs were actually washed in the production of these slides. Get a headstart on API Testing FUNdamentals!
  • 2. Show of feet (stand up) - who is willing to share their screen (with Postman) with someone? Hands-on for everyone is preferred. Let's self-organize - Screen folk, keep standing. Screenless folk, re-locate to be near a screen. Not enough screens? Follow along with Dan. Move up front and grab a seat near Dan. Screen logistics
  • 3. API Testing FUNdamentals JoEllen Carter / Dan Gilkerson
  • 4. What’s so fun about testing an Application Programming Interface?
  • 7. Do restful APIs take naps?
  • 9. When does the fun start?
  • 13. Exploratory Testing • Identify the variable bits - things that can/will/might change • Apply Heuristics to the variables • Zero, One, Many • Some, None, All • Beginning, Middle, End • Too Many, Too Few • Relative Position, i.e. content
  • 14. Functional, Contract, & Integration • Basic • Correct status codes are generated for invalid inputs • Request/response bodies contain the correct content type and schema • Backwards-compatibility for public APIs • Advanced • Join API requests together to mirror application functionality
  • 15. Performance & Security • Performance • Response times under different conditions • Basic Security • Authentication tokens are valid/present • Authorization - account boundaries are not violated • SSL is enforced/warned when not present • Advanced Security • Injection points – headers, parameters, body • Recording tools – what is exposed/available • Rest Security Cheat Sheet; OWASP top 10 security vulnerabilities
  • 16. To Infinity and Beyond! • API tests are part of your CI/CD pipeline • Newman - command line runner for Postman collections • Runscope - great for testing incoming requests, a la webhooks • Augment unit tests by crossing component boundaries • Tests are accessible to developers to run locally • Tests are purpose-specific - don’t test everything at one time
  • 17. How much fun did we have?
  • 18. Links ProgrammableWeb API Security Testing OWASP Top 10 Project List of HTTP Header fields Varonis - Introduction to Oauth Oauth.net Understanding rest and rpc http://kanyerest.xyz/
  • 19. Thank you! JoEllen Carter @testacious Dan Gilkerson @dangilkerson