Rest API/Web Services testing with SoapUI+Realtime scenarios
By end of this course you will be familiar in testing web services (both SOAP based and REST Services) manually and automate with Groovy scripting.The course has been prepared in such a way that you can learn this course starting from basics to advanced topics in a progressive way. Course has assignments/quizzes for you to practice and strengthen your knowledge.
****Course has projects with SOAP/REST services for practice purpose.****
By end of this course you will be familiar in:
Web services basics like WSDL,SOAP ,XML and JSON.
- Creating Test Suites, Test Cases for SOAP/RESTFul APIs/Web Services
- Writing Assertions (Validating web service responses)
- Data Driven Testing
- Working with Data Sources (Database,Excel,Grid etc..)
- Working with DataSink and DataGen
- Automation with Groovy Script
- Reading data from Files,Excel Sheets using Groovy scripts
- Importing SWAGGER Projects
- Creating Mock Services
- Generating Test Reports
- Creating batch scripts to execute your test cases from command line tool
- Integrating with Jenkins for Continuous Integration
- Managing Environments in SoapUI Free version
- “We respect your time“- all the videos are short and straight to point without wasting your valuable time.
- Assignments – Given assignments along with required resources, which will help you practice your learning.
- Short and precise videos
- Checkpoint questions
- Interview Questions
- Sample Project :Provided a sample project with “REST Services” for practice purpose
******************** Final Certification Mock Exam (40 Questions) **************************
I offer full support, answering any questions you have.
This means you’ll never find yourself stuck on one lesson with out progress. With my hand-holding guidance, you’ll learn smoothly through this course without any major issues.
In this session, you will get a sneak preview of web service introduction ,understand why we need web services.You can also take a quick glance on the topics we are going cover as part of this course.
In this video you will learn on how to download and install SoapUI Free Version5.3.0 on your computer.
Web Service Basics (Skip if you know basics)
In this session, I will give you a brief introduction about Web services and why we need them?
In this session, I will give you a brief introduction about XML.
In this session, I will give you a brief introduction about WSDL document.
In this session, I will give you a brief introduction about SOAP message.
This quiz will help you test your knowledge on web service basic concepts
Sample SOAP Services for practice purpose
Please download the the Mock Service project which is available under "Resources" in your local machine and import it to your work space as part of your practice session.You need this project for next topic "Running mock service".
In this course you will learn how to point your web service requests to local mock service (this will come handy when your actual web service is not in working condition).
Now its time for assignments :)
Assignment : Creating Project/TestSuite/TestCases
Please check the resources section to get the WSDL link for "Calculator Web Service".(If the link doesn't work, please use the WSDL in resources section of this lecture for "calculator service.wsdl" file, download it on to your disk and use to for project creation)
Note: This web service got 2 interfaces CalculatorSoap and CalculatorSoap12 . Please use CalculatorSoap for your testing.
Task 1: Create a separate SOAP project (name it as "calculator project") in your work space using the WSDL .
Task 2: Create test suite . "TS01_test suite to test arithmetic operations"
Task 3: Create separate test cases for each available operation in the web service. Follow naming conventions for test cases , e.g "TC01_test case for add operation"
Enjoy your first assignment :).
In this session, you will learn how XPath expressions works and how to write them to extract the data from XML documement
Provided the sample project "Airport-Project-soapui-project.xml" in the resources section along with the WSDL file location.This contains the mock service also.If the actual web service is not working you can use the mock service.
Check point to test and strengthen your knowledge on assertions. Are you ready?
Working with Properties
In this session, you will understand the need of properties in soap ui tool and also learn to create properties at Project , Test Suite and Test Case level.
By end of this session you will be familiar with property transfer concepts and why they will be used.
This quiz is to test your knowledge on properties & property transfer concepts. Best of luck!!!
Working with REST APIs
In this session, you will understand REST Services architecture and how they communicate with applications using XML or JSON data formats.
In this session, you will learn how to create a REST project from REST URI and write assertions using JSonPath expressions in soap ui.
In this session, you will understand the differences between GET,POST,PUT and DELETE methods in REST Services.
Quiz on REST API topics
In this lecture, you will learn about
- Path param
- Comparing responses of two REST requests
In this session you will learn,
How to transfer properties using JSonPath and
Using these properties, we will make another web service call.
In this topic you will learn how to call REST service which requires authentication.
- Header parameters (api_key / security_token)
- Basic Authorization
- OAuth2.0 tokens
In this topic you will learn how to send attachments to REST Service.
OAuth 2 -Authentication
Automation with Groovy
In this topic , you will learn on how to dynamically pass data to REST API's POST method from excel sheet using Groovy script automation
In this lecture you will learn on how to call a web service and extract the xml response using XmlSlurper.
In this lecture you will learn on how to read data from a text file and storing the data in groovy variables for further processing.
Note: You can find the sample code in resources section.
In this lecture, you will learn how to process json data from rest service using Groovy script and assert the values.
In this topic , you will learn how to read data from MySQL database.
Driver configuration Link:
I am attaching groovy source code used for all the lectures.
Web Service Mocking
In this session, I am going to give you a brief introduction to mock services and why need to develop them in soap ui tool.
In this session, you will learn how to create a mock service and produce dynamic responses using Groovy Script
Assignment : Create mock service for calculator service.
Assignment : Produce dynamic mock responses for calculator mock service.
Quiz on mock services
Data Driven Testing
SoapUI Pro download.
In this session, you will learn how to use Soap UI Grid as Data Source for your web service requests.
In this session, you will learn how to use Excel as Data Source for your web service requests.
In this session, you will learn how to use your MySQL database as Data Source for your web service requests.
In this session, you will be familiar with DataGen and different strategies used to produce sample test data.
In this session, you will learn how to store web service response on your disk (using File )
MySQL is a popular open source database and it can easily be installed on desktop/laptop. In this session I will walk you through the process for downloading, installing and configuring MySQL Server .
In this session, you will learn how to install most popular client UI tool for MySQL database which is "Toad".
In this session, you will learn how to create a new
in MySQL Server.
In this session, you will learn to work with the following SQL statements.
In this topic you will learn how to manage environments in soap ui free version
I also had attached sample property files and project in "Resources" section.
In this session, you will learn how to,
Create JDBC TestStep in Soap UI Free version,
Transferring value from JDBC TestStep to Soap operation using Property transfer.
In this session, you will learn how to,
Create JDBC TestStep in Soap UI Pro version,
Use JDBC Query builder to create SQL query
Transferring value from JDBC TestStep to Soap operation using "Get Data" feature which automatically creates property expansion expression.
In this session, you will learn how to create Environments for Development & Quality systems.
In this session, you will learn to create test reports for soap ui project.
In this session, you will learn how to create a "batch" file to execute your test cases in your project from command prompt.
In this course , you will learn to integrate your SoapUI project with Jenkins using maven configuration file.
you can find the sample "pom.xml" file, which you can download and configure for your project.
In this lesson you will get some hands on experience on load testing feature in Soap UI.