32
Testing SOA, Web services and Application Development Framework applications Murali Iyengar Oracle 16 th Aug 2010 The most comprehensive Oracle applications & technology content under one roof

Testing soa, web services and application development framework applications

Embed Size (px)

Citation preview

Page 1: Testing soa, web services and application development framework applications

Testing SOA, Web services and Application Development Framework applications

Murali IyengarOracle

16th Aug 2010

The most comprehensive Oracle applications & technology content under one roof

Page 2: Testing soa, web services and application development framework applications

• Oracle’s Application & Middleware Quality Management

• Introduction to Oracle Application Testing Suite (ATS)

• How to Test SOA Web Services using ATS

• Testing Application Development Framework (ADF) apps

 • Conclusion

Agenda

Page 3: Testing soa, web services and application development framework applications

Integrated Application-to-Disk Management

• Complete, Open, Integrated Management across the entire stack

• Best of breed manageability built into each tier

• Ops Center extends business-driven application management to infrastructure layers

Page 4: Testing soa, web services and application development framework applications

Application Performance Management Lifecycle Management

Configuration Management Application Quality Management

Diagnostics, Tuning

User Experience

Java, SOA, Transactions

Collection, Tracking, History

Compliance Dashboards

Application Configuration Mgmt

Provisioning

Dynamic Resource Management

Patching

Data Masking

Functional/Load Testing

Real Application Testing

Comprehensive Management

Page 5: Testing soa, web services and application development framework applications

Testing Application Changes• Application Testing SuiteApplication Testing Suite

• Ensure quality and performance with end-to-end application testing

Testing Infrastructure Changes• Real Application TestingReal Application Testing

• Designed and optimized for testing database tier infrastructure changes

Test Data Management• Data Masking PackData Masking Pack

• Achieve security & compliance objectives by obfuscating sensitive data in test environments

• Enables secure, production-scale testing

Oracle Application Quality ManagementApplication &

M

id-tiersInfrastructure &

DB-tiers

Page 6: Testing soa, web services and application development framework applications

Oracle Application Testing SuiteA powerful, integrated testing solution for ensuring application quality, performance and

reliability

Oracle Functional Testing

Automated functional & regression testing

Oracle Test Manager

Test process management, requirements and defect

tracking

Oracle Load Testing

Automated load & performance testing

Page 7: Testing soa, web services and application development framework applications

Oracle Test Manager Test Process Management

• Manage test process from a centralized Web console

• Comprehensive traceability from test requirements, to test cases, to issues

• Document both manual & automated test cases and execute from your test plan

• Create reports to provide visibility into the test process

• Fully customizable to fit your test methodology

• Scalable enterprise architecture, yet easy to deploy & manage

• Includes Oracle DB & WLS

Page 8: Testing soa, web services and application development framework applications

Oracle Functional Testing Automated Functional & Regression Testing

• Automates functional & regression testing for Web, ADF, SOA & packaged applications

• OpenScript integrated scripting platform for functional and load testing

• Intuitive visual scripting interface simplifies test process

• Powerful Java IDE provides superior scripting extensibility

• Custom accelerators for EBS, Siebel, Web Services, & App. Development Framework (ADF) for efficient, optimized testing

Page 9: Testing soa, web services and application development framework applications

Oracle Functional Testing Advantages• Integrated – common scripting platform for functional & load testing

– Competitors usually force you to learn separate tools & scripting languages for functional and load testing

• Easy-to-Use – Combines an intuitive graphical scripting interface with a powerful Java IDE for creating and extending scripts

– Simplifies the testing process without sacrificing extensibility

• Extensible & Standards-based – Leverages powerful, well-known industry standards like Java & Eclipse

– Provides advanced flexibility for power users without relying on proprietary scripting approaches

• Optimized for Testing Oracle Apps – Provides customized testing accelerators for Oracle applications

– Better out of box support for Oracle applications to reduce testing time– Enhanced Oracle middleware testing within ADF & SOA Web Services

Page 10: Testing soa, web services and application development framework applications

Oracle Load TestingLoad and Performance Testing and Tuning

• Realistic load & performance testing for Web, SOA, ADF, and packaged applications

• Scale to thousands of concurrent users to simulate peak production loads

• Delivers better accuracy by performing functional content validation under load

• Intuitive Web console promotes collaborative testing

• Integrated server monitors help identify & resolve performance bottlenecks

• Offers custom accelerators like Functional Testing has

• Includes Oracle DB & WLS

Page 11: Testing soa, web services and application development framework applications

Oracle Load Testing Advantages• Powerful scripting capabilities

– Leverages integrated scripting platform in Oracle Functional Testing to simplify load scripting– Provides custom load testing accelerators for Oracle applications, SOA Web Services, and ADF

applications– Built-in content validation and automated script correlation improves accuracy and reduces scripting

time

• Collaborative Web-based interface– Web-based load controller interface enables remote access and multi-user collaboration during load

test execution

• Scalable enterprise architecture – includes WLS & Oracle DB

• Integrated performance diagnostics– Leverage built-in server monitors or combine with Oracle Enterprise Manager to isolate & resolve

performance bottlenecks– Integrated with Oracle’s middleware diagnostics for Oracle & non-Oracle

Page 12: Testing soa, web services and application development framework applications

Enterprise Manager Integration• Integrates Oracle Load Testing and Enterprise Manager Middleware Diagnostics to let users

analyze J2EE performance under load– Configure Enterprise Manager connection using new ServerStats data source– Specify EM metric type and target for app JVM or Domain

Page 13: Testing soa, web services and application development framework applications

Web Services Testing in ATS

SOAP Envelope / Request Parameters

Web Services Script / SOAP Requests

WSDL Manager

Page 14: Testing soa, web services and application development framework applications

Web Services Testing Accelerators Overview

• Web Services Accelerators enable automated functional and load testing for SOA applications directly at the Web Service interface level

– Supports SOAP/HTTP-based Web Services– Built on the OpenScript Web/HTTP module framework for creating and executing scripts– Integrated with Oracle Load Testing to execute scripts for load testing across thousands of

concurrent Virtual Users– Includes an integrated WSDL parser and manager– Creates SOAP/Web Services requests directly from WSDL files– XML Editor to edit & parameterize SOAP requests/inputs and combine multiple requests to

automate a business flow– Integrate Web Services scripts/requests with other script types like Web/HTTP

Page 15: Testing soa, web services and application development framework applications

OpenScript Web Services Testing UI

• WSDL Manager – Allows you to import, parse and store WSDLs for creating Web Services scripts

• XML Editor – Allows you to edit Web Service requests

• Record Preferences – Specify OpenScript settings for creating Web Services scripts

Page 16: Testing soa, web services and application development framework applications

Creating a Web Services Test Script• Click File New…

• Select “Web Services” in General folder

• Enables Web Services script creation for functional & load testing

• Can also integrate Web Services requests into other script types

Page 17: Testing soa, web services and application development framework applications

Create a Web Services Test Script1. Add WSDL(s) to WSDL Manager and parse

2. Right-click desired method(s) and add to script

Page 18: Testing soa, web services and application development framework applications

Create a Web Services Test Script3. Select “XML Post Data” node in the tree view to see details

4. Edit and parameterize any contents

Page 19: Testing soa, web services and application development framework applications

XML Editor• Allows you to edit Web Services requests once they’ve been

added to the script– Select the specific parameter you want to set or substitute a variable for

Page 20: Testing soa, web services and application development framework applications

WS Preferences• General

– Set timeout for WSDL parsing

– Set default values to create for request parameters by type

Parser Tools• Add a connection for Apache AXIS WSDL

parsers if needed• Supplements WSDL parsers already

included with OpenScript• OpenScript Parser• Oracle Parser• .NET Parser

Page 21: Testing soa, web services and application development framework applications

• Click “Play” button to execute Web Services test scripts– “Iterate” button allows you to loop multiple times

• All Web Service requests will be executed and results show in Results view with results report & additional info in Details view

Script Playback / Results

Page 22: Testing soa, web services and application development framework applications

Script Playback / Results• Details view includes:

– Browser

– HTML

– Headers

– XML

– XML Tree

– Comparison

Page 23: Testing soa, web services and application development framework applications

Text Matching Test• Allows you add a test on a particular Web Service request to validate the XML

response– Specify text to look for in response, pass when present/absent and use exact match,

wildcards or regular expressions

Page 24: Testing soa, web services and application development framework applications

Data Banking

• Data Banks are used to parameterize script inputs and drive data from external file– Data fields are mapped to

columns in a data table (CSV file)

– Playback can be run for multiple iterations

• One record per iteration

Page 25: Testing soa, web services and application development framework applications

Data Banking• Right click parameter in

XML View, select Substitute Variable

• Add new databank• Select CSV and data

column

Page 26: Testing soa, web services and application development framework applications

WS Security and Attachments

• Secure web services detected during individual WSDL parse

• Authentication can also be added through right-click “Add – Other…” menu

Page 27: Testing soa, web services and application development framework applications

Testing Accelerators for ADF Applications

• Enhanced support for automated functional and load testing of ADF applications

– Extends ATS’s Web functional testing capabilities by adding native support for ADF GUI components for object identification, automation and validation

– Extends ATS’s Web/HTTP load testing capabilities by adding a custom load testing correlation library and related scripting enhancements for ADF application load testing

• Oracle Application Development Framework (ADF) is a rich user interface technology used in custom application development

• Functional Testing and Load Testing Accelerators for ADF Applications are premium ATS options

Page 28: Testing soa, web services and application development framework applications

Oracle ADF Functional Testing

ADF Actions

• ADF Functional Testing module allows you to automate & validate ADF objects & actions

Page 29: Testing soa, web services and application development framework applications

Oracle ADF Load Testing• ADF Load Testing module

includes “ADF Load” correlation library• Automatically parameterizes

dynamic http session variables for ADF apps

• View under Correlation ADF Load in OpenScript Preferences

• Disable library or just specific rules if you don’t want auto-correlation

Page 30: Testing soa, web services and application development framework applications

ATS Key takeaways

Best-of-breed testing solution

Offers real & synthetic load tests

Highest quality and secure testing with lowest risk of change

Testing for entire stack from application to disk

• Easiest to use and lower cost-of-ownership

• Same scripting platform for functional & load testing

• Extensible and standards-based scripting

• Scalable enterprise architecture• Better accuracy• Best for Oracle apps, ADF &

Web Services

Page 31: Testing soa, web services and application development framework applications

AQ&

Page 32: Testing soa, web services and application development framework applications

Tell us what you think…

• http://feedback.insync10.com.au