web services testing
DESCRIPTION
Introduction to Web ServicesWeb Services Testing by Visual Studio 2010 What is a Web Service? Web Service Standards Web Service Testing by Visual Studio 2010 Web Service Load Test ----------------------------------------------------- Created By: Yana Altunyan Reviewed by: Vladimir Soghoyan Ogma ApplicationsTRANSCRIPT
Web ServicesIntroduction to Web Services
Web Services Testing by Visual Studio 2010
Created By: Yana AltunyanReviewed by: Vladimir SoghoyanOgma Applications
2
What is a Web Service?Web Service StandardsWeb Service Testing by Visual Studio 2010Web Service Load Test
9/18/2012Ogma Applications
Overview
Ogma Applications 3
1. Web services are Web-based enterpriseapplications that use open, XML-basedstandards and transport protocols toExchange data with calling clients.
2. Web Service Is a Software that performs a task. Sits on a network so other systems can talk to it (most often SOAP over HTTP). Has a defined, published interface (usually via WSDL). Is platform and language independent. Typically uses XML.
9/18/2012
What is a Web Service?
Ogma Applications 4
XML WSDL (Web Services Description Language) UDDI (Universal Description, Discovery and Integration) XML-RPC SOAP (Simple Object Access Protocol)
9/18/2012
Web Service Standards
Ogma Applications 5
Sequence of StepsCreate New ProjectWeb Performance Test templateAdd Web Service RequestWeb Service URLWeb Service String Body (XML)Run TestResults
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 6
Create New Project Create New Project Select Test Projects Select Test Documents Give Appropriate Name
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 7
Web Performance Test template
Add New Test Select Web Performance Test
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 8
Add Web Service Request Right Click on WebTest Select Add Web Service Request
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 9
Web Service URL
Copy Web Service URL to Web Service Property
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 10
Web Service String Body (XML)
Copy Web Service String Body
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 11
Give Appropriate Values
<SessionID>QA1212</SessionID> <CommunityID>753</CommunityID> <startDate>2012-09-18</startDate> <endDate>2012-09-30</endDate>
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 12
Run Test Receive Response (part)
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 13
Give Wrong Values
<SessionID>QA1212</SessionID>
<CommunityID>A28</CommunityID> <startDate>2012-09-18</startDate> <endDate>2012-09-30</endDate>
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 14
Run Test Receive Response
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 15
Conclusion
In both cases response was correct, as web service reacts for appropriate and wrong
values in right way.
9/18/2012
Web Service Testing by Visual Studio 2010
Ogma Applications 16
To determine how well your software responds to various levels of usage, you conduct load tests. A load test models the expected usage of a software program by simulating multiple users who access the program at the same time.
Load test can be performed for Web Services also.
9/18/2012
Web Service Load Test
Ogma Applications 17
Create New ProjectLoad Test templateLoad Test wizard stepsRun Load TestResults
9/18/2012
Web Service Load Test
Ogma Applications 18
Load Test Process Counters Charts Overview
9/18/2012
Web Service Load Test
Ogma Applications 19
Load Test ResultsLoad Test Summary Test Run Information Overall Results Test Results Page Results Transactions Results Key Statistics
9/18/2012
Web Service Load Test