Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Testing soa, web services and application development framework applications


Published on

Published in: Technology
  • Be the first to comment

Testing soa, web services and application development framework applications

  1. 1. 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
  2. 2. <ul><li>Oracle’s Application & Middleware Quality Management </li></ul><ul><li>Introduction to Oracle Application Testing Suite (ATS) </li></ul><ul><li>How to Test SOA Web Services using ATS </li></ul><ul><li>Testing Application Development Framework (ADF) apps </li></ul><ul><li>  </li></ul><ul><li>Conclusion </li></ul>Agenda
  3. 3. Integrated Application-to-Disk Management <ul><li>Complete, Open, Integrated Management across the entire stack </li></ul><ul><li>Best of breed manageability built into each tier </li></ul><ul><li>Ops Center extends business-driven application management to infrastructure layers </li></ul>
  4. 4. Comprehensive Management 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
  5. 5. <ul><li>Testing Application Changes </li></ul><ul><li>Application Testing Suite </li></ul><ul><ul><li>Ensure quality and performance with end-to-end application testing </li></ul></ul><ul><li>Testing Infrastructure Changes </li></ul><ul><li>Real Application Testing </li></ul><ul><ul><li>Designed and optimized for testing database tier infrastructure changes </li></ul></ul><ul><li>Test Data Management </li></ul><ul><li>Data Masking Pack </li></ul><ul><ul><li>Achieve security & compliance objectives by obfuscating sensitive data in test environments </li></ul></ul><ul><ul><li>Enables secure, production-scale testing </li></ul></ul>Oracle Application Quality Management Application & Mid-tiers Infrastructure & DB-tiers
  6. 6. Oracle Application Testing Suite A 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
  7. 7. Oracle Test Manager Test Process Management <ul><li>Manage test process from a centralized Web console </li></ul><ul><li>Comprehensive traceability from test requirements, to test cases, to issues </li></ul><ul><li>Document both manual & automated test cases and execute from your test plan </li></ul><ul><li>Create reports to provide visibility into the test process </li></ul><ul><li>Fully customizable to fit your test methodology </li></ul><ul><li>Scalable enterprise architecture, yet easy to deploy & manage </li></ul><ul><li>Includes Oracle DB & WLS </li></ul>
  8. 8. Oracle Functional Testing Automated Functional & Regression Testing <ul><li>Automates functional & regression testing for Web, ADF, SOA & packaged applications </li></ul><ul><li>OpenScript integrated scripting platform for functional and load testing </li></ul><ul><li>Intuitive visual scripting interface simplifies test process </li></ul><ul><li>Powerful Java IDE provides superior scripting extensibility </li></ul><ul><li>Custom accelerators for EBS, Siebel, Web Services, & App. Development Framework (ADF) for efficient, optimized testing </li></ul>
  9. 9. Oracle Functional Testing Advantages <ul><li>Integrated – common scripting platform for functional & load testing </li></ul><ul><ul><li>Competitors usually force you to learn separate tools & scripting languages for functional and load testing </li></ul></ul><ul><li>Easy-to-Use – Combines an intuitive graphical scripting interface with a powerful Java IDE for creating and extending scripts </li></ul><ul><ul><li>Simplifies the testing process without sacrificing extensibility </li></ul></ul><ul><li>Extensible & Standards-based – Leverages powerful, well-known industry standards like Java & Eclipse </li></ul><ul><ul><li>Provides advanced flexibility for power users without relying on proprietary scripting approaches </li></ul></ul><ul><li>Optimized for Testing Oracle Apps – Provides customized testing accelerators for Oracle applications </li></ul><ul><ul><li>Better out of box support for Oracle applications to reduce testing time </li></ul></ul><ul><ul><li>Enhanced Oracle middleware testing within ADF & SOA Web Services </li></ul></ul>
  10. 10. Oracle Load Testing Load and Performance Testing and Tuning <ul><li>Realistic load & performance testing for Web, SOA, ADF, and packaged applications </li></ul><ul><li>Scale to thousands of concurrent users to simulate peak production loads </li></ul><ul><li>Delivers better accuracy by performing functional content validation under load </li></ul><ul><li>Intuitive Web console promotes collaborative testing </li></ul><ul><li>Integrated server monitors help identify & resolve performance bottlenecks </li></ul><ul><li>Offers custom accelerators like Functional Testing has </li></ul><ul><li>Includes Oracle DB & WLS </li></ul>
  11. 11. Oracle Load Testing Advantages <ul><li>Powerful scripting capabilities </li></ul><ul><ul><li>Leverages integrated scripting platform in Oracle Functional Testing to simplify load scripting </li></ul></ul><ul><ul><li>Provides custom load testing accelerators for Oracle applications, SOA Web Services, and ADF applications </li></ul></ul><ul><ul><li>Built-in content validation and automated script correlation improves accuracy and reduces scripting time </li></ul></ul><ul><li>Collaborative Web-based interface </li></ul><ul><ul><li>Web-based load controller interface enables remote access and multi-user collaboration during load test execution </li></ul></ul><ul><li>Scalable enterprise architecture – includes WLS & Oracle DB </li></ul><ul><li>Integrated performance diagnostics </li></ul><ul><ul><li>Leverage built-in server monitors or combine with Oracle Enterprise Manager to isolate & resolve performance bottlenecks </li></ul></ul><ul><ul><li>Integrated with Oracle’s middleware diagnostics for Oracle & non-Oracle </li></ul></ul>
  12. 12. Enterprise Manager Integration <ul><li>Integrates Oracle Load Testing and Enterprise Manager Middleware Diagnostics to let users analyze J2EE performance under load </li></ul><ul><ul><li>Configure Enterprise Manager connection using new ServerStats data source </li></ul></ul><ul><ul><li>Specify EM metric type and target for app JVM or Domain </li></ul></ul>
  13. 13. Web Services Testing in ATS SOAP Envelope / Request Parameters Web Services Script / SOAP Requests WSDL Manager
  14. 14. Web Services Testing Accelerators Overview <ul><li>Web Services Accelerators enable automated functional and load testing for SOA applications directly at the Web Service interface level </li></ul><ul><ul><li>Supports SOAP/HTTP-based Web Services </li></ul></ul><ul><ul><li>Built on the OpenScript Web/HTTP module framework for creating and executing scripts </li></ul></ul><ul><ul><li>Integrated with Oracle Load Testing to execute scripts for load testing across thousands of concurrent Virtual Users </li></ul></ul><ul><ul><li>Includes an integrated WSDL parser and manager </li></ul></ul><ul><ul><li>Creates SOAP/Web Services requests directly from WSDL files </li></ul></ul><ul><ul><li>XML Editor to edit & parameterize SOAP requests/inputs and combine multiple requests to automate a business flow </li></ul></ul><ul><ul><li>Integrate Web Services scripts/requests with other script types like Web/HTTP </li></ul></ul>
  15. 15. OpenScript Web Services Testing UI <ul><li>WSDL Manager – Allows you to import, parse and store WSDLs for creating Web Services scripts </li></ul><ul><li>XML Editor – Allows you to edit Web Service requests </li></ul><ul><li>Record Preferences – Specify OpenScript settings for creating Web Services scripts </li></ul>
  16. 16. Creating a Web Services Test Script <ul><li>Click File  New… </li></ul><ul><li>Select “Web Services” in General folder </li></ul><ul><li>Enables Web Services script creation for functional & load testing </li></ul><ul><li>Can also integrate Web Services requests into other script types </li></ul>
  17. 17. Create a Web Services Test Script 1. Add WSDL(s) to WSDL Manager and parse 2. Right-click desired method(s) and add to script
  18. 18. Create a Web Services Test Script 3. Select “XML Post Data” node in the tree view to see details 4. Edit and parameterize any contents
  19. 19. XML Editor <ul><li>Allows you to edit Web Services requests once they’ve been added to the script </li></ul><ul><ul><li>Select the specific parameter you want to set or substitute a variable for </li></ul></ul>
  20. 20. WS Preferences <ul><li>General  </li></ul><ul><ul><li>Set timeout for WSDL parsing </li></ul></ul><ul><ul><li>Set default values to create for request parameters by type </li></ul></ul><ul><li> Parser Tools </li></ul><ul><ul><li>Add a connection for Apache AXIS WSDL parsers if needed </li></ul></ul><ul><ul><li>Supplements WSDL parsers already included with OpenScript </li></ul></ul><ul><ul><ul><li>OpenScript Parser </li></ul></ul></ul><ul><ul><ul><li>Oracle Parser </li></ul></ul></ul><ul><ul><ul><li>.NET Parser </li></ul></ul></ul>
  21. 21. <ul><li>Click “Play” button to execute Web Services test scripts </li></ul><ul><ul><li>“ Iterate” button allows you to loop multiple times </li></ul></ul><ul><li>All Web Service requests will be executed and results show in Results view with results report & additional info in Details view </li></ul>Script Playback / Results
  22. 22. Script Playback / Results <ul><li>Details view includes: </li></ul><ul><ul><li>Browser </li></ul></ul><ul><ul><li>HTML </li></ul></ul><ul><ul><li>Headers </li></ul></ul><ul><ul><li>XML </li></ul></ul><ul><ul><li>XML Tree </li></ul></ul><ul><ul><li>Comparison </li></ul></ul>
  23. 23. Text Matching Test <ul><li>Allows you add a test on a particular Web Service request to validate the XML response </li></ul><ul><ul><li>Specify text to look for in response, pass when present/absent and use exact match, wildcards or regular expressions </li></ul></ul>
  24. 24. Data Banking <ul><li>Data Banks are used to parameterize script inputs and drive data from external file </li></ul><ul><ul><li>Data fields are mapped to columns in a data table (CSV file) </li></ul></ul><ul><ul><li>Playback can be run for multiple iterations </li></ul></ul><ul><ul><ul><li>One record per iteration </li></ul></ul></ul>
  25. 25. Data Banking <ul><li>Right click parameter in XML View, select Substitute Variable </li></ul><ul><li>Add new databank </li></ul><ul><li>Select CSV and data column </li></ul>
  26. 26. WS Security and Attachments <ul><li>Secure web services detected during individual WSDL parse </li></ul><ul><li>Authentication can also be added through right-click “Add – Other…” menu </li></ul>
  27. 27. Testing Accelerators for ADF Applications <ul><li>Enhanced support for automated functional and load testing of ADF applications </li></ul><ul><ul><li>Extends ATS’s Web functional testing capabilities by adding native support for ADF GUI components for object identification, automation and validation </li></ul></ul><ul><ul><li>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 </li></ul></ul><ul><li>Oracle Application Development Framework (ADF) is a rich user interface technology used in custom application development </li></ul><ul><li>Functional Testing and Load Testing Accelerators for ADF Applications are premium ATS options </li></ul>
  28. 28. Oracle ADF Functional Testing ADF Actions <ul><li>ADF Functional Testing module allows you to automate & validate ADF objects & actions </li></ul>
  29. 29. Oracle ADF Load Testing <ul><li>ADF Load Testing module includes “ADF Load” correlation library </li></ul><ul><ul><li>Automatically parameterizes dynamic http session variables for ADF apps </li></ul></ul><ul><ul><li>View under Correlation  ADF Load in OpenScript Preferences </li></ul></ul><ul><ul><li>Disable library or just specific rules if you don’t want auto-correlation </li></ul></ul>
  30. 30. ATS Key takeaways <ul><li>Best-of-breed testing solution </li></ul><ul><li>Offers real & synthetic load tests </li></ul><ul><li>Highest quality and secure testing with lowest risk of change </li></ul><ul><li>Testing for entire stack from application to disk </li></ul><ul><li>Easiest to use and lower cost-of-ownership </li></ul><ul><li>Same scripting platform for functional & load testing </li></ul><ul><li>Extensible and standards-based scripting </li></ul><ul><li>Scalable enterprise architecture </li></ul><ul><li>Better accuracy </li></ul><ul><li>Best for Oracle apps, ADF & Web Services </li></ul>
  31. 31. A Q &
  32. 32. Tell us what you think… <ul><li> </li></ul>