Soap UI Web Services Testing SOAP and REST Basic
Total Page:16
File Type:pdf, Size:1020Kb
Soap UI Web Services Testing SOAP and REST Basic : 1. SOAP architecture 2. WSDL file and Understanding Services 3. REST architecture 4. REST methods 5. Web service testing needs: a. Understand the WSDL file or Http request format b. Understand the Operation each web service or api provides c. Understand the XML request format and data d. Understand the XML or JSON response format and data 6. Web service testing tools a. Using Apache Axis2 Api(java jar) b. Using SoapUI SoapUI Testing : 1. Installing SoapUI 2. Understanding SoapUI a. XML messaging b. XML Schema c. SOAP envelope d. SOAP body e. SOAP binding 3. SoapUI testing Services a. Functional testing b. Regression testing c. Compliance testing d. Load testing 4. A complete step to create SoapUI test a. Have a Work Space b. Create a project: Operations and Actions c. Create a test suite d. Create Test case/operation e. Create Test step/action: i. SOAP, REST, AMF, JDBC requests ii. Manual test step iii. Time delay test step iv. Groovy test step 5. Set properties anywhere and use anywhere: a. Setting at a Global, Project,TestSuite, TestCase and testStep level b. Perform property transfer 6. SoapUI assertion a. Contains and Not contains b. Xpath with wild card, Regular expression, Content, Count, Exists c. xQuery: Using for loop, order by, data and return 7. Mocking SOAP and REST services a. Create mocking from request b. Running Mock service c. Include Mock service to test case 8. SoapUI Functional Test a. WSDL Coverage b. Request/Response Coverage c. Message Assertions d. Test Refactoring e. Running of Multiple Tests f. Data Source Driven Testing g. Scripting Libraries h. Unit Reporting i. Manual Test Step 9. SoapUI Security Test a. Boundary Scan b. Invalid Type c. SQL Injection d. XPath Injection e. XML Bomb f. Fuzzing Scan g. Cross Site Scripting h. Configurable Scan i. Reporting 10. SoapUI Load Test a. Rapid load test from functional test b. Configurable load strategies c. Load test assertion d. Real time statistics e. Performance monitoring f. Statistic exporting g. SetUp/TearDown using Groovy Scripting h. LoadUI integration i. Reporting 11. Reports a. Junit report b. Report data export c. WSDL html report d. WSDL Coverage e. TestSuite and TestCase Coverage f. Assertion Coverage g. Message Recording Coverage 12. SoapUI pro simplifies the following operations a. Data driven, Test coverage b. Test Debugging, Multi Environment Support Groovy Scripting for SoapUI : 1. Groovy Scripting 2. Has 3 objects: a. Loag object b. testRunner object c. Context: to access current test case 3. In soapUI every thing is a class: a. Project, testsuite, testcase are classes b. Using testRunner to create object of these classes c. Setting and Getting value from objects d. log.info and pObject.name 4. Variables and Operators; 5. Conditions 6. Loops in groovy 7. Setting properties and viewing properties in SoapUI by using groovy 8. Connecting to a database from groovy 9. Connecting to Excel from groovy SoapUI Advance Staffs : 1. SoapUI integration with: Maven, HUDSON, Junit, Apache-Ant 2. SoapUI Pro Driven Testing a. Go pro: Data source out of the box b. Create a data source c. Create a test with parameters d. Loop over the data source e. Execute the test case f. Further exploration 3. SoapUI free Data driven Testing a. Data provider groovy test step : read from file or excel and store to property b. Property test step: where data provider stores current record c. Soap test step: reads from property and run the actual test d. Loop control test step: decides which step go for next execution or quiet test case 4. SoapUI with Database (JDBC) 5. SoapUI Command line .