web services automation workshop sreedhar dakshinamurthy

13

Click here to load reader

Upload: vodqa

Post on 11-May-2015

636 views

Category:

Technology


0 download

DESCRIPTION

Presentation

TRANSCRIPT

Page 1: Web services automation workshop   sreedhar dakshinamurthy

May 2013

SOAP based WebServices: Automation without SOAP UI

Page 2: Web services automation workshop   sreedhar dakshinamurthy

SOAP based WebServices: Automation without SOAP UI:

THOUGHTWORKS INDIA PVT LTD

Page 3: Web services automation workshop   sreedhar dakshinamurthy

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

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

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

Why WebServices: Three Tier

Data

Scalability

Complex

App Server

PC’s Pro’s

Con’s

Page 7: Web services automation workshop   sreedhar dakshinamurthy

Why WebServices: SOA

Data

Simple

Web Services

PC’s

Page 8: Web services automation workshop   sreedhar dakshinamurthy

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

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

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

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

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

Page 13: Web services automation workshop   sreedhar dakshinamurthy

Contact us

Sreedhar Dakshinamurthy +91-9880722880

[email protected] www.thoughtworks.com