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
![Page 1: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/1.jpg)
Web ServicesIntroduction to Web Services
Web Services Testing by Visual Studio 2010
Created By: Yana AltunyanReviewed by: Vladimir SoghoyanOgma Applications
![Page 2: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/2.jpg)
2
What is a Web Service?Web Service StandardsWeb Service Testing by Visual Studio 2010Web Service Load Test
9/18/2012Ogma Applications
Overview
![Page 3: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/3.jpg)
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?
![Page 4: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/4.jpg)
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
![Page 5: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/5.jpg)
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
![Page 6: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/6.jpg)
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
![Page 7: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/7.jpg)
Ogma Applications 7
Web Performance Test template
Add New Test Select Web Performance Test
9/18/2012
Web Service Testing by Visual Studio 2010
![Page 8: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/8.jpg)
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
![Page 9: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/9.jpg)
Ogma Applications 9
Web Service URL
Copy Web Service URL to Web Service Property
9/18/2012
Web Service Testing by Visual Studio 2010
![Page 10: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/10.jpg)
Ogma Applications 10
Web Service String Body (XML)
Copy Web Service String Body
9/18/2012
Web Service Testing by Visual Studio 2010
![Page 11: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/11.jpg)
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
![Page 12: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/12.jpg)
Ogma Applications 12
Run Test Receive Response (part)
9/18/2012
Web Service Testing by Visual Studio 2010
![Page 13: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/13.jpg)
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
![Page 14: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/14.jpg)
Ogma Applications 14
Run Test Receive Response
9/18/2012
Web Service Testing by Visual Studio 2010
![Page 15: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/15.jpg)
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
![Page 16: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/16.jpg)
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
![Page 17: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/17.jpg)
Ogma Applications 17
Create New ProjectLoad Test templateLoad Test wizard stepsRun Load TestResults
9/18/2012
Web Service Load Test
![Page 18: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/18.jpg)
Ogma Applications 18
Load Test Process Counters Charts Overview
9/18/2012
Web Service Load Test
![Page 19: Web Services Testing](https://reader034.vdocuments.mx/reader034/viewer/2022051208/54619395af79595e398b4806/html5/thumbnails/19.jpg)
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