We deliver whatever we promise, Automation is an art, Feel the difference with us.

Enroll Today!

Course Overview   Live Training at $399 Videos at $29

In this course we cover the prospects of Manual and Automation Testing for Web Services/API Testing using SOAPUI and SOAPUI Pro. The main focus of the course is to test web service or API effectively with both positive and negative test as our believe is API need to be testing exhaustively so that we can help developers to make it very flexible so that any consumer can we it efficiently. Our main intent is to help individual to implement an END to END testing solution using Groovy Scripting for SOAPUI/SOAPUI Pro. Key point covered but not limited to:

  • Automation Fundamentals
  • Groovy Scripting
  • Tool expertise in SOAPUI and SOAPUI Pro
  • Framework Development
  • Test Management For Web Service/API
  • Result Reporting(HTML, .txt and .XLS)

Syllabus

                                                                                           MODULE 1 - Web Services Testing - Perquisite

 

Topic # 1: Web Services Testing - Introduction

  • What is a Web Services
  • Web Services Communication Protocols
  • What is a Restful Service
  • Difference between SOAPUI and SOAP PRO
  • What is XML, schema, WSDL and WADL file
  • Web Services Manual and Automation Testing
  • Importance of Groovy Scripting in Automation
  • Why Automation is important in Web Services Testing
  • Is automation difficult to learn for a manual Tester?
  • How to go about the course

Topic # 2: Web Services– Manual Testing

  • Understanding the Web Services for Testing
  • Difference between Resource, Method and Operations
  • Creating a Project for Web Service
  • Approach to write the test cases
  • Defining Test Cases to test a Service
  • Creating Test Suite in SOAPUI/SOAPUI Pro
  • Creating Test Cases in SOAPUI/SOAPUI Pro
  • Different steps in Test Case
  • Test Execution at Test Cases level and at Test Suite Level
  • Reading execution Logs and analysis results

 

                                                                                           MODULE 2 - Web Services Testing –Groovy Scripting

 

Topic # 3: Groovy Scripting - Fundamentals

  • What is groovy scripting
  • Usage of Groovy in SOAPUI Automation Testing
  • What is log, context and test Runner variable
  • Defining Variables in Groovy
  • Groovy Dynamic Capibilities and Duck Typing
  • Decision control Statements in Groovy(if, if-else, if-elseif-else etc.)
  • Loops in Groovy(While Loop, For Loop)

Topic # 4: Groovy Scripting - Collections in Groovy

  • What is collections and its usage
  • Array and it's implementation
  • What is ArrayList and its advantages
  • Working with Map and Range in Groovy
  • Working with HashSet and HashTable
  • Different Collection Methods

Topic # 5: Groovy Scripting - User Defined Functions

  • Designing Custom Functions in Groovy
  • Function Type – Takes Nothing/Return Nothing
  • Function Type – Takes Nothing/Return Something
  • Function Type – Takes Something/Return Nothing
  • Function Type – Takes Something/Return Something
  • Parameterizing Functions(Pass by Value and Pass by reference)
  • Function Overloading
  • Closures in Groovy Scripting
  • String Functions in Groovy

Topic # 6: Groovy Scripting - Object Orient Programming

  • Creating Classes and Object in Groovy scripting
  • Initializing LOG variable inside the class
  • Constructors and its type
  • Constructor Overloading
  • Initializing LOG variable using Constructor
  • Static and Non Static Variables
  • Static and Non Static Methods
  • Optional Parameters in Groovy

Topic # 7: Groovy Scripting - Exception Handling

  • What is Exception Handling
  • Handling exceptions using TRY - CATCH Block
  • What is FINALLY and its importance
  • Handling Exceptions inside the Catch Block
  • How to Throw Exception
  • User defined Exceptions in Groovy

Topic # 8: SOAPUI Database Connection                             

  • Use of Database Connectivity
  • Supported Database Types
  • Defining Connection String and driver selection
  • Excepting Handling in DB
  • Working with Qurery Results using eachRow and firstRow
  • Performing CRUD operations
  • Database function in Groovy     
                                                                                           MODULE 3 - Web Services Testing (SOAP Protocol 'XML') –SOAPUI

 

Topic # 09: Assertions

  • What are assertions
  • Assertions for Automation Testing
  • Property Content Assertions
  • Compliance, Status and Standard Assertions
  • Forming XPath and writing dynamic assertion
  • SLA and Security Assertions
  • Script Assertions - Best things to use
  • Best practices for assertions

Topic # 10: Groovy Step - Context Variable

  • What is context variable
  • Understanding Scope of context
  • Reading Request/Response using Context
  • Parsing Request/Response using XMLHolder class
  • Creating Xpath to read the response
  • Using XPath to count, find duplicate note in XML Response
  • Exploring Xpath for XML Response Validation
  • Writing Script Assertion for Validation

Topic # 11: Groovy Step - testRunner Variable

  • What is testRunner
  • Monitoring result(Pass/Fail)
  • Conditional execution(Skip/Cancel/Abort)
  • Finding SLA/execution time
  • Understanding different levels in SOAP Project
  • Working with WsdlTestRunnerContext to share context across levels
  • Navigating from One step to Another step in the same/different TestSuite
  • Disabling the Test Step of another test case using Groovy

Topic # 12: Properties in SOAPUI

  • What is a Property, its importance
  • Property at different Level(Project Level, TestSuite Level, Test Case Level)
  • Different ways of working with Properties
  • Reading and Setting Properties using Groovy at different Levels
  • Shortcut to retrieve property at different level using groovy
  • Working with WsdlTestRunnerContext to read and write properties 
  • Reading the Response from  request and set the property for other request

Topic # 13: Test Step - Property Transfer

  • What is Property Transfer Step in SOAPUI
  • When to use Property Transfer
  • Implementation of Property Transfer Step
  • Property Expansion with Property Transfer Step

Topic # 14: Data Driven Development in SOAPUI Free Version

  • Basics of Data Driven Development
  • Limitation of SOAPUI Free Version
  • Apache POI and how to use in SOAPUI
  • HSSFWorkbook, getSheetAt(), getRow(), getCell(), getStringCellValue()
  • Reading an Excel document using Groovy
  • Looping though all the rows and columns of Excel
  • Writing to an Excel document
  • Loop through the same request for different data sets
  • Working with CSV

 

MODULE 4 - Web Services/ API Testing (REST Protocol 'JSON') –SOAPUI
 

Topic # 15: Understanding RESTFULL Service(API) 

  • What is a Restful Web service mean?
  • Difference between SOAP Protocol and REST
  • JSON  JavaScript Object Notation                                                          
  • Different types of Requests in REST (GET/PUT/POST/DELETE)
  • Real time examples of REST Method Types
  • Why to use JSON for API development
  • Creating a REST Project in SOAPUI
  • Understanding Resource, Child Resource, Method, End Point
  • Understanding Method Parameters and Media Type
  • Interface and Test Request
  • Understanding JSON Response
  • JSON Validator

Topic # 16: Groovy Scripting - API Automation

  • Building a Test Case and Test Suite for REST API
  • How to use Groovy for Automation Testing
  • Library for reading JSON in Groovy
  • JsonSluper class in Groovy
  • ParseText Method for parsing JSON Object
  • Reading JSON request and response
  • Script Assertion for validating Response
  • messageExchange Variable in script assertion
  • Reading Status codes using Groovy
  • XMLHolder and its usage
MODULE 5 - Web Services Testing - SOAPUI PRO

 

Topic # 19: Understanding SOAPUI PRO

  • Advantages of SOAPUI PRO
  • Difference between SOAPUI PRO and SOAPUI
  • Features of SOAPUI Pro
  • Installing and using PRO

Topic # 20: Data Driven Development - SOAPUI Pro                             

  • What is DDA and its benefits
  • Source for the DDA(.XLS File)
  • Data Source Step for DDA in SOAPUI Pro
  • Creating Properties in Data Source Step
  • Parameterizing script
  • Validating/Running Data Source Step individually
  • Data Source Loop Step for iteration
  • Setting Source and Target for Test Request
  • Building a Robust DDA Model for Automation

Topic # 21: Capturing/Storing Output - DataSink step

  • How to write data/output in XLS file
  • What is DataSink Step and its usage
  • Writing Test Outcome in XLS file(PASS/FAIL)
  • Techinque for .XLS reporting using DataSink
  • End to End Test Management with DataSource & DataSink

Topic # 22: SOAPUI Pro - Miscellaneous Features

  • Generating Code in groovy using SOAPUI PRO
  • Executing Entire Test using TestRunner
  • Building .txt Report
  • Creating Junit HTML Report
  • Creating PDF Report
  • Generating Documentation
  • Test Coverage
  • JDBC Test Step
  • Query Builder