Top Banner
SoapUI: the beginning
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Soap ui

SoapUI: the beginning

Page 2: Soap ui

Agenda

About Soap UI System Requirements Features Technology Support Testing REST Services

Page 3: Soap ui

About SoapUI

Free and open source cross-platform Functional Testing solution.

Easy-to-use graphical interface Create and execute automated

functional Regression tests Security tests Load tests.

Page 4: Soap ui

System RequirementsWindows

Windows XP or later

1GHz or higher 32-bit or 64-bit processor

512MB of RAM

200MB of hard disk space for installation (SoapUI and HermesJMS)

Linux1GHz or higher 32-bit or 64-bit Intel or AMD64 processor 512MB of RAM 240MB of hard disk space for installation (SoapUI Pro and HermesJMS) Ubuntu, Red Hat, Fedora, CentOS, Suse; or other distributions Java 6

Mac OSMac computer with 1GHz or higher 32-bit or 64-bit Intel or PowerPC processor 512MB of RAM 140MB of hard disk space for installation (SoapUI and HermesJMS) Mac OS X 10.4 or later; Mac OS X Server 10.4 or later Java 6

Page 5: Soap ui

Features

Functional Testing Service Simulation (Mocking) Security Testing Load Testing Test Automation Analytics

Page 6: Soap ui

Functional Testing

Drag and Drop Test Creation Complex Scenarios Test Debugging (Pro) Data-Driven Testing (Pro) Test Coverage (Pro) Multi Environment Support

Page 7: Soap ui

Service Simulation (Mocking) Auto Mock Creation Custom Responses Real Services Standards-Compliant Server Deployment Simulation Coverage

Page 8: Soap ui

Security Testing

SQL Injection XML Bomb Cross Site scripting Fuzzing Scan Boundary Scan Malicious attachment Malformed XML

Page 9: Soap ui

Load Testing Baseline Testing Load Testing Stress Testing Soak Testing Scalability Testing

Page 10: Soap ui

Load Testing

Page 11: Soap ui

Test Automation Integration with TeamCity Integrating with JUnit Maven 1.X Maven 2.X

Functional tests:

mvn eviware:maven-soapui-plugin:test Loadtests:

mvn eviware:maven-soapui-plugin:loadtest MockServices:

mvn eviware:maven-soapui-plugin:mock

Page 12: Soap ui

Analytics

Three types of reports:

Printable Reports - PDF, HTML, RTF, Word, Excel.

Data Export - XML and CSV. HTML Reports - test results in HTML

format.

Page 13: Soap ui

Analytics - SoapUI Pro

Page 14: Soap ui

Analytics - SoapUI

Page 15: Soap ui

Technology Support

SOAP/WSDL REST Web and HTTP(S) AMF JDBC JMS

Page 16: Soap ui

Create SoapUI project

Page 17: Soap ui

Add REST service

Page 18: Soap ui

Add Test Case

Generate automatically at creation test suite

Add manually

Page 19: Soap ui

Method

Page 20: Soap ui

Test step types

Test Request Groovy Script Properties REST TestRequest HTTP TestRequest Mock Responce JDBC Request AMF Request

Page 21: Soap ui

Assertions Property Content

Contains Not Contains XPath Match XQuery Match

Compliance, Status and Standarts Invalid HTTP Status Codes Schema Compliance Valid HTTP Status Codes

Script Script Assertion

SLA Response SLA

Security Sensitive Information Exposure

JDBC JDBC Status JDBC Timeout

Page 22: Soap ui

Groovy Scripts

Page 23: Soap ui

XPath Match

Page 24: Soap ui

Test JDBC

Page 25: Soap ui

Export/Import

Export TestCases in XML format Import TestSuite and TestCases from

XML file

Page 26: Soap ui

Questions?