web services automation workshop sreedhar dakshinamurthy
DESCRIPTION
PresentationTRANSCRIPT
![Page 1: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/1.jpg)
May 2013
SOAP based WebServices: Automation without SOAP UI
![Page 2: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/2.jpg)
SOAP based WebServices: Automation without SOAP UI:
THOUGHTWORKS INDIA PVT LTD
![Page 3: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/3.jpg)
Why Are We Here?
u Brief introduction into Why WebServices u Basics of SOAP based WebServices u Challenges of SOAP UI automation u Test Framework development for a Sample
application and the advantages
![Page 4: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/4.jpg)
Why WebServices: Main Frame
Data Business Logic Presentation
Terminal 1
Terminal 2
Terminal 3
Terminal 4
Simple
Scalability
Pro’s
Con’s
![Page 5: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/5.jpg)
Why WebServices: Client/Server
Data Business Logic
PC 1
PC 2
PC 3
PC 4
Scalability
Maintenance
Pro’s
Con’s
![Page 6: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/6.jpg)
Why WebServices: Three Tier
Data
Scalability
Complex
App Server
PC’s Pro’s
Con’s
![Page 7: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/7.jpg)
Why WebServices: SOA
Data
Simple
Web Services
PC’s
![Page 8: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/8.jpg)
WebServices
• REST Based WebServices • SOAP Based WebServices
SOAP (Simple Object Access Protocol) WSDL (Web Services Description Language)
![Page 9: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/9.jpg)
SOAP based WebServices
• SOAP stands for Simple Object Access Protocol • SOAP is a communication protocol • SOAP is for communication between applications • SOAP is a format for sending messages • SOAP is designed to communicate via Internet • SOAP is platform independent • SOAP is language independent • SOAP is based on XML
What is SOAP?
![Page 10: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/10.jpg)
SOAP based WebServices
• WSDL stands for Web Services Description Language • WSDL is written in XML • WSDL is an XML document • WSDL is used to describe Web services • WSDL is also used to locate Web services
What is WSDL?
![Page 11: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/11.jpg)
Challenges of SOAP UI
• Coding on a Non-IDE environment • Debugging is close to non existent • Implementation of modularity needs extensive framework
capabilities making it non maintainable for medium – large sized suites
• Extensively tied down to using XML • Integration with Continuous Integration mechanism is tricky • Proprietary Software requiring Licensing fee
Note: Demo of SOAP UI using a Local Webservice deployed on the Presenter’s Laptop
![Page 12: Web services automation workshop sreedhar dakshinamurthy](https://reader038.vdocument.in/reader038/viewer/2022100517/554fb8d2b4c9050e7d8b4740/html5/thumbnails/12.jpg)
Advantages
• Open Source • Can be implemented using a Object Oriented language • Integration with Continuous Integration mechanism is implicit • Changing Request and Response assertion is easier in Object than
XML format • Features of using an IDE can be used to our advantage
Note: Demo of Writing a Framework in Java using the Local Webservice deployed on the Presenter’s Laptop