SOA-Web Services Using SOAP-UI
The course is a mix of case driven, instructor-led, and self paced learning, designed to enable participants learn, experiment and implement the concepts involving the SOA Web Services testing of web applications. The participants will be presented with ample examples, exercises and case studies to understand and apply the concepts taught.
Deliverable:
- Faculty Member for the training program
- Master copy of the course notes [Soft Copy Format]
- Case Study Copies
- Course Handouts, if any
Client Responsibilities:
- LCD Projector for projection
- Two White boards
- Conference Hall to seat the participants
- Course Material copies to all the participants
Objectives:
After the completion of the course, the participants would be able to:
- Understand the Service-Oriented Architecture, its Principles and Benefits
- Get a grip on the hyped topic of “SOA is not WebServices”
- Understand WebServices, the most significant implementation model for SOA
- Get a refresher on XML
- Understand the differences between Traditional testing methods and the paradigms needed for testing WebServices
- Understand the key characteristics of WebServices
- Explore different aspects of WSDL
- Explore different Test Strategies for SOA-based applications
- SOA Testing and Opensource Tools
- Understand functional testing, compliance testing and load testing of WebServices
- Identify bug-finding ideas in testing WebServices
The course is appropriate for both Novice and Experienced Testers under the following category:
Test Engineers who are not familiar with SOA/WebServices testing but have fundamental knowledge/experience in functional testing
Day 1:
Introduction to Class
- Participants
- Familiarization with course material
- Familiarization with the protocols and timings
- Expectation setting and clarifications
Service Oriented Architecture
- What is SOA
- SOA Vs Traditional Applications
- SOA Principles
- Who is using SOA?
- Key challenges facing SOA
- SOA Testing
- Introduction
- Differences from conventional testing
- Challenges to be addressed
Tea Break
Refresher on XML
- Introduction
- Well-formedness Vs Validity
- XML DTD, XML Schema and a little bit about Parsers
- Creating and Maintainting XML files
- XML and Tool support
Understanding WSDL
- WSDL and WebServices
- Services
- Ports
- Binding and operations
- PortType and operations
- Messages
- Retrieving and Viewing/Inspecting WSDL files
Lunch Break
SOA and Web Services Testing
- Introduction
- Differences from conventional testing
- Challenges to be addressed
- Overview of the Test Process for Web-services
- Introduction to SOAPUI
- Web Service Proxy using SOAP UI
Tea Break
Mock web services using SOAPUI
- Hands-on Using WSDL as the starting point to mock services
- Building service responses
- Dynamic mocked service using scripting
Day 2
Functional testing of Web Services using SOAPUI
- Using WSDL as the starting point to create tests
- Building service requests
- Process testing of the steps in a business process
- Web Service Test Assertions
- Data-driven testing in SOAPUI
Tea Break
Groovy Scripting and SOAPUI
- Read data from an external data source and write it to another steps properties
- Control TestCase flow based on outcome of some previous step or external invocation
- Trigger the execution of other TestSteps and/or TestCases
Lunch Break
Security testing of Web Services
- Web Service Security overview
- SOAP UI Features for security testing
- Creation of simple security test using SOAP UI
Tea Break
Performance testing of Web Services
- Load testing strategies for Webservices in SOAPUI (Simple, Variance, Burst, Thread)
- Running a load test
- Result analysis and graphing
Case Study, Exercise and Quiz