SlideShare a Scribd company logo
1 of 14
©2015 Manipal Global Education Services
©2015 Manipal Global Education Services
©2015 Manipal Global Education Services
Introduction to Rest Web Service
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
At the end of this lesson, you will be able to:
LEARNING OBJECTIVES
2
At the end of this lesson, you will be able
to:
LEARNING OBJECTIVES
2
At the end of this lesson, you will be able
to:
LEARNING OBJECTIVES
2
• What is Rest?
• Difference between web and Rest service
• Difference Method in Restful service.
• Creating Rest Request and Response.
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
3
3
3
What is Rest?
REST : Representation State Transfer
• Rest is alternative to soap Protocol
• Restful service can be considered as lightweight alternative.
• Rest is not a protocol.
• Restful service is a stateless communication protocol.
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
4
4
4
What is Rest?
• Restful service use a HTTP protocol.
• Restful service does not have standard for description format.
• Restful service data can be in the structure of XML, Json, text.
• Json is mostly widely used.
• Rest is very data-driven compared to SOAP.
• REST service in SoapUI can be imported by using WADL files.
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
5
5
5
What is Rest?
• SoapUI Pro supports the Open API, Swagger and RAML formats.
• REST HTTP requests are:
• POST, GET, PUT, and DELETE.
• SoapUI supports HEAD, OPTIONS, TRACE, PATCH requests as well
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
6
6
6
Web service
 Follows standard while sending
any Request and Response.
 Soap Web service is heavier.
 Performance is bad.
 Security is good.
Rest Service
 No Standard followed.
 Rest services is lightweight.
 Performance is good.
 Security is bad.
Difference Between Web and Rest Service
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
7
7
7
HTTP Method
 GET
 POST
 PUT
 Delete
Response
 Read or Retrieve Data.
 Add New Data.
 Update data that already exist.
 Remove Data.
Different Method in Restful Service
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
8
8
8
 Start by creating a new REST project with a single request:
• File  New Rest Project Enter the URI and click ok.
URI: http://216.10.245.166/maps/api/place/add/json?key= qaclick123
Create REST Request: Step 1
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
9
9
9
Create REST Request: Step 2
Click on the Request toolbar and you will see the XML output returned by the service:
Response (Output in json Format)
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
10
10
10
Create REST Request: Step 3
The request seems fine, so let's create an actual functional test for this resource. Click . Specify a name for the test suite,
test case and for the REST Request test step:
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
11
11
11
Create REST Request: Step 4
SoapUI creates a test case with a corresponding REST Request test step:
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
CHECK YOUR
UNDERSTANDING
?
12
CHECK YOUR
UNDERSTANDING
?
12
CHECK YOUR
UNDERSTANDING
?
12
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
13
13
13
 HTTP
 FTP
 SOAP
 XML
1. Which of the following protocol is used by RESTful web services
as a medium of communication between client and server?
QUIZ QUESTION
©2015 Manipal Global Education Services
©2015 Manipal Global Education
©2015 Manipal Global Education
14
14
14
 Represent State Transfer
 Representational State Transfer
 Represent State Transfermation
 None Of The Above
1. What REST stands for?
QUIZ QUESTION

More Related Content

Similar to Introduction To Rest Web Service.pptx

Oracle REST Data Services
Oracle REST Data ServicesOracle REST Data Services
Oracle REST Data ServicesChris Muir
 
The Cloud Foundry Story on OpenStack
The Cloud Foundry Story on OpenStackThe Cloud Foundry Story on OpenStack
The Cloud Foundry Story on OpenStackStuart Charlton
 
Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?
Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?
Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?Steve Poole
 
Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...
Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...
Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...CA Technologies
 
Removing Barriers Between Dev and Ops
Removing Barriers Between Dev and OpsRemoving Barriers Between Dev and Ops
Removing Barriers Between Dev and OpsMarie-Jeanne Dougados
 
How Active Automation can Deliver in the Application Economy
How Active Automation can Deliver in the Application EconomyHow Active Automation can Deliver in the Application Economy
How Active Automation can Deliver in the Application EconomyCA Technologies
 
Cwin16 tls-s2-implementing a dev ops pipeline
Cwin16 tls-s2-implementing a dev ops pipelineCwin16 tls-s2-implementing a dev ops pipeline
Cwin16 tls-s2-implementing a dev ops pipelineCapgemini
 
Get Ready for Changes To Load Testing
Get Ready for Changes To Load Testing Get Ready for Changes To Load Testing
Get Ready for Changes To Load Testing SOASTA
 
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...Steve Poole
 
The Coupa Organic Platform from A to Z: Maximizing the Value
The Coupa Organic Platform from A to Z: Maximizing the ValueThe Coupa Organic Platform from A to Z: Maximizing the Value
The Coupa Organic Platform from A to Z: Maximizing the ValueCoupa Software
 
How to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based MicroservicesHow to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based MicroservicesPavel Bucek
 
Pulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIs
Pulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIsPulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIs
Pulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIsProlifics
 
Cloud Native Empowered Culture
Cloud Native Empowered Culture Cloud Native Empowered Culture
Cloud Native Empowered Culture VMware Tanzu
 
JVMCON Java in the 21st Century: are you thinking far enough ahead?
JVMCON Java in the 21st Century: are you thinking far enough ahead?JVMCON Java in the 21st Century: are you thinking far enough ahead?
JVMCON Java in the 21st Century: are you thinking far enough ahead?Steve Poole
 
HPE | Network Virtualization | POC
HPE | Network Virtualization | POCHPE | Network Virtualization | POC
HPE | Network Virtualization | POCJeffrey Nunn
 
To Microservices and Beyond
To Microservices and BeyondTo Microservices and Beyond
To Microservices and BeyondMatt Stine
 
The Story of User Stories
The Story of User StoriesThe Story of User Stories
The Story of User StoriesRobbie Mac Iver
 
ISO 9001 2015 DIS 8.0 Operation 03-01-15b
ISO 9001 2015 DIS 8.0 Operation 03-01-15bISO 9001 2015 DIS 8.0 Operation 03-01-15b
ISO 9001 2015 DIS 8.0 Operation 03-01-15bColin Gray
 
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom ProviderRemoving Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom ProviderCA Technologies
 
Keynote: PeopleSoft strategy and update
Keynote: PeopleSoft strategy and updateKeynote: PeopleSoft strategy and update
Keynote: PeopleSoft strategy and updateCedar Consulting
 

Similar to Introduction To Rest Web Service.pptx (20)

Oracle REST Data Services
Oracle REST Data ServicesOracle REST Data Services
Oracle REST Data Services
 
The Cloud Foundry Story on OpenStack
The Cloud Foundry Story on OpenStackThe Cloud Foundry Story on OpenStack
The Cloud Foundry Story on OpenStack
 
Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?
Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?
Dev talks Cluj 2018 : Java in the 21 Century: Are you thinking far enough ahead?
 
Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...
Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...
Exploit New Levels of Insight, Orchestration and Governance for Complex Appli...
 
Removing Barriers Between Dev and Ops
Removing Barriers Between Dev and OpsRemoving Barriers Between Dev and Ops
Removing Barriers Between Dev and Ops
 
How Active Automation can Deliver in the Application Economy
How Active Automation can Deliver in the Application EconomyHow Active Automation can Deliver in the Application Economy
How Active Automation can Deliver in the Application Economy
 
Cwin16 tls-s2-implementing a dev ops pipeline
Cwin16 tls-s2-implementing a dev ops pipelineCwin16 tls-s2-implementing a dev ops pipeline
Cwin16 tls-s2-implementing a dev ops pipeline
 
Get Ready for Changes To Load Testing
Get Ready for Changes To Load Testing Get Ready for Changes To Load Testing
Get Ready for Changes To Load Testing
 
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
 
The Coupa Organic Platform from A to Z: Maximizing the Value
The Coupa Organic Platform from A to Z: Maximizing the ValueThe Coupa Organic Platform from A to Z: Maximizing the Value
The Coupa Organic Platform from A to Z: Maximizing the Value
 
How to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based MicroservicesHow to Thrive on REST/WebSocket-Based Microservices
How to Thrive on REST/WebSocket-Based Microservices
 
Pulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIs
Pulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIsPulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIs
Pulse 2014 APM User Group - scAPM to Predict & Dynamically Report on KPIs
 
Cloud Native Empowered Culture
Cloud Native Empowered Culture Cloud Native Empowered Culture
Cloud Native Empowered Culture
 
JVMCON Java in the 21st Century: are you thinking far enough ahead?
JVMCON Java in the 21st Century: are you thinking far enough ahead?JVMCON Java in the 21st Century: are you thinking far enough ahead?
JVMCON Java in the 21st Century: are you thinking far enough ahead?
 
HPE | Network Virtualization | POC
HPE | Network Virtualization | POCHPE | Network Virtualization | POC
HPE | Network Virtualization | POC
 
To Microservices and Beyond
To Microservices and BeyondTo Microservices and Beyond
To Microservices and Beyond
 
The Story of User Stories
The Story of User StoriesThe Story of User Stories
The Story of User Stories
 
ISO 9001 2015 DIS 8.0 Operation 03-01-15b
ISO 9001 2015 DIS 8.0 Operation 03-01-15bISO 9001 2015 DIS 8.0 Operation 03-01-15b
ISO 9001 2015 DIS 8.0 Operation 03-01-15b
 
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom ProviderRemoving Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
 
Keynote: PeopleSoft strategy and update
Keynote: PeopleSoft strategy and updateKeynote: PeopleSoft strategy and update
Keynote: PeopleSoft strategy and update
 

Recently uploaded

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

Introduction To Rest Web Service.pptx

  • 1. ©2015 Manipal Global Education Services ©2015 Manipal Global Education Services ©2015 Manipal Global Education Services Introduction to Rest Web Service
  • 2. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education At the end of this lesson, you will be able to: LEARNING OBJECTIVES 2 At the end of this lesson, you will be able to: LEARNING OBJECTIVES 2 At the end of this lesson, you will be able to: LEARNING OBJECTIVES 2 • What is Rest? • Difference between web and Rest service • Difference Method in Restful service. • Creating Rest Request and Response.
  • 3. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 3 3 3 What is Rest? REST : Representation State Transfer • Rest is alternative to soap Protocol • Restful service can be considered as lightweight alternative. • Rest is not a protocol. • Restful service is a stateless communication protocol.
  • 4. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 4 4 4 What is Rest? • Restful service use a HTTP protocol. • Restful service does not have standard for description format. • Restful service data can be in the structure of XML, Json, text. • Json is mostly widely used. • Rest is very data-driven compared to SOAP. • REST service in SoapUI can be imported by using WADL files.
  • 5. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 5 5 5 What is Rest? • SoapUI Pro supports the Open API, Swagger and RAML formats. • REST HTTP requests are: • POST, GET, PUT, and DELETE. • SoapUI supports HEAD, OPTIONS, TRACE, PATCH requests as well
  • 6. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 6 6 6 Web service  Follows standard while sending any Request and Response.  Soap Web service is heavier.  Performance is bad.  Security is good. Rest Service  No Standard followed.  Rest services is lightweight.  Performance is good.  Security is bad. Difference Between Web and Rest Service
  • 7. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 7 7 7 HTTP Method  GET  POST  PUT  Delete Response  Read or Retrieve Data.  Add New Data.  Update data that already exist.  Remove Data. Different Method in Restful Service
  • 8. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 8 8 8  Start by creating a new REST project with a single request: • File  New Rest Project Enter the URI and click ok. URI: http://216.10.245.166/maps/api/place/add/json?key= qaclick123 Create REST Request: Step 1
  • 9. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 9 9 9 Create REST Request: Step 2 Click on the Request toolbar and you will see the XML output returned by the service: Response (Output in json Format)
  • 10. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 10 10 10 Create REST Request: Step 3 The request seems fine, so let's create an actual functional test for this resource. Click . Specify a name for the test suite, test case and for the REST Request test step:
  • 11. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 11 11 11 Create REST Request: Step 4 SoapUI creates a test case with a corresponding REST Request test step:
  • 12. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education CHECK YOUR UNDERSTANDING ? 12 CHECK YOUR UNDERSTANDING ? 12 CHECK YOUR UNDERSTANDING ? 12
  • 13. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 13 13 13  HTTP  FTP  SOAP  XML 1. Which of the following protocol is used by RESTful web services as a medium of communication between client and server? QUIZ QUESTION
  • 14. ©2015 Manipal Global Education Services ©2015 Manipal Global Education ©2015 Manipal Global Education 14 14 14  Represent State Transfer  Representational State Transfer  Represent State Transfermation  None Of The Above 1. What REST stands for? QUIZ QUESTION

Editor's Notes

  1. Hi, welcome to this session on introduction to soapUI which provides an overview of all the features of soapUI and soapUI pro and shows you how to create a simple web service proxy.
  2. ANS : HTTP
  3. ANS: Representational State Transfer