Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.

Slides:



Advertisements
Similar presentations
REST Introduction 吴海生 博克软件(杭州)有限公司.
Advertisements

Siebel Web Services Siebel Web Services March, From
Intesar G Ali IT DepartmentPalestinian Land Authority Web services Prepared by: Intesar Ali IT Department PLA August 2010.
31242/32549 Advanced Internet Programming Advanced Java Programming
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Web Service Standards Relevant to SOA
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Understand Web Services
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Web services A Web service is an interface that describes a collection of operations that are network-accessible through standardized XML messaging. A.
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
Functional Testing of Webservices Presented by Kushan Athukorala.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Chapter 6 Introduction to Web Services. Objectives By study of the chapter, you will be able to: Describe what is Web services Describe what are differences.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
Web Services An introduction for eWiSACWIS May 2008.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
WSDL Tutorial Ching-Long Yeh 葉慶隆 Department of Computer Science and Engineering Tatung University
Web Server Administration Web Services XML SOAP. Overview What are web services and what do they do? What is XML? What is SOAP? How are they all connected?
Lecture 15 Introduction to Web Services Web Service Applications.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services JSP and Web Services 18 th March 2005.
Chapter 10 Intro to SOAP and WSDL. Objectives By study in the chapter, you will be able to: Describe what is SOAP Exam the rules for creating a SOAP document.
Establishing a foundation for web services Ashraf Memon.
1 Web Services Web and Database Management System.
Web Services (SOAP) part 1 Eriq Muhammad Adams J |
XML and Web Services (II/2546)
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Kemal Baykal Rasim Ismayilov
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
1 G52IWS: Web Services Chris Greenhalgh. 2 Contents The World Wide Web Web Services example scenario Motivations Basic Operational Model Supporting standards.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Web Services from 10,000 feet Part I Tom Perkins NTPCUG CertSIG XML Web Services.
Simple Object Access Protocol
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
1 Service Oriented Architecture SOA. 2 Service Oriented Architecture (SOA) Definition  SOA is an architecture paradigm that is gaining recently a significant.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Web Services. Web Service: Simple definition : “ Service Offered On the Web “ Technically : “ A Web Service is a programmable application component that.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Sabri Kızanlık Ural Emekçi
A Web Services Journey on the .NET Bus
Understanding SOAP and REST calls The types of web service requests
WEB SERVICES.
Unit – 5 JAVA Web Services
Introduction to Web Services and SOA
Web Server Administration
Web services, WSDL, SOAP and UDDI
Introduction to Web Services and SOA
Presentation transcript:

Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web Services

 Web Service Testing – Main Concepts  soapUI  soapUI - Introduction  Functional Testing With soapUI  Load Testing with soapUI  Advanced Scripting with Groovy 2

Main Concepts

 Web Applications are designed to be accessed by end users through Web client software  Web Services are intended to be used by other software applications 4

5 “A software system designed to support interoperable machine-to-machine interaction over a network… “ W 3 C definition

 Connect existing software  Reuse application components 6

 Connecting existing software  Web services help solve the interoperability problem  Giving different applications a way to link their data  Using Web services you can exchange data between different applications and different platforms 7

 Web Services make application components reusable  Ideally, there will only be one type of each application component, and anyone can use it in their application 8

 SOAP-based Web Services  RESTful Web Services 9

 Web services take Web applications to the next level  Using Web services your application can publish its function or message to the rest of the world  Soap Web services use:  XML  To code and decode your data and  SOAP  To transport it using open protocols 11

12

 The basic Web services platform is XML + HTTP  HTTP  The most used Internet protocol  XML  Provides a language which can be used between different platforms and programming languages  Still expresses complex messages and functions 13

 SOAP  Simple Object Access Protocol  WSDL  Web Services Description Language 14

 SOAP stands for Simple Object Access Protocol  SOAP is:  A communication protocol  Serves for communication between applications  A format for sending messages  Designed to communicate via Internet  Platform independent  Language independent  Based on XML  Simple and extensible  Allows you to get around firewalls  Will be developed as a W3C standard 15

 WSDL is an XML-based language  Serves for describing Web services and how to access them  WSDL:  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  WSDL is not yet a W3C standard 16

 Since Web services are composed of loosely coupled distributed over networks, we must test the application:  End to end  Service to service  Interface by interface 17

 A web service has no user interface  We can’t interact with it without a special tool  That tool should allow composing XML requests via its own user interface  Commonly such user interfaces are text editors  Used for writing your XML requests and controls for posting requests to the server 18

 What if your web service contains too many methods?  With too many input and output parameters  Web Service testing can be automated  Automate validation of your web service’s response against you input  Automate the output of validation results into a file  Could be just a text file of HTML depending on your choice 19

 What is soapUI?  Java-based cross-platform Functional Testing solution  Has two editions:  Free and open-source  Paid version – soapUI Pro  Source:

 soapUI provides various options for testing web services:  Functional testing  Load testing  Service Simulation (Mocking)  Security testing  REST testing 22

Short Demo

Demo For detailed tutorial see: soapui-project.html soapui-project.html soapui-project.html

Demo For detailed tutorial see: soapui-project.html soapui-project.html soapui-project.html

 Examples of assertions that are possible in soapUI are: 26  Schema Compliance  Simple Contains  Simple Not Contains  SOAP Fault  Not SOAP Fault  SOAP Response  Response SLA  XPath Match  XQuery Match  Script Assertion  WS-Security Status  WS-Addressing Response Assertion  WS-Addressing Request Assertion

 What is Property Transfer in soapUI?  Transferring data from a response to a following request 27

 What soapUI calls "Load Testing" is actually a "Performance Testing"  soapUI offers an example of a Performance Testing categorization:  Baseline Testing  Load Testing  Stress Testing  Soak Testing  Scalability Testing 28

 Talking about Performance Testing - Web Services have two main specific aspects:  What often fails first is the processing of the payloads  There’s quite a bit of XML processing going on the server side - XML parsing and XML Serialization  Security  WS-Security decreases performance 29

Demo For detailed tutorial see: testing.html testing.html testing.html

 soapUI uses a central library of Groovy scripts  What is Groovy?  An agile and dynamic language for the Java Virtual Machine  Builds upon the strengths of Java but has additional power features  Inspired by languages like Python, Ruby and Smalltalk  See:

Demo

Questions?