Heading:
SoapUI is, from smartBear, is used to test functional, performance, Regression, security and compliance test for SOAP and REST APIs.
What will I learn?
After completing this course you will have a complete hands on experience to use SoapUI to test SOAP and REST webservices.
You will be able to:
Create projects, test suites, test cases, test steps and populate variable data.
Understand request and response WSDL files and JSON files
Create mocks for integration testing
Assert responses in different parameters
Perform loop actions in test cases
Perform data driven testing using Groovy scripting
Understand xml reports
Please check the curriculum for more information..
Audience and Requirements:
QA, BA, Manager and anyone who is interested to know SoapUI for functional and performance testing.
Needs prior knowledge about software and performance test fundamentals. Look “Fundamentals of Software Testing” and “Fundamentals of Performance Testing” from our portal.
Training Highlights:
Mentorship will be available through training and after training
You will be working on functional web service projects
You will practice on interview questions and secession from day one
Assessment:
Scenario 1: Find online a SOAP webservice of city by country code list and check whether the service is replying the right data. Use assertions appropriately.
Scenario 2: Find online a REST web service that gives country information by country code. Check whether the service is giving the right data. Use assertions appropriately.
Scenario 3: Develop a data driven test to send request with varying data so that we can prove whether the service is replying with right data. If you are not using SoapUI Pro, you must use Groovy script to read data from from excel or text file.
Scenario 4: Develop a test case that repeats itself 10 times but jumps a test step on each second round. Follow your path, use Groovy to have count controller and to enable and disable test steps.
Scenario 5: Develop a test case that calls another test case. Add a manual test step to the second test case, so that it will prompts you to pass or fail it manually; that way you can prove whether the call is working or not.
Curriculum
SOAP and REST Basic
SOAP architecture
WSDL file and Understanding Services
REST architecture
REST methods
Web service testing needs:
Understand the WSDL file or Http request format
Understand the Operation each web service or api provides
Understand the XML request format and data
Understand the XML or JSON response format and data
Web service testing tools
Using Apache Axis2 Api(java jar)
Using SoapUI
SoapUI Testing
Installing SoapUI
Understanding SoapUI
XML messaging
XML Schema
SOAP envelope
SOAP body
SOAP binding
SoapUI testing Services
Functional testing
Regression testing
Compliance testing
Load testing
A complete step to create SoapUI test
Have a Work Space
Create a project: Operations and Actions
Create a test suite
Create Test case/operation
Create Test step/action:
SOAP, REST, AMF, JDBC requests
Manual test step
Time delay test step
Groovy test step
Set properties anywhere and use anywhere:
Setting at a Global, Project,TestSuite, TestCase and testStep level
Perform property transfer
SoapUI assertion
Contains and Not contains
Xpath with wild card, Regular expression, Content, Count, Exists
xQuery: Using for loop, order by, data and return
Mocking SOAP and REST services
Create mocking from request
Running Mock service
Include Mock service to test case
SoapUI Functional Test
WSDL Coverage
Request/Response Coverage
Message Assertions
Test Refactoring
Running of Multiple Tests
Data Source Driven Testing
Scripting Libraries
Unit Reporting
Manual Test Step
SoapUI Security Test
Boundary Scan
Invalid Type
SQL Injection
XPath Injection
XML Bomb
Fuzzing Scan
Cross Site Scripting
Configurable Scan
Reporting
SoapUI Load Test
Rapid load test from functional test
Configurable load strategies
Load test assertion
Real time statistics
Performance monitoring
Statistic exporting
SetUp/TearDown using Groovy Scripting
LoadUI integration
Reporting
Reports
Junit report
Report data export
WSDL html report
WSDL Coverage
TestSuite and TestCase Coverage
Assertion Coverage
Message Recording Coverage
SoapUI pro simplifies the following operations
Data driven, Test coverage
Test Debugging, Multi Environment Support
Groovy Scripting for SoapUI
Groovy Scripting
Has 3 objects:
Loag object
testRunner object:
Context: to access current test case
In soapUI every thing is a class:
Project, testsuite, testcase are classes
Using testRunner to create object of these classes
Setting and Getting value from objects
log.info and pObject.name
Variables and Operators;
Conditions
Loops in groovy
Setting properties and viewing properties in SoapUI by using groovy
Connecting to a database from groovy
Connecting to Excel from groovy
SoapUI Advance Staffs
SoapUI integration with: Maven, HUDSON, Junit, Apache-Ant
SoapUI Pro Driven Testing
Go pro: Data source out of the box
Create a data source
Create a test with parameters
Loop over the data source
Execute the test case
Further exploration
SoapUI free Data driven Testing
Data provider groovy test step : read from file or excel and store to property
Property test step: where data provider stores current record
Soap test step: reads from property and run the actual test
Loop control test step: decides which step go for next execution or quiet test case
SoapUI with Database (JDBC)
SoapUI Command line