SlideShare a Scribd company logo
3
Most read
5
Most read
8
Most read
SoapUI & Postman
Introduction
Web services overview
A Web service, in very broad terms, is a method of communication between
two applications or electronic devices over the World Wide Web (WWW).
Web services are of two kinds:
 Simple Object Access Protocol (SOAP)
 Representational State Transfer (REST).
What is API and What is API Testing ?
 API (Full form Application Programming Interface) enables
communication and data exchange between two separate
software systems. A software system implementing an API
contains functions/sub-routines which can be executed by
another software system.
 The purpose of API Testing is to check the functionality,
reliability, performance, and security of the programming
interfaces. In API Testing, instead of using standard user
inputs(keyboard) and outputs, you use software to send calls to
the API, get output, and note down the system's response. API
tests are very different from GUI Tests and won't concentrate on
the look and feel of an application. It mainly concentrates on the
business logic layer of the software architecture.
What is SOAP & REST ?
SOAP stands for Simple Object Access Protocol. It is a protocol which is used to
exchange information in the form of structured data like XML, JSON or plain data
etc. with the help of Web Services or Web API in computer networks. XML format
information is negotiated and transferred on the application layer of computer
networks using protocol like HTTP (Hyper Text Transfer Protocol), SMTP (Simple
Mail Transfer Protocol) etc.
REST determines how the API looks like. It stands for “Representational State
Transfer”. It is a set of rules that developers follow when they create their API.
One of these rules states that you should be able to get a piece of data (called a
resource) when you link to a specific URL. Each URL is called a request while the data
sent back to you is called a response
SOAP VS REST
SOAP REST
Standardized protocol with pre-defined rules
to follow.
Architectural style with loose guidelines and
recommendations.
Function-driven (data available as services,
e.g.: “getUser”)
Data-driven (data available as resources, e.g.
“user”).
Only XML. Plain text, HTML, XML, JSON, YAML, and
others.
Enterprise apps, high-security apps,
distributed environment, financial services,
payment gateways, telecommunication
services.
Public APIs for web services, mobile services,
social networks.
High security, standardized, extensibility. Scalability, better performance, browser-
friendliness, flexibility.
Poorer performance, more complexity, less
flexibility.
Less security, not suitable for distributed
environments.
What is SOAP UI ?
 SoapUI is an open-source testing tool which can operate in
cross-platforms.
 It is mainly used to test Web services and Web APIs.
 It has very simple User Interface which is very easy to handle
by both technical and non-technical users.
 Using SoapUI tool, tester can automate both functional tests
as well non-functional tests and can execute compliance,
regression, security and load tests for Web APIs.
 All standard protocols like HTTP, HTTPS, SOAP, WSDL, REST,
JDBC, JMS, etc. are supported by SoapUI and has in-built
technologies to test all kind of APIs. Diagram below
represents the protocols supported by SoapUI
What is WSDL ?
 WSDL - WSDL stands for Web Services Description Language
 WSDL is used to describe web services
 WSDL is written in XML
 An WSDL document describes a web service. It specifies the location of the
service, and the methods of the service, using these major elements:
Soap UI and postman
Advantages of SOAP
 Functional Testing - Powerful and innovative features help you validate
and improve the quality of your services and applications.
 Data Driven - Use the Data Source Test Step to read and loop test data.
 Regression Testing - it is used to find any side effects of the new change
or fix.
 Load Testing - Load testing is conducted to analyze the load that a web
service or web API can withhold before it breaks
 Security Testing: This kind of testing is supported by SoapUI to ensure
authorization and authentically in request and response model of web
services and web APIs
Generic HTTP Method Types
GET
POST
PUT
DELETE
Creating a SoapUI Project
Step1: File  New Generic Project
Enter Project Name and select the Add Rest Service check
box.
Step2: New Rest Service Dialog
Enter the Service Name and select the Create Resource check
box.
Postman
 Postman is currently one of the most popular tools used
in API testing. It started in 2012 as a side project by
Abhinav Asthana to simplify API workflow in testing and
development. API stands for Application Programming
Interface which allows software applications to
communicate with each other via API calls
 Some of the features of Postman are :- Accessibility ,
Use of Collections, Collaboration, Creating
Environments, Creation of Tests, Debugging
GET Requests
 Get requests are used to retrieve information from the
given URL. There will be no changes done to the
endpoint.
POST Requests
 Post requests are different from Get request as there is
data manipulation with the user adding data to the
endpoint.
Soap UI and postman
Parameterization of Requests
 Data Parameterization is one of the most useful features
of Postman. Instead of creating the same requests with
different data, you can use variables with parameters.
These data can be from a data file or an environment
variable. Parameterization helps to avoid repetition of
the same tests and iterations can be used for
automation testing.
 Parameters are created through the use of double curly
brackets: {{sample}}
Soap UI and postman
Collections
 Collections play an important role in organizing test suites. It can be
imported and exported making it easy to share collections amongst the
team.
Soap UI and postman
Soap UI and postman
Generic Meanings of HTTP Response Status
Codes
Response Status Code Meaning
200 Ok Successful requests other than creations and deletions.
201 Created Successful creation of a queue, topic, temporary queue, temporary topic, session,
producer, consumer, listener, queue browser, or message.
204 No Content Successful deletion of a queue, topic, session, producer, or listener.
400 Bad Request The path info doesn't have the right format, or a parameter or request body value
doesn't have the right format, or a required parameter is missing, or values have the
right format but are invalid in some way (for example, destination parameter does
not exist, content is too big, or client ID is in use).
403 Forbidden The invoker is not authorized to invoke the operation.
404 Not Found The object referenced by the path does not exist.
405 Method Not Allowed The method is not one of those allowed for the path.
409 Conflict An attempt was made to create an object that already exists.
500 Internal Server Error The execution of the service failed in some way.
Thank You
Questions?

More Related Content

What's hot (20)

PPTX
Testing soap UI
Razia Sultana
 
PPTX
API Testing for everyone.pptx
Pricilla Bilavendran
 
PDF
REST API and CRUD
Prem Sanil
 
PDF
API_Testing_with_Postman
Mithilesh Singh
 
PPTX
What's an api
Jacques Ledoux
 
PPTX
Rest assured
Varun Deshpande
 
PPTX
Postman Introduction
Rahul Agarwal
 
PPTX
Postman Collection Format v2.0 (pre-draft)
Postman
 
PDF
Jmeter Performance Testing
Atul Pant
 
PDF
API Testing: The heart of functional testing" with Bj Rollison
TEST Huddle
 
PPT
Postman.ppt
ParrotBAD
 
PDF
Gradle Introduction
Dmitry Buzdin
 
PPTX
Introduction to performance testing
Tharinda Liyanage
 
PPTX
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
PPT
Presentation for soap ui
Anjali Rao
 
PPTX
Postman. From simple API test to end to end scenario
HYS Enterprise
 
PPTX
How to Get Started with Cypress
Applitools
 
PPSX
API Test Automation
SQALab
 
PDF
Spring Boot
Jaran Flaath
 
PPTX
Cypress first impressions
Hans Emmel
 
Testing soap UI
Razia Sultana
 
API Testing for everyone.pptx
Pricilla Bilavendran
 
REST API and CRUD
Prem Sanil
 
API_Testing_with_Postman
Mithilesh Singh
 
What's an api
Jacques Ledoux
 
Rest assured
Varun Deshpande
 
Postman Introduction
Rahul Agarwal
 
Postman Collection Format v2.0 (pre-draft)
Postman
 
Jmeter Performance Testing
Atul Pant
 
API Testing: The heart of functional testing" with Bj Rollison
TEST Huddle
 
Postman.ppt
ParrotBAD
 
Gradle Introduction
Dmitry Buzdin
 
Introduction to performance testing
Tharinda Liyanage
 
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
Presentation for soap ui
Anjali Rao
 
Postman. From simple API test to end to end scenario
HYS Enterprise
 
How to Get Started with Cypress
Applitools
 
API Test Automation
SQALab
 
Spring Boot
Jaran Flaath
 
Cypress first impressions
Hans Emmel
 

Similar to Soap UI and postman (20)

PPTX
Apitesting.pptx
NamanVerma88
 
PDF
API Testing. Streamline your testing process.
Andrey Oleynik
 
PDF
API Testing Interview Preparation and Methods
VivekanandaSamantra2
 
PPTX
Api Testing
Vishwanath KC
 
PDF
Webservices Testing PPT.pdf
AbhishekDhotre4
 
PDF
Api FUNdamentals #MHA2017
JoEllen Carter
 
PDF
Api Testing.pdf
JitendraYadav351971
 
PDF
API testing Notes and features, difference.pdf
kunjukunjuzz904
 
DOCX
Api testing bible using postman
Abhishek Saxena
 
PPTX
SOA Testing
Roopesh Kohad
 
PDF
Api fundamentals
AgileDenver
 
PPTX
API testing - Japura.pptx
TharindaLiyanage1
 
PDF
Api_testing.pdf
RameshN849679
 
PDF
TEST PPTBCHDBHBHBHVBHJEFVHJVBFHVBFHVBHFVBFHVHFVBFHVBHFVBFHVBFHVBFVBFVBHVBVBFHVB
utsavaggarwal8
 
PPTX
Belajar Postman test runner
Fachrul Choliluddin
 
PPTX
What is an API?
Muhammad Zuhdi
 
PPTX
Автоматизация тестирования API для начинающих
COMAQA.BY
 
PDF
API Testing Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
Best practices and advantages of REST APIs
Aparna Sharma
 
PDF
Web Services Testing
DataArt
 
Apitesting.pptx
NamanVerma88
 
API Testing. Streamline your testing process.
Andrey Oleynik
 
API Testing Interview Preparation and Methods
VivekanandaSamantra2
 
Api Testing
Vishwanath KC
 
Webservices Testing PPT.pdf
AbhishekDhotre4
 
Api FUNdamentals #MHA2017
JoEllen Carter
 
Api Testing.pdf
JitendraYadav351971
 
API testing Notes and features, difference.pdf
kunjukunjuzz904
 
Api testing bible using postman
Abhishek Saxena
 
SOA Testing
Roopesh Kohad
 
Api fundamentals
AgileDenver
 
API testing - Japura.pptx
TharindaLiyanage1
 
Api_testing.pdf
RameshN849679
 
TEST PPTBCHDBHBHBHVBHJEFVHJVBFHVBFHVBHFVBFHVHFVBFHVBHFVBFHVBFHVBFVBFVBHVBVBFHVB
utsavaggarwal8
 
Belajar Postman test runner
Fachrul Choliluddin
 
What is an API?
Muhammad Zuhdi
 
Автоматизация тестирования API для начинающих
COMAQA.BY
 
API Testing Interview Questions PDF By ScholarHat
Scholarhat
 
Best practices and advantages of REST APIs
Aparna Sharma
 
Web Services Testing
DataArt
 
Ad

Recently uploaded (20)

PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Ad

Soap UI and postman

  • 2. Introduction Web services overview A Web service, in very broad terms, is a method of communication between two applications or electronic devices over the World Wide Web (WWW). Web services are of two kinds:  Simple Object Access Protocol (SOAP)  Representational State Transfer (REST).
  • 3. What is API and What is API Testing ?  API (Full form Application Programming Interface) enables communication and data exchange between two separate software systems. A software system implementing an API contains functions/sub-routines which can be executed by another software system.  The purpose of API Testing is to check the functionality, reliability, performance, and security of the programming interfaces. In API Testing, instead of using standard user inputs(keyboard) and outputs, you use software to send calls to the API, get output, and note down the system's response. API tests are very different from GUI Tests and won't concentrate on the look and feel of an application. It mainly concentrates on the business logic layer of the software architecture.
  • 4. What is SOAP & REST ? SOAP stands for Simple Object Access Protocol. It is a protocol which is used to exchange information in the form of structured data like XML, JSON or plain data etc. with the help of Web Services or Web API in computer networks. XML format information is negotiated and transferred on the application layer of computer networks using protocol like HTTP (Hyper Text Transfer Protocol), SMTP (Simple Mail Transfer Protocol) etc. REST determines how the API looks like. It stands for “Representational State Transfer”. It is a set of rules that developers follow when they create their API. One of these rules states that you should be able to get a piece of data (called a resource) when you link to a specific URL. Each URL is called a request while the data sent back to you is called a response
  • 5. SOAP VS REST SOAP REST Standardized protocol with pre-defined rules to follow. Architectural style with loose guidelines and recommendations. Function-driven (data available as services, e.g.: “getUser”) Data-driven (data available as resources, e.g. “user”). Only XML. Plain text, HTML, XML, JSON, YAML, and others. Enterprise apps, high-security apps, distributed environment, financial services, payment gateways, telecommunication services. Public APIs for web services, mobile services, social networks. High security, standardized, extensibility. Scalability, better performance, browser- friendliness, flexibility. Poorer performance, more complexity, less flexibility. Less security, not suitable for distributed environments.
  • 6. What is SOAP UI ?  SoapUI is an open-source testing tool which can operate in cross-platforms.  It is mainly used to test Web services and Web APIs.  It has very simple User Interface which is very easy to handle by both technical and non-technical users.  Using SoapUI tool, tester can automate both functional tests as well non-functional tests and can execute compliance, regression, security and load tests for Web APIs.  All standard protocols like HTTP, HTTPS, SOAP, WSDL, REST, JDBC, JMS, etc. are supported by SoapUI and has in-built technologies to test all kind of APIs. Diagram below represents the protocols supported by SoapUI
  • 7. What is WSDL ?  WSDL - WSDL stands for Web Services Description Language  WSDL is used to describe web services  WSDL is written in XML  An WSDL document describes a web service. It specifies the location of the service, and the methods of the service, using these major elements:
  • 9. Advantages of SOAP  Functional Testing - Powerful and innovative features help you validate and improve the quality of your services and applications.  Data Driven - Use the Data Source Test Step to read and loop test data.  Regression Testing - it is used to find any side effects of the new change or fix.  Load Testing - Load testing is conducted to analyze the load that a web service or web API can withhold before it breaks  Security Testing: This kind of testing is supported by SoapUI to ensure authorization and authentically in request and response model of web services and web APIs
  • 10. Generic HTTP Method Types GET POST PUT DELETE
  • 11. Creating a SoapUI Project Step1: File  New Generic Project Enter Project Name and select the Add Rest Service check box.
  • 12. Step2: New Rest Service Dialog Enter the Service Name and select the Create Resource check box.
  • 13. Postman  Postman is currently one of the most popular tools used in API testing. It started in 2012 as a side project by Abhinav Asthana to simplify API workflow in testing and development. API stands for Application Programming Interface which allows software applications to communicate with each other via API calls  Some of the features of Postman are :- Accessibility , Use of Collections, Collaboration, Creating Environments, Creation of Tests, Debugging
  • 14. GET Requests  Get requests are used to retrieve information from the given URL. There will be no changes done to the endpoint.
  • 15. POST Requests  Post requests are different from Get request as there is data manipulation with the user adding data to the endpoint.
  • 17. Parameterization of Requests  Data Parameterization is one of the most useful features of Postman. Instead of creating the same requests with different data, you can use variables with parameters. These data can be from a data file or an environment variable. Parameterization helps to avoid repetition of the same tests and iterations can be used for automation testing.  Parameters are created through the use of double curly brackets: {{sample}}
  • 19. Collections  Collections play an important role in organizing test suites. It can be imported and exported making it easy to share collections amongst the team.
  • 22. Generic Meanings of HTTP Response Status Codes Response Status Code Meaning 200 Ok Successful requests other than creations and deletions. 201 Created Successful creation of a queue, topic, temporary queue, temporary topic, session, producer, consumer, listener, queue browser, or message. 204 No Content Successful deletion of a queue, topic, session, producer, or listener. 400 Bad Request The path info doesn't have the right format, or a parameter or request body value doesn't have the right format, or a required parameter is missing, or values have the right format but are invalid in some way (for example, destination parameter does not exist, content is too big, or client ID is in use). 403 Forbidden The invoker is not authorized to invoke the operation. 404 Not Found The object referenced by the path does not exist. 405 Method Not Allowed The method is not one of those allowed for the path. 409 Conflict An attempt was made to create an object that already exists. 500 Internal Server Error The execution of the service failed in some way.