
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.
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.
Create a SoapUI workspace and a soap project from a Wsdl file, then send a sample request to the web service and manually validate the response.
Learn to clone test cases and test suites in SoapUI, rename and relocate them to new or existing suites, clone entire suites, and update codes from Excel before running tests.
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
Master advanced assertions in SoapUI with XPath match and property content to validate supplier data by zip code 75070, and create test suites to verify counts and not-equals conditions.
Master xquery assertions in SoapUI to extract supplier zip codes from a REST API response and validate them against 75070, using for loops and namespace handling.
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.
Assignment
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.
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.
In this lecture, you will learn about
- Path param
- Comparing responses of two REST requests
Shows importing a swagger rest project into soapui, testing pet store endpoints, and creating an end-to-end real-time scenario from create to delete with json assertions.
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.
By using,
- Header parameters (api_key / security_token)
- Basic Authorization
- OAuth2.0 tokens
In this topic you will learn how to send attachments to REST Service.
Assignment
Explore Groovy basics to automate SoapUI test cases, define variables with dynamic typing, print and log outputs, and use string interpolation with simple data types like string, int, and double.
Master groovy conditions with boolean variables and if-else logic, using else if chains to model grades a, b, c and actions like car, bike, or nothing.
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
Explore Groovy lists and maps for rest api testing with SoapUI by defining, iterating with each, and performing add, remove, and contains operations. Retrieve map values with get and put.
Learn to write Groovy assertions for SoapUI rest api testing, comparing expected and actual values, adding meaningful failure messages, and validating lists with contains.
Learn to access SoapUI project artifacts with Groovy by traversing from the test runner to workspace, project, test suites, and test cases, reading names and iterating over suites.
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.
Execute end-to-end test automation with groovy in soapui by reading bank data from a csv file, calling the get bank web service, and asserting the response against file data.
In this lecture, you will learn how to process json data from rest service using Groovy script and assert the values.
Learn to read data from Excel sheets into Groovy code using a library in SoapUI, load the workbook, select the first sheet, iterate rows, and print cell contents.
Learn to write Groovy methods with def and return values, reuse methods like add numbers, and create readable, reusable code.
In this topic , you will learn how to read data from MySQL database.
Driver configuration Link:
https://www.soapui.org/jdbc/reference/jdbc-drivers.html
Assignment
Assignment
I am attaching groovy source code used for all the lectures.
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.
By the end of this course, you will be comfortable testing both SOAP-based and RESTful web services manually, as well as automating these processes using Groovy scripting. The curriculum is designed to guide you from the basics to more advanced topics in a logical order. Assignments and quizzes are included to help you practice and reinforce your understanding.
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
Course Highlights:
"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
Support:
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.