SlideShare a Scribd company logo
©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 Services
Chris Muir
 
The Cloud Foundry Story on OpenStack
The Cloud Foundry Story on OpenStackThe Cloud Foundry Story on OpenStack
The Cloud Foundry Story on OpenStack
Stuart 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 Ops
Marie-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 Economy
CA 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 pipeline
Capgemini
 
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 Value
Coupa 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 Microservices
Pavel 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 KPIs
Prolifics
 
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 | POC
Jeffrey Nunn
 
To Microservices and Beyond
To Microservices and BeyondTo Microservices and Beyond
To Microservices and Beyond
Matt Stine
 
The Story of User Stories
The Story of User StoriesThe Story of User Stories
The Story of User Stories
Robbie 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-15b
Colin 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 Provider
CA Technologies
 
Keynote: PeopleSoft strategy and update
Keynote: PeopleSoft strategy and updateKeynote: PeopleSoft strategy and update
Keynote: PeopleSoft strategy and update
Cedar 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

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 

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