SlideShare a Scribd company logo
1 of 48
©2009 HP Confidential
Testing WebServices and SOA
applications using Service Test 11
Karthik Subramanian
https://www.linkedin.com/in/karsub1
karsubp@gmail.com
Karthik Subramanian
September 7,
2011
©2009 HP Confidential2
Agenda
– Overview of Service Test
– Service Test 11 – What’s new
– Service Test
– Toolbox
– Canvas
– Property Sheet
– Output viewer
– WSDL based Web Services
– REST based Web Services
– Data Driving Service Tests
– Unified Functional Testing
(Integrating with other HP
products)
– JMS with Service Test
– Web Services Security
– Calling Java Test
©2009 HP Confidential3
What is Service Test 11 (ST 11)
– Service Test (ST) is HP’s framework for testing Service Oriented Architecture
(SOA) applications.
– Service Test is an extensibility framework for construction and execution of
functional test of headless systems that do not have a user interface.
– Supports functional testing areas like:
• WSDL based WebServices
• RESTful WebServices
• JMS
• Java Classes
– The current version of Service test has been totally redesigned.
©2009 HP Confidential4
What is New with Service Test 11
– Visual Test Designer
• A totally new redesigned engine and interface. A canvas creating and configuring
a visual representation of the steps in a test. Tests are created by dragging
activities from a toolbox, and configuring their properties.
– Multiple Technologies
• Web Services, REST, .NET, Java, and more
– Flexible Data Handling
• Ability to link to a variety of data sources, or store data locally with the test.
Support for Excel data sheets.
– Extensibility
• Behavior of existing activities can be customized using event handlers. For
greater control over the flow of a test, you can program code activities at any point.
©2009 HP Confidential5
Service Test - Visual Test Designer
– The Service test
GUI interface:
– 1) Tool Box
– 2) Canvas
– 3) Property Sheet
– 4) Output Viewer
©2009 HP Confidential6
Service Test – Toolbox
– A tree view interface
showing all the services
the Service Test offer in
the tool box
©2009 HP Confidential7
Service Test – Canvas
– Drag and drop items from
Toolbox to Canvas
– Clicking on the Test Flow
shows the Property Sheet
and other options which
help in developing robust
test
©2009 HP Confidential8
Service Test – Property Sheet
Property Sheet
Input Pane
Checkpoint Pane
©2009 HP Confidential template rev. 12.15.099
Service Test – Output Viewer
Output messages to help
Debug and Execute Tests
The Current Test Results
show - Request, Response
and checkpoint validations
©2009 HP Confidential template rev. 12.15.0910
Web Service Overview
The term Web services describes a
standardized way of integrating Web-
based applications using the XML,
SOAP, WSDL and UDDI open
standards over an Internet protocol
backbone. XML is used to tag the
data, SOAP is used to transfer the
data, WSDL is used for describing the
services available and UDDI is used
for listing all the available services
Figure shows the class diagram of
Web Service Architecture
©2009 HP Confidential template rev. 12.15.0911 ©2009 HP Confidential11
Working with Web Services /WSDL
Basic Steps to work with web service
– Importing Web Service using the URL / UDDI or File/ALM /QC
– Drag the required activity into the canvas
– Assign input data
– Set checkpoints to verify the response
– Check the output for responses and checkpoint validations
©2009 HP Confidential template rev. 12.15.0912
Importing Web Service
Import from URL/UDDI
(Figure 1 ) shows an
example of sample WSDL
targeted from W3Schools
Import from File/ALM/QC
Application Component
(Figure 2)
©2009 HP Confidential template rev. 12.15.0913
Toolbar with loaded WSDL
The Tree view showing the
loaded web service calls for
temperature conversion
CelsiusToFahrenheit
FahrenheitToCelsius
One of these services should be
dragged to Canvas for working
with Service Test
Example: Drag
CelsiusToFahrenheit to canvas
©2009 HP Confidential template rev. 12.15.0914
Canvas with loaded WSDL
Drag and Drop the Web
Services calls to the
Canvas.
The Canvas shows the
CelsiusToFahrenheit
loaded in the Test Flow
©2009 HP Confidential template rev. 12.15.0915 ©2009 HP Confidential15
Setting Input and checkpoint
Input Value for Test (0)
Expected checkpoint Value
from Web Service ( 32)
©2009 HP Confidential template rev. 12.15.0916
Output - WSDL
The Highlighted
Text shows the
Checkpoint
validation.
©2009 HP Confidential template rev. 12.15.0917
Service Test Results - WSDL
Service Test
Result shows
the passed
checkpoint
©2009 HP Confidential template rev. 12.15.0918
REST Service Overview
REST (Representational State
Transfer) is an approach for
getting information content from a
Web site by reading a designated
Web page that contains an XML
(Extensible Markup Language)
file that describes and includes
the desired Service content.
REST is an "architectural style"
that basically exploits the existing
technology and protocols of the
Web, including HTTP (Hypertext
Transfer Protocol) and XML.
REST interface is defined by the
HTTP interface, which supports
four basic application methods:
GET, POST, PUT, and DELETE.
©2009 HP Confidential template rev. 12.15.0919 ©2009 HP Confidential19
Working with REST Services
Basic Steps to work with REST Service
– Select Rest Services from the Toolbox pane
– Add a Resource under Rest Service
– Add a Method under the Rest Service Resource
– Drag and Drop the method to the canvas Test flow
– Assign input data
– Set checkpoints to verify the response
©2009 HP Confidential template rev. 12.15.0920 ©2009 HP Confidential20
Add Resource and Method for REST
1) Rest Resource
2) Method
Figure Shows a ‘client’ Method Added
©2009 HP Confidential template rev. 12.15.0921
Canvas with loaded WSDL
•Drag and Drop the
Rest Services calls to
the Canvas.
•The Canvas shows the
Client Method loaded in
the Test Flow
©2009 HP Confidential template rev. 12.15.0922 ©2009 HP Confidential22
Setting Input and checkpoint
Set URL Input
Condition: Search for
Customer with ID = 7
Set checkpoint to verify the
response result
©2009 HP Confidential template rev. 12.15.0923
Output – REST Service
The highlighted
text shows the
Checkpoint
validation.
©2009 HP Confidential template rev. 12.15.0924
Service Test Results – REST Service
Service Test
Result shows
the passed
checkpoint
©2009 HP Confidential template rev. 12.15.0925
Running Test for Multiple Iteration
To run a test multiple
iterations
1) Click on Test Flow
2) In Property Sheet ->
Test Flow -> Select the
Input Icon
3) Select the Loop
Required ( Example For
Loop – 10 Iterations)
4) Run the Test by clicking
on the Run/Play button
©2009 HP Confidential template rev. 12.15.0926
Service Test Results – Multiple Iteration
Service Test
Result shows
the passed
checkpoint of
the 10th
iteration
©2009 HP Confidential template rev. 12.15.0927
Data Driving Service Test
Service test provides the three
Options for data driving a test.
– Using excel
– Using xml
– Using local table of ST
Service test supports data
Driving table for both input
Values and checkpoints to be
Validated in test
©2009 HP Confidential template rev. 12.15.0928
Data Driving using Local Table
Basic Step to Data Drive a Test
using Local Table
1. Select New -> Local Table from
the Data Window Pane
2. Add New Local Table Data Query
columns
3. Assign a name for your Data
Query
4. Enter Data in the Added Columns
5. Select the Data Query using the
Input /Checkpoint properties
Figure shows adding New Local Table
having Column “Sample”
©2009 HP Confidential template rev. 12.15.0929
Data Driven Test using Local Table
Enter Data in the Added Columns
Figure shows
• Local Table having two Data
Queries “Sample Input Query”
and “SampleOutputQuery”
• Input data values entered
under Sample1 column
having 4 data rows for sample
Input Query
©2009 HP Confidential template rev. 12.15.0930
Data Driven Test using Local Table
Select the Data Query
using the options
provided in the Input and
checkpoints Value
properties
The Figure shows
•Input URL value having
Data Query
•Checkpoints properties
response body having
Expected values Data
Query
©2009 HP Confidential template rev. 12.15.0931
Service Test Results – Data Driving
Service Test
Result shows
the passed
checkpoint of
the 1st
iteration
©2009 HP Confidential template rev. 12.15.0932
Unified Functional Test - Overview
HP Unified Functional Test has the ability to test Headless Services Layer +
GUI Layer + Business End to End Layer
Headless
Service Layer
GUI Layer
End to End
Business Layer
WSDL REST JMS/API
Java .Net Ajax
New Transaction / Process Layer
©2009 HP Confidential template rev. 12.15.0933
Unified Functional Testing - Overview
You create the tests or scripts in the
original application and call them
within the Service Test flow. You can
also call another Service Test tests
from within the Test Flow.
UFT Applications
1. QuickTest Professional
2. Virtual User Generator
3. Add Service Test Tests
Prerequisites
1. QuickTest Professional 11
2. HP LoadRunner 11.00
©2009 HP Confidential template rev. 12.15.0934
Calling QTP with ST 11
1. Drag and drop QTP call
from Toolbox to canvas
2. Select the Call QuickTest
Professional Test from the
canvas test flow
3. Select the Call QuickTest
Professional Test option
from the Property sheet
4. Update Input and
checkpoints or add
necessary steps
5. Save and Run the Test
©2009 HP Confidential template rev. 12.15.0935
Calling QTP with ST 11
Figure shows a Call from
Service Test to QTP
Test (Test5) in Service
Test “Test Flow” and
output from Service Test
is fed an Input to QTP
Test for further
processing
©2009 HP Confidential template rev. 12.15.0936
Calling LoadRunner with ST 11
1) Drag and drop Virtual User
Generator script from Tool box
to canvas
2) Select the Call Virtual User
Generator script from the canvas
test flow
3) Open the Property Sheet's
General view, and click the
Browse button in the Script Path
row. Select a VuGen (Virtual
User Generator) .usr file. Update
Input and Checkpoints or add
necessary steps
4) Save and Run the Test
©2009 HP Confidential template rev. 12.15.0937
Calling Service Test with ST 11
1) Drag the Call Service Test test
activity into the canvas.
2) Open the Property Sheet's General
view and click the Select ST Test
button. To update a test that has
already been loaded, click Update
ST Test.
3) To specify a custom directory for
the results, click the Browse button
in the Results Directory row in the
General view. Select a directory for
the results.
4) Add other relevant steps to your
test.
5) Save and run the test.
©2009 HP Confidential template rev. 12.15.0938
Service Test Result - UFT
Result viewer support
integrated results from other
tools (QuickTest
Professional / Load Runner
etc.)
Quick high level overview with
multilevel details
Recovery for corrupted
reports to help save re-run
test
Figure shows the Integrated
results from Service Test and
QTP
©2009 HP Confidential template rev. 12.15.0939
QC Integration with Service Test
Service Test Supports Connection to Quality Center 10 , ALM/QC 11
©2009 HP Confidential template rev. 12.15.0940 ©2009 HP Confidential40
JMS overview with ST
JMS is a J2EE standard for sending messages
– Service Test supports text messages between Java clients
Communication Scenarios for Communication
A) Peer-to-Peer
B) Publish-Subscribe
Service Test supports both types of communication by allowing you to send and receive
JMS messages to and from a queue or topic
The Communication includes:
– Publish Message to Topic
– Receive Message from Queue
– Receive Message from Topic
– Send Message to Queue
– Send and Receive Message from Queue
– Subscribe to Topic
©2009 HP Confidential template rev. 12.15.0941 ©2009 HP Confidential41
Web Security Support with Service Test
Web Security Support
•HTTP
•WS Security
•WS Addressing
Figure 2
Shows the general options
for WS Security
©2009 HP Confidential template rev. 12.15.0942 ©2009 HP Confidential42
Test Settings
To implement Java Call with Service Test, we need to implement
Service Test Java interface
Interface contains three methods:
1. getInputProperties
2. getOutputProperties.
3. Execute
Implement Interface
 ServiceTestCall.java, is located in the
<ST_INSTALL_HOME>addinsServiceTestJavaCa
llJava Interfacesrchpstextjava folder.
 Called ServiceTestCallImpl.java
©2009 HP Confidential template rev. 12.15.0943
Test Settings
Click in the canvas
outside of the Test
Flow, and open the
Test Settings
view in the Property
Sheet
©2009 HP Confidential44
Demo
– Objective
– Demo
©2009 HP Confidential45
Resources
– Software Support Online
– HP Software Solutions Community related forums
– HP Software Web Events
• Replay (add registration link for your event – it will be the same)
– Education for the topic
©2009 HP Confidential46
Q&A
©2009 HP Confidential
Testing WebServices and SOA applications using
Service Test 11
Karthik Subramanian
https://www.linkedin.com/in/karsub1
karsubp@gmail.com
Selenium – Page Object Framework Overview
Introduction to Integral FrameworkKarthik Subramanian
September 7,
2011
©2010 Hewlett-Packard Development Company, L.P.
To connect with your peers, visit the
HP Software Solutions Community:
www.hp.com/go/swcommunity

More Related Content

What's hot

What is Retrofit in Solution Manager 7.2
What is Retrofit in Solution Manager 7.2What is Retrofit in Solution Manager 7.2
What is Retrofit in Solution Manager 7.2Aditya Shivhare
 
Import Application - Simplified CopyApp
Import Application - Simplified CopyAppImport Application - Simplified CopyApp
Import Application - Simplified CopyAppCharles Babu J
 
Eclipse Developement @ Progress Software
Eclipse Developement @ Progress SoftwareEclipse Developement @ Progress Software
Eclipse Developement @ Progress Softwaresriikanthp
 
2011 02 wfa_web_services_primer_rev_1_9
2011 02 wfa_web_services_primer_rev_1_92011 02 wfa_web_services_primer_rev_1_9
2011 02 wfa_web_services_primer_rev_1_9Mark Kulacz
 
Sap tao 2.0 Material
Sap tao 2.0 MaterialSap tao 2.0 Material
Sap tao 2.0 MaterialVGlobal Govi
 
Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Frank Munz
 
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...vlearnqtp
 
Business Process Management using BPEL
Business Process Management using BPELBusiness Process Management using BPEL
Business Process Management using BPELThanachart Numnonda
 
API automation with JMeter + Bamboo CI
API automation with JMeter + Bamboo CIAPI automation with JMeter + Bamboo CI
API automation with JMeter + Bamboo CIMykola Kovsh
 
Tao scripting demo
Tao scripting demoTao scripting demo
Tao scripting demoganeshbadana
 
EMC Documentum xCP 2.x Tips for application migration v1.1
EMC Documentum xCP 2.x Tips for application migration v1.1EMC Documentum xCP 2.x Tips for application migration v1.1
EMC Documentum xCP 2.x Tips for application migration v1.1Haytham Ghandour
 

What's hot (14)

What is Retrofit in Solution Manager 7.2
What is Retrofit in Solution Manager 7.2What is Retrofit in Solution Manager 7.2
What is Retrofit in Solution Manager 7.2
 
Import Application - Simplified CopyApp
Import Application - Simplified CopyAppImport Application - Simplified CopyApp
Import Application - Simplified CopyApp
 
Eclipse Developement @ Progress Software
Eclipse Developement @ Progress SoftwareEclipse Developement @ Progress Software
Eclipse Developement @ Progress Software
 
White paper ready api
White paper  ready apiWhite paper  ready api
White paper ready api
 
2011 02 wfa_web_services_primer_rev_1_9
2011 02 wfa_web_services_primer_rev_1_92011 02 wfa_web_services_primer_rev_1_9
2011 02 wfa_web_services_primer_rev_1_9
 
Sap tao 2.0 Material
Sap tao 2.0 MaterialSap tao 2.0 Material
Sap tao 2.0 Material
 
Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial Oracle Service Bus (OSB) for the Busy IT Professonial
Oracle Service Bus (OSB) for the Busy IT Professonial
 
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
 
Business Process Management using BPEL
Business Process Management using BPELBusiness Process Management using BPEL
Business Process Management using BPEL
 
JMeter
JMeterJMeter
JMeter
 
SAP TAO 2.0
SAP TAO 2.0SAP TAO 2.0
SAP TAO 2.0
 
API automation with JMeter + Bamboo CI
API automation with JMeter + Bamboo CIAPI automation with JMeter + Bamboo CI
API automation with JMeter + Bamboo CI
 
Tao scripting demo
Tao scripting demoTao scripting demo
Tao scripting demo
 
EMC Documentum xCP 2.x Tips for application migration v1.1
EMC Documentum xCP 2.x Tips for application migration v1.1EMC Documentum xCP 2.x Tips for application migration v1.1
EMC Documentum xCP 2.x Tips for application migration v1.1
 

Similar to Meet the expert

Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...
Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...
Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...Marcelo Galvão
 
Easy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applicationsEasy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applicationsJack-Junjie Cai
 
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...Amazon Web Services
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiIntroduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiHo Chi Minh City Software Testing Club
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectDevOps.com
 
Hpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admHpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admJeffrey Nunn
 
IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí ASBIS SK
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologiesssuser3a47cb
 
Webservices Testing - A Changing Landscape
Webservices Testing - A Changing LandscapeWebservices Testing - A Changing Landscape
Webservices Testing - A Changing LandscapeAmit Channa
 
Web services Hand_Out
Web services Hand_OutWeb services Hand_Out
Web services Hand_OutKumar Gupta
 
Netserv Software Testing
Netserv Software TestingNetserv Software Testing
Netserv Software Testingsthicks14
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1Sun Technlogies
 
Getting Started with Orchestrator and Service Manager
Getting Started with Orchestrator and Service ManagerGetting Started with Orchestrator and Service Manager
Getting Started with Orchestrator and Service ManagerAlexandre Verkinderen
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Rit 8.5.0 training release notes
Rit 8.5.0 training release notesRit 8.5.0 training release notes
Rit 8.5.0 training release notesDarrel Rader
 
Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016
Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016
Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016ManageIQ
 

Similar to Meet the expert (20)

Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...
Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...
Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e ...
 
Easy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applicationsEasy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applications
 
Technical Envirment Johan Olsson
Technical Envirment Johan OlssonTechnical Envirment Johan Olsson
Technical Envirment Johan Olsson
 
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiIntroduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
Hpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admHpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago adm
 
IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologies
 
Soap ui automation
Soap ui automationSoap ui automation
Soap ui automation
 
Webservices Testing - A Changing Landscape
Webservices Testing - A Changing LandscapeWebservices Testing - A Changing Landscape
Webservices Testing - A Changing Landscape
 
Soa Test Methodology
Soa Test MethodologySoa Test Methodology
Soa Test Methodology
 
Web services Hand_Out
Web services Hand_OutWeb services Hand_Out
Web services Hand_Out
 
Netserv Software Testing
Netserv Software TestingNetserv Software Testing
Netserv Software Testing
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
 
Getting Started with Orchestrator and Service Manager
Getting Started with Orchestrator and Service ManagerGetting Started with Orchestrator and Service Manager
Getting Started with Orchestrator and Service Manager
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Rit 8.5.0 training release notes
Rit 8.5.0 training release notesRit 8.5.0 training release notes
Rit 8.5.0 training release notes
 
Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016
Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016
Ansible Tower - Drew Bomhof, Brandon Dunne - ManageIQ Design Summit 2016
 
Performance Engineering Basics
Performance Engineering BasicsPerformance Engineering Basics
Performance Engineering Basics
 

Recently uploaded

RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...lizamodels9
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc.../:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...lizamodels9
 

Recently uploaded (20)

RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
 
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc.../:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
 

Meet the expert

  • 1. ©2009 HP Confidential Testing WebServices and SOA applications using Service Test 11 Karthik Subramanian https://www.linkedin.com/in/karsub1 karsubp@gmail.com Karthik Subramanian September 7, 2011
  • 2. ©2009 HP Confidential2 Agenda – Overview of Service Test – Service Test 11 – What’s new – Service Test – Toolbox – Canvas – Property Sheet – Output viewer – WSDL based Web Services – REST based Web Services – Data Driving Service Tests – Unified Functional Testing (Integrating with other HP products) – JMS with Service Test – Web Services Security – Calling Java Test
  • 3. ©2009 HP Confidential3 What is Service Test 11 (ST 11) – Service Test (ST) is HP’s framework for testing Service Oriented Architecture (SOA) applications. – Service Test is an extensibility framework for construction and execution of functional test of headless systems that do not have a user interface. – Supports functional testing areas like: • WSDL based WebServices • RESTful WebServices • JMS • Java Classes – The current version of Service test has been totally redesigned.
  • 4. ©2009 HP Confidential4 What is New with Service Test 11 – Visual Test Designer • A totally new redesigned engine and interface. A canvas creating and configuring a visual representation of the steps in a test. Tests are created by dragging activities from a toolbox, and configuring their properties. – Multiple Technologies • Web Services, REST, .NET, Java, and more – Flexible Data Handling • Ability to link to a variety of data sources, or store data locally with the test. Support for Excel data sheets. – Extensibility • Behavior of existing activities can be customized using event handlers. For greater control over the flow of a test, you can program code activities at any point.
  • 5. ©2009 HP Confidential5 Service Test - Visual Test Designer – The Service test GUI interface: – 1) Tool Box – 2) Canvas – 3) Property Sheet – 4) Output Viewer
  • 6. ©2009 HP Confidential6 Service Test – Toolbox – A tree view interface showing all the services the Service Test offer in the tool box
  • 7. ©2009 HP Confidential7 Service Test – Canvas – Drag and drop items from Toolbox to Canvas – Clicking on the Test Flow shows the Property Sheet and other options which help in developing robust test
  • 8. ©2009 HP Confidential8 Service Test – Property Sheet Property Sheet Input Pane Checkpoint Pane
  • 9. ©2009 HP Confidential template rev. 12.15.099 Service Test – Output Viewer Output messages to help Debug and Execute Tests The Current Test Results show - Request, Response and checkpoint validations
  • 10. ©2009 HP Confidential template rev. 12.15.0910 Web Service Overview The term Web services describes a standardized way of integrating Web- based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI is used for listing all the available services Figure shows the class diagram of Web Service Architecture
  • 11. ©2009 HP Confidential template rev. 12.15.0911 ©2009 HP Confidential11 Working with Web Services /WSDL Basic Steps to work with web service – Importing Web Service using the URL / UDDI or File/ALM /QC – Drag the required activity into the canvas – Assign input data – Set checkpoints to verify the response – Check the output for responses and checkpoint validations
  • 12. ©2009 HP Confidential template rev. 12.15.0912 Importing Web Service Import from URL/UDDI (Figure 1 ) shows an example of sample WSDL targeted from W3Schools Import from File/ALM/QC Application Component (Figure 2)
  • 13. ©2009 HP Confidential template rev. 12.15.0913 Toolbar with loaded WSDL The Tree view showing the loaded web service calls for temperature conversion CelsiusToFahrenheit FahrenheitToCelsius One of these services should be dragged to Canvas for working with Service Test Example: Drag CelsiusToFahrenheit to canvas
  • 14. ©2009 HP Confidential template rev. 12.15.0914 Canvas with loaded WSDL Drag and Drop the Web Services calls to the Canvas. The Canvas shows the CelsiusToFahrenheit loaded in the Test Flow
  • 15. ©2009 HP Confidential template rev. 12.15.0915 ©2009 HP Confidential15 Setting Input and checkpoint Input Value for Test (0) Expected checkpoint Value from Web Service ( 32)
  • 16. ©2009 HP Confidential template rev. 12.15.0916 Output - WSDL The Highlighted Text shows the Checkpoint validation.
  • 17. ©2009 HP Confidential template rev. 12.15.0917 Service Test Results - WSDL Service Test Result shows the passed checkpoint
  • 18. ©2009 HP Confidential template rev. 12.15.0918 REST Service Overview REST (Representational State Transfer) is an approach for getting information content from a Web site by reading a designated Web page that contains an XML (Extensible Markup Language) file that describes and includes the desired Service content. REST is an "architectural style" that basically exploits the existing technology and protocols of the Web, including HTTP (Hypertext Transfer Protocol) and XML. REST interface is defined by the HTTP interface, which supports four basic application methods: GET, POST, PUT, and DELETE.
  • 19. ©2009 HP Confidential template rev. 12.15.0919 ©2009 HP Confidential19 Working with REST Services Basic Steps to work with REST Service – Select Rest Services from the Toolbox pane – Add a Resource under Rest Service – Add a Method under the Rest Service Resource – Drag and Drop the method to the canvas Test flow – Assign input data – Set checkpoints to verify the response
  • 20. ©2009 HP Confidential template rev. 12.15.0920 ©2009 HP Confidential20 Add Resource and Method for REST 1) Rest Resource 2) Method Figure Shows a ‘client’ Method Added
  • 21. ©2009 HP Confidential template rev. 12.15.0921 Canvas with loaded WSDL •Drag and Drop the Rest Services calls to the Canvas. •The Canvas shows the Client Method loaded in the Test Flow
  • 22. ©2009 HP Confidential template rev. 12.15.0922 ©2009 HP Confidential22 Setting Input and checkpoint Set URL Input Condition: Search for Customer with ID = 7 Set checkpoint to verify the response result
  • 23. ©2009 HP Confidential template rev. 12.15.0923 Output – REST Service The highlighted text shows the Checkpoint validation.
  • 24. ©2009 HP Confidential template rev. 12.15.0924 Service Test Results – REST Service Service Test Result shows the passed checkpoint
  • 25. ©2009 HP Confidential template rev. 12.15.0925 Running Test for Multiple Iteration To run a test multiple iterations 1) Click on Test Flow 2) In Property Sheet -> Test Flow -> Select the Input Icon 3) Select the Loop Required ( Example For Loop – 10 Iterations) 4) Run the Test by clicking on the Run/Play button
  • 26. ©2009 HP Confidential template rev. 12.15.0926 Service Test Results – Multiple Iteration Service Test Result shows the passed checkpoint of the 10th iteration
  • 27. ©2009 HP Confidential template rev. 12.15.0927 Data Driving Service Test Service test provides the three Options for data driving a test. – Using excel – Using xml – Using local table of ST Service test supports data Driving table for both input Values and checkpoints to be Validated in test
  • 28. ©2009 HP Confidential template rev. 12.15.0928 Data Driving using Local Table Basic Step to Data Drive a Test using Local Table 1. Select New -> Local Table from the Data Window Pane 2. Add New Local Table Data Query columns 3. Assign a name for your Data Query 4. Enter Data in the Added Columns 5. Select the Data Query using the Input /Checkpoint properties Figure shows adding New Local Table having Column “Sample”
  • 29. ©2009 HP Confidential template rev. 12.15.0929 Data Driven Test using Local Table Enter Data in the Added Columns Figure shows • Local Table having two Data Queries “Sample Input Query” and “SampleOutputQuery” • Input data values entered under Sample1 column having 4 data rows for sample Input Query
  • 30. ©2009 HP Confidential template rev. 12.15.0930 Data Driven Test using Local Table Select the Data Query using the options provided in the Input and checkpoints Value properties The Figure shows •Input URL value having Data Query •Checkpoints properties response body having Expected values Data Query
  • 31. ©2009 HP Confidential template rev. 12.15.0931 Service Test Results – Data Driving Service Test Result shows the passed checkpoint of the 1st iteration
  • 32. ©2009 HP Confidential template rev. 12.15.0932 Unified Functional Test - Overview HP Unified Functional Test has the ability to test Headless Services Layer + GUI Layer + Business End to End Layer Headless Service Layer GUI Layer End to End Business Layer WSDL REST JMS/API Java .Net Ajax New Transaction / Process Layer
  • 33. ©2009 HP Confidential template rev. 12.15.0933 Unified Functional Testing - Overview You create the tests or scripts in the original application and call them within the Service Test flow. You can also call another Service Test tests from within the Test Flow. UFT Applications 1. QuickTest Professional 2. Virtual User Generator 3. Add Service Test Tests Prerequisites 1. QuickTest Professional 11 2. HP LoadRunner 11.00
  • 34. ©2009 HP Confidential template rev. 12.15.0934 Calling QTP with ST 11 1. Drag and drop QTP call from Toolbox to canvas 2. Select the Call QuickTest Professional Test from the canvas test flow 3. Select the Call QuickTest Professional Test option from the Property sheet 4. Update Input and checkpoints or add necessary steps 5. Save and Run the Test
  • 35. ©2009 HP Confidential template rev. 12.15.0935 Calling QTP with ST 11 Figure shows a Call from Service Test to QTP Test (Test5) in Service Test “Test Flow” and output from Service Test is fed an Input to QTP Test for further processing
  • 36. ©2009 HP Confidential template rev. 12.15.0936 Calling LoadRunner with ST 11 1) Drag and drop Virtual User Generator script from Tool box to canvas 2) Select the Call Virtual User Generator script from the canvas test flow 3) Open the Property Sheet's General view, and click the Browse button in the Script Path row. Select a VuGen (Virtual User Generator) .usr file. Update Input and Checkpoints or add necessary steps 4) Save and Run the Test
  • 37. ©2009 HP Confidential template rev. 12.15.0937 Calling Service Test with ST 11 1) Drag the Call Service Test test activity into the canvas. 2) Open the Property Sheet's General view and click the Select ST Test button. To update a test that has already been loaded, click Update ST Test. 3) To specify a custom directory for the results, click the Browse button in the Results Directory row in the General view. Select a directory for the results. 4) Add other relevant steps to your test. 5) Save and run the test.
  • 38. ©2009 HP Confidential template rev. 12.15.0938 Service Test Result - UFT Result viewer support integrated results from other tools (QuickTest Professional / Load Runner etc.) Quick high level overview with multilevel details Recovery for corrupted reports to help save re-run test Figure shows the Integrated results from Service Test and QTP
  • 39. ©2009 HP Confidential template rev. 12.15.0939 QC Integration with Service Test Service Test Supports Connection to Quality Center 10 , ALM/QC 11
  • 40. ©2009 HP Confidential template rev. 12.15.0940 ©2009 HP Confidential40 JMS overview with ST JMS is a J2EE standard for sending messages – Service Test supports text messages between Java clients Communication Scenarios for Communication A) Peer-to-Peer B) Publish-Subscribe Service Test supports both types of communication by allowing you to send and receive JMS messages to and from a queue or topic The Communication includes: – Publish Message to Topic – Receive Message from Queue – Receive Message from Topic – Send Message to Queue – Send and Receive Message from Queue – Subscribe to Topic
  • 41. ©2009 HP Confidential template rev. 12.15.0941 ©2009 HP Confidential41 Web Security Support with Service Test Web Security Support •HTTP •WS Security •WS Addressing Figure 2 Shows the general options for WS Security
  • 42. ©2009 HP Confidential template rev. 12.15.0942 ©2009 HP Confidential42 Test Settings To implement Java Call with Service Test, we need to implement Service Test Java interface Interface contains three methods: 1. getInputProperties 2. getOutputProperties. 3. Execute Implement Interface  ServiceTestCall.java, is located in the <ST_INSTALL_HOME>addinsServiceTestJavaCa llJava Interfacesrchpstextjava folder.  Called ServiceTestCallImpl.java
  • 43. ©2009 HP Confidential template rev. 12.15.0943 Test Settings Click in the canvas outside of the Test Flow, and open the Test Settings view in the Property Sheet
  • 44. ©2009 HP Confidential44 Demo – Objective – Demo
  • 45. ©2009 HP Confidential45 Resources – Software Support Online – HP Software Solutions Community related forums – HP Software Web Events • Replay (add registration link for your event – it will be the same) – Education for the topic
  • 47. ©2009 HP Confidential Testing WebServices and SOA applications using Service Test 11 Karthik Subramanian https://www.linkedin.com/in/karsub1 karsubp@gmail.com Selenium – Page Object Framework Overview Introduction to Integral FrameworkKarthik Subramanian September 7, 2011
  • 48. ©2010 Hewlett-Packard Development Company, L.P. To connect with your peers, visit the HP Software Solutions Community: www.hp.com/go/swcommunity

Editor's Notes

  1. Have a back up plan – screen shots in the slide deck (in the back up) or access to another machine
  2. Have a couple of questions prepared in case you do not get any in the classroom The online questions will be saved – Presenter should add any relevant answers to Knowledge database (if they do not already exist) Specific customer issues or questions that only apply to that customer – Advise the customer to log a case on SSO