SlideShare a Scribd company logo
®
WEBINAR: Planet Test Automation: First Steps
Part 4: Automating REST/SOAP API Testing
• December 4th, 2019 – Alexey Grinevich, @AlexeyGrinevich
We will be starting the webinar shortly, please stand by…
All phones will be automatically on mute until the Q&A.
®
2 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Webinar Series: Useful Information
• Housekeeping Matters
• Post Webinar Follow-Up:
• Blog
• Webinar Recording
• Presentation On Slideshare
• Post-Webinar Quiz
• Webinar Series: Planet Test
Automation: First Steps
• Webinar Series Certificate Rules &
FAQs
®
3 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Hey, I am Alexey
• Working on Rapise test
automation tool @Inflectra
• 20 years in software
development
• 10 years in test automation
• Twitter: @AlexeyGrinevich
• Email: alexey@Inflectra.com
®
4 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Demo AUT
 https://demo.openmrs.org/openmrs/login.htm
®
5 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Scenario: Merge Patient
 We use local instance (REST enabled)
 Our URL http://openmrs.demo/openmrs-standalone/
®
6 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
®
®
7 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
APIs
 REST API (OpenMRS)
 Create Patient
 SOAP API (Spira v5)
 Create Incident
®
8 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Master Plan
 Analyze
 Try
 Plan
 Implement
®
9 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
API Master Plan
 For each API (REST, SOAP) do:
 Analyze
 Try
 Plan
 Implement
®
10 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Analyze: REST
 Find reference docs
https://wiki.openmrs.org/display/docs/REST+Web+Services+API
+For+Clients
 Find info about Authorization
https://wiki.openmrs.org/display/docs/REST+Web+Services+API
+For+Clients#RESTWebServicesAPIForClients-Authentication
 Find samples
https://wiki.openmrs.org/display/docs/Create+Patient
 Find entry points
®
11 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Try: REST
 Try it right from Rapise
 Choose appropriate API version (latest is not always best)
®
12 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Plan: REST
 Find a sequence
 Define parameters
 Define outputs
®
13 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Implement: REST
 Use Record & Verify
 Generate Script
 Define JS parameters
®
14 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
SOAP
 Similar to REST
 Except WSDL
 URL https://dev-eu.spiraservice.net/
®
15 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Analyze: SOAP
 Find WSDL Entry point
 Find info about
Authorization
®
16 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Try: SOAP
 Try it right from Rapise
 Choose best entry point
®
17 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Plan: SOAP
 Find a sequence
 Define parameters
 Define outputs
®
18 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Implement: SOAP
 Use Record & Verify
 Generate Script
 Define JS paremeters
®
19 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Wrap Up: Four Steps
Analyze
 API Entry Point
 Authorization
Try
 Call individual entry points
Plan
Define a sequence
Implement
Record steps
Tune Parameters, Headers, Credntials
Tune Link output parameters
®
20 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Complete Example
 openmrs testing framework
 Uses SubTests, utils and bricks
 Uses shared objects
 Has scenario S03MergePatient implemented and placeholder of
other scenarios (S03)
 You may configure it to work with your spira and to use different
patient name.
®
21 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Ashurbanipal Sargonid
®
22 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Next Webinar
 Data-Driven Testing
 The power of UI test automation is in capability to execute the
same steps with different input data. Join us to learn the basic
techniques of data-driven UI testing. Besides theoretical info we
are going to show examples using real applications. Presenter:
Denis Markovtsev – automation expert at Inflectra
 http://www.inflectra.com/Company/Event/live-webinar-data-
driven-testing-part-5-903.aspx?source=webinar
®
23 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation
Q&A
Thank You!

More Related Content

PPT
Dodaii Detail English -tokyocamp-
PPTX
AppFolio 1099s - December Webinar
PPTX
Mulesoft intergrate for android app
PPTX
PHP & Twilio
PPTX
Introduction to SharePoint 2013 Apps
PDF
What Postman Did for a CEO Who Can’t Code by Craig Balkin
PPTX
What Can The Spira API Do For You?
PPTX
Rapise Overview Presentation (2025 Update)
Dodaii Detail English -tokyocamp-
AppFolio 1099s - December Webinar
Mulesoft intergrate for android app
PHP & Twilio
Introduction to SharePoint 2013 Apps
What Postman Did for a CEO Who Can’t Code by Craig Balkin
What Can The Spira API Do For You?
Rapise Overview Presentation (2025 Update)

Similar to Automating REST/SOAP API Testing (Part 4) (20)

PPTX
Automating Web UI Testing | Inflectra Webinars | (Part 1)
PPTX
Automating Desktop UI Testing | Inflectra Webinars | (Part 2)
PPTX
Inflectra 2017 Zürich User Summit
PPTX
Test Masters 2016 Spring Conference
PPTX
Inflectra 2017 Mannheim User Summit
PPTX
Data Driven Testing (Part 5)
PPTX
From Theory to Practice: Utilizing SpiraPlan's REST API
PPTX
Inflectra Lightning Session: Exploring the Full Potential of the Inflectra Suite
PPTX
Inflectra Partner Program 2022
PPTX
Becoming an Inflectra Partner
PPTX
Inflectra 2017 London User Summit
PPTX
DevGeekWeek 2017 Inflectra Meetup in Herzliya Presentation
PPTX
Inflectra User Summit California 2018 - SpiraTeam, SpiraTest, SpiraPlan, Rapi...
PPTX
Alternatives to Legacy Tech Solutions: The Case of Micro Focus Webinar Presen...
PPTX
Inflectra Partner Program 2023
PPTX
Inflectra Overview Presentation (2019)
PPTX
Rapise Overview Presentation (2019)
PPTX
From Manual To Automated Software Testing - A Webinar Presentation
PPTX
Ensuring Project Success with SpiraTeam and Rapise from Inflectra pta - short
PPTX
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Automating Web UI Testing | Inflectra Webinars | (Part 1)
Automating Desktop UI Testing | Inflectra Webinars | (Part 2)
Inflectra 2017 Zürich User Summit
Test Masters 2016 Spring Conference
Inflectra 2017 Mannheim User Summit
Data Driven Testing (Part 5)
From Theory to Practice: Utilizing SpiraPlan's REST API
Inflectra Lightning Session: Exploring the Full Potential of the Inflectra Suite
Inflectra Partner Program 2022
Becoming an Inflectra Partner
Inflectra 2017 London User Summit
DevGeekWeek 2017 Inflectra Meetup in Herzliya Presentation
Inflectra User Summit California 2018 - SpiraTeam, SpiraTest, SpiraPlan, Rapi...
Alternatives to Legacy Tech Solutions: The Case of Micro Focus Webinar Presen...
Inflectra Partner Program 2023
Inflectra Overview Presentation (2019)
Rapise Overview Presentation (2019)
From Manual To Automated Software Testing - A Webinar Presentation
Ensuring Project Success with SpiraTeam and Rapise from Inflectra pta - short
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Ad

More from Inflectra (20)

PPTX
Inflectra Partner Program Information (2025)
PPTX
Inflectra Company Overview Presentation (2025 Update)
PPTX
KronoDesk Overview Presentation (2025 Update)
PPTX
SpiraTest Overview Presentation (2025 Update)
PPTX
SpiraTeam Overview Presentation (2025 Update)
PPTX
SpiraPlan Overview Presentation (2025 Update)
PPTX
Inflectra Company Overview Presentation (2025)
PPTX
Inflectra Company Overview Presentation (2025)
PPTX
InflectraCON 360: Risk-Based Testing for Mission Critical Systems
PPTX
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
PPTX
From Challenger to Champion: How SpiraPlan Outperforms JIRA+Plugins
PPTX
Webinar: SpiraTeam - A Jira Alternative to Revolutionize Your Project Management
PPTX
Webinar: Discover the Power of SpiraTeam - A Jira Alternative To Revolutioniz...
PPTX
Webinar: Unleashing the Power of Spira 7.7 - Scaling Agile with Program Capab...
PPTX
Webinar: Transforming Healthcare QA with SpiraTeam - Achieving Excellence in ...
PPTX
Intro inflectra PTA DATIS Summit 2023
PPTX
Inflectra User Summit - Mannheim - PTA 2023
PPTX
Webinar: How to Leverage SpiraTeam for QA Excellence
PPTX
Embedding GAMP Compliance into Digital Health Software - The Case of SpiraPlan
PPTX
Inflectra Overview Presentation (2023)
Inflectra Partner Program Information (2025)
Inflectra Company Overview Presentation (2025 Update)
KronoDesk Overview Presentation (2025 Update)
SpiraTest Overview Presentation (2025 Update)
SpiraTeam Overview Presentation (2025 Update)
SpiraPlan Overview Presentation (2025 Update)
Inflectra Company Overview Presentation (2025)
Inflectra Company Overview Presentation (2025)
InflectraCON 360: Risk-Based Testing for Mission Critical Systems
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
From Challenger to Champion: How SpiraPlan Outperforms JIRA+Plugins
Webinar: SpiraTeam - A Jira Alternative to Revolutionize Your Project Management
Webinar: Discover the Power of SpiraTeam - A Jira Alternative To Revolutioniz...
Webinar: Unleashing the Power of Spira 7.7 - Scaling Agile with Program Capab...
Webinar: Transforming Healthcare QA with SpiraTeam - Achieving Excellence in ...
Intro inflectra PTA DATIS Summit 2023
Inflectra User Summit - Mannheim - PTA 2023
Webinar: How to Leverage SpiraTeam for QA Excellence
Embedding GAMP Compliance into Digital Health Software - The Case of SpiraPlan
Inflectra Overview Presentation (2023)
Ad

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Cloud computing and distributed systems.
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
GamePlan Trading System Review: Professional Trader's Honest Take
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Weekly Chronicles - August'25 Week I
Advanced Soft Computing BINUS July 2025.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
cuic standard and advanced reporting.pdf
NewMind AI Monthly Chronicles - July 2025
Cloud computing and distributed systems.
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
The AUB Centre for AI in Media Proposal.docx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx

Automating REST/SOAP API Testing (Part 4)

  • 1. ® WEBINAR: Planet Test Automation: First Steps Part 4: Automating REST/SOAP API Testing • December 4th, 2019 – Alexey Grinevich, @AlexeyGrinevich We will be starting the webinar shortly, please stand by… All phones will be automatically on mute until the Q&A.
  • 2. ® 2 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Webinar Series: Useful Information • Housekeeping Matters • Post Webinar Follow-Up: • Blog • Webinar Recording • Presentation On Slideshare • Post-Webinar Quiz • Webinar Series: Planet Test Automation: First Steps • Webinar Series Certificate Rules & FAQs
  • 3. ® 3 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Hey, I am Alexey • Working on Rapise test automation tool @Inflectra • 20 years in software development • 10 years in test automation • Twitter: @AlexeyGrinevich • Email: [email protected]
  • 4. ® 4 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Demo AUT  https://demo.openmrs.org/openmrs/login.htm
  • 5. ® 5 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Scenario: Merge Patient  We use local instance (REST enabled)  Our URL http://openmrs.demo/openmrs-standalone/
  • 6. ® 6 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation ®
  • 7. ® 7 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation APIs  REST API (OpenMRS)  Create Patient  SOAP API (Spira v5)  Create Incident
  • 8. ® 8 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Master Plan  Analyze  Try  Plan  Implement
  • 9. ® 9 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation API Master Plan  For each API (REST, SOAP) do:  Analyze  Try  Plan  Implement
  • 10. ® 10 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Analyze: REST  Find reference docs https://wiki.openmrs.org/display/docs/REST+Web+Services+API +For+Clients  Find info about Authorization https://wiki.openmrs.org/display/docs/REST+Web+Services+API +For+Clients#RESTWebServicesAPIForClients-Authentication  Find samples https://wiki.openmrs.org/display/docs/Create+Patient  Find entry points
  • 11. ® 11 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Try: REST  Try it right from Rapise  Choose appropriate API version (latest is not always best)
  • 12. ® 12 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Plan: REST  Find a sequence  Define parameters  Define outputs
  • 13. ® 13 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Implement: REST  Use Record & Verify  Generate Script  Define JS parameters
  • 14. ® 14 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation SOAP  Similar to REST  Except WSDL  URL https://dev-eu.spiraservice.net/
  • 15. ® 15 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Analyze: SOAP  Find WSDL Entry point  Find info about Authorization
  • 16. ® 16 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Try: SOAP  Try it right from Rapise  Choose best entry point
  • 17. ® 17 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Plan: SOAP  Find a sequence  Define parameters  Define outputs
  • 18. ® 18 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Implement: SOAP  Use Record & Verify  Generate Script  Define JS paremeters
  • 19. ® 19 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Wrap Up: Four Steps Analyze  API Entry Point  Authorization Try  Call individual entry points Plan Define a sequence Implement Record steps Tune Parameters, Headers, Credntials Tune Link output parameters
  • 20. ® 20 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Complete Example  openmrs testing framework  Uses SubTests, utils and bricks  Uses shared objects  Has scenario S03MergePatient implemented and placeholder of other scenarios (S03)  You may configure it to work with your spira and to use different patient name.
  • 21. ® 21 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Ashurbanipal Sargonid
  • 22. ® 22 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Next Webinar  Data-Driven Testing  The power of UI test automation is in capability to execute the same steps with different input data. Join us to learn the basic techniques of data-driven UI testing. Besides theoretical info we are going to show examples using real applications. Presenter: Denis Markovtsev – automation expert at Inflectra  http://www.inflectra.com/Company/Event/live-webinar-data- driven-testing-part-5-903.aspx?source=webinar
  • 23. ® 23 | 12/4/2019 © Copyright 2006-2019 Inflectra Corporation Q&A Thank You!

Editor's Notes

  • #4: Thea, thank you for the intro. Thanks everyone for joining today. My name is Denis! I create software products for about 20 years. Last 10 years I do it in test automation field. Currently I am in love with Rapise – test automation tool we develop at Inflectra. Follow me on Twitter and send questions by email. You are very welcome.