Web Services Testing with Soapui

Total Page:16

File Type:pdf, Size:1020Kb

Web Services Testing with Soapui Web Services Testing with soapUI Build high quality service-oriented solutions by learning easy and efficient web services testing with this practical, hands-on guide Charitha Kankanamge BIRMINGHAM - MUMBAI Web Services Testing with soapUI Copyright © 2012 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: October 2012 Production Reference: 1191012 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84951-566-5 www.packtpub.com Cover Image by Asher Wishkerman ([email protected]) Credits Author Project Coordinators Charitha Kankanamge Sai Gamare Shraddha Vora Reviewers Evanthika Amarasiri Proofreader Bindu Laxminarayan Maria Gould Ajay Pawar Indexer Acquisition Editor Monica Ajmera Mehta Kartikey Pandey Graphics Lead Technical Editors Valentina D'Silva Hithesh Uchil Aditi Gajjar Azharuddin Sheikh Production Coordinator Technical Editors Prachali Bhiwandkar Vrinda Amberkar Ankita Meshram Cover Work Prachali Bhiwandkar Prashant Salvi About the Author Charitha Kankanamge is Manager, Quality Assurance and Senior Technical Lead at WSO2 with more than 9 years of experience in Software Quality Assurance. Charitha is specialized in SOA and middleware testing. He lead the WSO2 QA team since 2007. He is also a committer of the Apache Software Foundation contributing to Apache web services project. Charitha is interested in researching new technologies in software-testing space as well as new trends in agile and exploratory testing processes. Prior to joining WSO2, Charitha has worked at Virtusa inc. for 3 years where he was involved in multiple on-site and off-shore project assignments. In his rare offline moments, he enjoys playing guitar and watching movies. Charitha has been involved in reviewing two books, Apache Jmeter, Emilly H. Halili and Quick Start Apache Axis2, Deepal Jayasinghe both being published by Packt Publishing. Charitha can be reached through his blog: http://charithaka.blogspot.com Acknowledgement Making a book reality takes many dedicated people, and it is my great pleasure to acknowledge their contributions. First, I'd like to thank Packt Publishers, in particular, Kartikey Pandey – Senior Acquisition Editor, who proposed me to write this book. I'm grateful for all the help I got from the editorial staff at Packt Publishers in reviewing this book, specially Hithesh Uchil – Lead Technical Editor and Sai Gamare who coordinated the progress of writing, by ensuring that I stayed on track. This book has benefited from a great set of technical reviewers. I'd like to thank each of them for volunteering their time reviewing drafts of this book and providing valuable feedback. Specially, my colleague at WSO2 QA team, Evanthika Amarasiri who carried out in-depth quality assurance process in all chapters by executing each sample. I sincerely thank my wife, Thushari for her patience, support, and understanding throughout the writing process. Many thanks to my beloved parents who raised me, made me the person who I am today by providing their insightful guidance in all aspects of my life. Though I'm unable to name individually, I would like to extend my heartfelt gratitude to many colleagues at WSO2, who never hesitated to give their support to the fullest extent, whenever I requested help on various subject matters. I must thank Dr. Sanjiva Weerawarana, Founder, Chairman and CEO of WSO2, Inc. whose vision inspires me and guides me to accomplish my career aspirations. Finally, a big thank goes to the developers and contributors of Smartbear software for making soapUI the world's best open source web services testing tool. About the Reviewers Evanthika Amarasiri joined 99X Techonology (former Eurocenter DDC Ltd.) in 2000 as a trainee QA Engineer. She has become competent in testing applications based on Java, C++, VB and .NET, Lotus Notes, and in mobile application testing (Symbian and J2ME). While she was working there, she studied for her B.Sc. in Information Systems at the Informatics Institute of Technology, Sri Lanka, which was affiliated to the Manchester Metropolitan University, UK. She left 99X Technology in 2006 and joined WSO2 Lanka (Pvt) Limited (in the same year) as a Software Engineer - Quality Assurance. From 2006 to date, she has worked with several leading middleware products of WSO2. During her stay at WSO2 she has gained experience and knowledge on different kinds of web technologies, operating systems, databases, application servers, and many QA testing tools. She has also gained extensive experience in functional, usability, performance testing, as well as QA test planning. By contributing to the Apache Synapse, which is a free and open source software project, she has become a committer for the same. Currently she is working as a Quality Assurance Technical Lead and is also a member of the Management Committee in the Integration Technology team of WSO2. I would like to thank my loving husband and my mother for all the support given while reviewing this book. Also, a special thank goes to my team mates for all the valuable inputs given, to make the review process a success. My sincere gratitude goes to Charitha, the author of the book, for selecting me as a reviewer for his book. He is a great teacher/leader who has inspired us with his work. Without his guidance and support, I would not have made this far in my career. I wish him all the best for his future endeavors. Bindu Laxminarayan is an expert in Software Testing and Quality Assurance with expertise in Test Automation Framework Design and Development. Over the last 7 years, she has worked on various testing tools including but not limited to SOAPUI, Jmeter and selenium on RESTful and SOAP Web Services. She is currently working on Test Automation of Cloud Web Services and design patterns in Automated Testing. Over the last two years she has presented at work on StarEast Conference. Ajay Pawar is an IBM middleware consultant having more than a decade of experience. He is Director at ePower Consultancy Services UK. Ltd. He started his career working on technologies such as Java, Java Swing, Java EE, and then extended his experience in SOA world. He is an expert in IBM middleware tools such as WebSphere Process Server (WPS), WebSphere Integration Developer (WID), WebSphere MQ (WMQ), and Websphere Service Registry and Repository (WSRR). He has also good flair for web services testing. He is proficient in soapUI tool and he used it extensively for manual as well as automation testing. I would like to thank my wife Hema, sweet daughter Aarohi, and a cute baby Vihaan for their constant support. www.PacktPub.com Support files, eBooks, discount offers and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub. com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. Why Subscribe? • Fully searchable across every book published by Packt • Copy and paste, print and bookmark content • On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. This book is dedicated to my parents, who have raised me to be the person I am today and my beloved wife Thushari and my loving kids, Risith and Nethul. Table of Contents Preface 1 Chapter 1: Web Services Testing and soapUI 7 SOA and web services 8 Service-oriented solutions 8 Case study 8 Building blocks of SOA 9 Simple Object Access Protocol 11 Alternatives to SOAP 13 REST 13 Java Script Object Notation 14 Web Services Description Language 14 Message exchanging patterns 16 SOAP Faults 17 Approaches of testing web services 18 Unit testing of web services 19 Functional testing 19 Tool assisted testing 19 Using client APIs provided by service container middleware 19 Integration testing of web services 20 Performance testing of web services 20 The common challenges of Web services testing 20 Use of external web services
Recommended publications
  • Web Services and Service Oriented Architectures 1 ©2009 Cesare Pautasso Web Sites (1992)
    SOA with REST Cesare Pautasso Faculty of Informatics University of Lugano http://www.pautasso.info [email protected] 31.3.2009 Web Services and Service Oriented Architectures 1 ©2009 Cesare Pautasso Web Sites (1992) Web HTML Web Browser HTTP Server WS-* Web Services (2000) SOAP WSDL Client XML Server (HTTP) 31.3.2009 Web Services and Service Oriented Architectures 2 ©2009 Cesare Pautasso RESTful Web Services (2007) PO-XML JSON RSS WADL Web Client HTTP Server WS-* Web Services (2000) SOAP WSDL Client XML Server (HTTP) 31.3.2009 Web Services and Service Oriented Architectures 3 ©2009 Cesare Pautasso Where do Web services come from? • Address the problem of • REST advocates have come enterprise software to believe that their ideas are standardization just as applicable to solve • Enterprise Computing application integration Standards for Interoperability problems. (WS started 2001) • A layered architecture with a variety of messaging, description and discovery specifications • Are all specifications really composable? • Do things from the ground up, quickly, in well factored, distinct, tightly focused specifications • Tools will hide the complexity • “Look ma’, no tools!” 31.3.2009 Web Services and Service Oriented Architectures 4 ©2009 Cesare Pautasso Dealing with Heterogeneity • Web Applications • Enterprise Computing Picture from Eric Newcomer, IONA EricNewcomer, Picture from HTTP CICS IMS 31.3.2009 Web Services and Service Oriented Architectures 5 ©2009 Cesare Pautasso Big Web Services WS-PageCount Messaging 232 pages • High perceived
    [Show full text]
  • Maîtriser Apache Jmeter Du Test De Charge À Devops
    Maîtriser Apache JMeter Du test de charge à Devops Antonio Gomes Rodrigues, Bruno Demion (Milamber) et Philippe Mouawad Ce livre est en vente à http://leanpub.com/maitriser-jmeter-du-test-de-charge-a-devops Version publiée le 2018-09-30 ISBN 978-2-9555036-1-4 Ce livre est publié par Leanpub. Leanpub permet aux auteurs et aux éditeurs de bénéficier du Lean Publishing. Lean Publishing consiste à publier à l’aide d’outils très simples de nombreuses itérations d’un livre électronique en cours de rédaction, d’obtenir des retours et commentaires des lecteurs afin d’améliorer le livre. © 2014 - 2018 Antonio Gomes Rodrigues, Bruno Demion (Milamber) et Philippe Mouawad Tweet ce livre ! S’il vous plaît aidez Antonio Gomes Rodrigues, Bruno Demion (Milamber) et Philippe Mouawad en parlant de ce livre sur Twitter ! Le tweet suggéré pour ce livre est : Je viens d’acheter Maîtriser Apache JMeter : Du test de charge à #Devops par @ra0077, @milamberspace, @philmdot sur https ://leanpub.com/maitriser-jmeter-du-test-de-charge-a-devops Le hashtag suggéré pour ce livre est #jmeter. Découvrez ce que les gens disent à propos du livre en cliquant sur ce lien pour rechercher ce hashtag sur Twitter : #jmeter Couverture et quatrième de couverture conçues par Cécile Platteeuw (C’grafic) Table des matières Droits ............................................ 1 Présentation des auteurs ................................ 2 Antonio Gomes Rodrigues ............................. 2 Bruno Demion (Milamber) ............................. 2 Philippe Mouawad (Philippe M.) ......................... 3 L’écosystème d’Apache JMeter ............................ 5 Introduction ...................................... 5 Plugin polyvalent ................................... 5 JMeter Plugins .................................. 5 JMeter dans le cloud ................................. 18 BlazeMeter .................................... 19 Tricentis Flood .................................. 23 Redline 13 ...................................
    [Show full text]
  • Enterprise Integration Patterns with WSO2 ESB
    WSO2 EIP Guide Enterprise Integration Patterns with WSO2 ESB 1 April - 2013 WSO2 EIP Guide Table of Contents 1. Enterprise Integration Patterns with WSO2 ESB . 4 1.1 Messaging Systems . 8 1.1.1 Message Channels . 9 1.1.2 Message . 12 1.1.3 Pipes and Filters . 13 1.1.4 Message Router . 16 1.1.5 Message Translator . 20 1.1.6 Message Endpoint . 24 1.2 Messaging Channels . 27 1.2.1 Point-to-Point Channel . 28 1.2.2 Publish-Subscribe Channel . 31 1.2.3 Datatype Channel . 34 1.2.4 Invalid Message Channel . 38 1.2.5 Dead Letter Channel . 41 1.2.6 Guaranteed Delivery . 47 1.2.7 Messaging Bridge . 51 1.2.8 Message Bus . 54 1.3 Message Construction . 55 1.3.1 Command Message . 56 1.3.2 Document Message . 58 1.3.3 Event Message . 61 1.3.4 Request-Reply . 63 1.3.5 Return Address . 66 1.3.6 Correlation Identifier . 69 1.3.7 Message Sequence . 70 1.3.8 Message Expiration . 70 1.3.9 Format Indicator . 73 1.4 Message Routing . 74 1.4.1 Content-Based Router . 76 1.4.2 Message Filter . 79 1.4.3 Dynamic Router . 82 1.4.4 Recipient List . 86 1.4.5 Splitter . 90 1.4.6 Aggregator . 93 1.4.7 Resequencer . 96 1.4.8 Composed Msg. Processor . 100 1.4.9 Scatter-Gather . 104 1.4.10 Routing Slip . 109 1.4.11 Process Manager . 113 1.4.12 Message Broker . 114 1.5 Message Transformation .
    [Show full text]
  • Page 1 of 9 Codeproject: Efficiently Exposing Your Data with Minimal
    CodeProject: Efficiently exposing your data with minimal effort. Free source code and pr ... Page 1 of 9 6,623,518 members and growing! (20,991 online) Email Password Sign in Join Remember me? Lost your password? Home Articles Quick Answers Message Boards Job Board Catalog Help! Soapbox Web Development » ASP.NET » Samples License: The Code Project Open License (CPOL) C#, XML.NET 3.5, WCF, LINQ, Architect, Dev Efficiently exposing your data with minimal effort Posted: 16 Nov 2009 By V.GNANASEKARAN Views: 1,238 An article on how we can expose our data efficiently with minimal effort by leveraging Microsoft ADO.NET Data Services. Bookmarked: 7 times Advanced Search Articles / Quick Answers Go! Announcements Search Add to IE Search Windows 7 Comp Print Share Discuss Report 11 votes for this article. Win a laptop! Popularity: 4.62 Rating: 4.44 out of 5 1 2 3 4 5 Monthly Competition Download source code - 101 KB ARTICLES Desktop Development Web Development Introduction Ajax and Atlas Applications & Tools For enterprises which have been in business for decades, problems due to silos of applications and data that ASP evolved over the years is a common issue. These issues sometimes become show stoppers when an enterprise is ASP.NET starting a new strategic initiative to revamp its IT portfolio, to float new business models and explore new ASP.NET Controls business opportunities. ATL Server Caching This article is going to discuss possible options available for unification of data silos, and how efficiently an Charts, Graphs and Images enterprise can expose its data with minimal effort by leveraging the recent advancements in technology.
    [Show full text]
  • CS8651-Internet Programming Department of CSE 1 Unit- I Part
    CS8651-Internet Programming Department of CSE CS6501 - Internet programming Unit- I Part - A 1 Define Java. Java is a programming language expressly designed for use in the distributed environment of the Internet. It was designed to have the "look and feel" of the C++ language, but it is simpler to use than C++ and enforces an object- oriented programming model. 2. What is a Class? Class is a template for a set of objects that share a common structure and a common behaviour. 3. What is an Object? Object is an instance of a class. It has state, behaviour and identity. It is also called as an instance of a class. 4. What is an Instance? An instance has state, behaviour and identity. The structure and behaviour of similar classes are defined in their common class. An instance is also called as an object. 5. What are different types of access modifiers (Access specifiers)? Access specifiers are keywords that determine the type of access to the member of a class. These keywords are for allowing privileges to parts of a program such as functions and variables. These are: public: Anything declared as public can be accessed from anywhere. private: Anything declared as private can’t be seen outside of its class. protected: Anything declared as protected can be accessed by classes in the same package and subclasses in the there packages. default modifier : Can be accessed only to classes in the same package. 6. What is method overloading and method overriding? Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading.
    [Show full text]
  • Studying Dependency Updates and a Framework for Multi-Versioning in Docker Containers by Sara Gholami Ghasem Abad
    Studying Dependency Updates and a Framework for Multi-Versioning in Docker Containers by Sara Gholami Ghasem Abad A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in Software Engineering and Intelligent Systems Department of Electrical and Computer Engineering University of Alberta © Sara Gholami Ghasem Abad, 2020 Abstract Containerized software systems are becoming more popular and complex as they are one of the essential techniques that enable cloud computing. One of the enabling technologies for containerized software systems is the Docker framework. Docker is an open-source framework for deploying containers, lightweight, standalone, and executable units of software with all their dependencies (packages and libraries) that can run on any computing environment. Docker images facilitate deploying and upgrading systems as all of the dependencies required for a software package are included in an image. However, there exist several risks with running Docker images in production environments. One risky situation can occur when upgrading images, as an upgrade may result in many changing packages or libraries at once. Therefore, in this thesis, we study the Docker images and analyze them to identify the risks of package changes. Also, we propose our solution, DockerMV, to mitigate this risk by running multiple versions of an image at the same time. In this first part of this thesis, we analyze the official Docker image repositories that are available on Docker Hub, Docker’s public registry that holds Docker images. For each image in these repositories, we extract details about its native, Node, and Python packages. Afterward, we investigate which types of applications have more package changes in their image upgrades.
    [Show full text]
  • Kuali Student Service System: Technical Architecture Phase 1 Recommendations
    Kuali Student Service System Technical Architecture Phase 1 Recommendations Kuali Student Service System Technical Architecture Phase 1 Recommendations December 31 2007 Kuali Student Technical Team Technical Architecture Phase 1 deliverables 2/14/2008 1 Kuali Student Service System Technical Architecture Phase 1 Recommendations Table of Contents 1 OVERVIEW ........................................................................................................................ 4 1.1 REASON FOR THE INVESTIGATION ................................................................................... 4 1.2 SCOPE OF THE INVESTIGATION ....................................................................................... 4 1.3 METHODOLOGY OF THE INVESTIGATION .......................................................................... 4 1.4 CONCLUSIONS ............................................................................................................... 5 1.5 DECISIONS THAT HAVE BEEN DELAYED ............................................................................ 6 2 STANDARDS ..................................................................................................................... 7 2.1 INTRODUCTION .............................................................................................................. 7 2.2 W3C STANDARDS .......................................................................................................... 7 2.3 OASIS STANDARDS ......................................................................................................
    [Show full text]
  • Java CAPS 6 Update 1 Exposing MTOM-Capable Java CAPS Classic Web Service [email protected] February 2009 Contents 1
    Java CAPS 6 Update 1 Exposing MTOM-capable Java CAPS Classic Web Service [email protected] February 2009 Contents 1. Introduction............................................................................................................1 2. WSDL Notes..........................................................................................................3 4. Build eInsight / BPEL 1.0-based Web Service....................................................12 5. Exercise eInsight / BPEL 1.0-based Web Service...............................................21 6. Add Service Wrapper to provide MTOM support...............................................27 7. Test Wrapped Service..........................................................................................32 8. Create Java CAPS Environment..........................................................................36 9. Obtain and use the Apache TCP Mon..................................................................38 10. Install soapUI Plugin........................................................................................39 11. Install JAX-RPC Plugin...................................................................................40 1. Introduction If we overlook the fact that using web services to transfer large payloads is a very stupid idea, we will be faced with the need to implement the optimisation mechanisms to make transfer of large payloads using web services a little less inefficient from the stand point of the size of the over-the-wire data to be transferred.
    [Show full text]
  • Apache Jmeter
    Apache JMeter #jmeter Table of Contents About 1 Chapter 1: Getting started with Apache JMeter 2 Remarks 2 Versions 2 Examples 3 Installation or Setup 3 Overview of Apache JMeter components at high level 4 Chapter 2: Apache JMeter Correlations 7 Introduction 7 Examples 7 Correlation Using the Regular Expression Extractor in Apache JMeter 7 Correlation Using the XPath Extractor in JMeter 12 Correlation Using the CSS/JQuery Extractor in JMeter 14 Correlation Using the JSON Extractor 17 Automated Correlation by Using BlazeMeter’s ‘SmartJMX’ 20 Chapter 3: Apache JMeter parameterization 24 Introduction 24 Examples 24 Parameterization using external files 24 Parameterization using databases 31 Parameterization using the ‘Parameterized Controller’ plugin 41 Chapter 4: Apache JMeter: Test scenario recording 47 Introduction 47 Examples 47 Script Recording with the JMeter Template Feature 47 Script Recording with the JMeter Proxy Recorder 49 Recording Performance Scripts for Mobile Devices 52 Recording HTTPS Traffic 53 Script Recording with the BlazeMeter Chrome Extension 56 Script Recording with BadBoy 58 Credits 60 About You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: apache-jmeter It is an unofficial and free Apache JMeter ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official Apache JMeter. The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified.
    [Show full text]
  • REST in Practice
    REST in Practice Jim Webber, Savas Parastatidis, and Ian Robinson Beijing · Cambridge · Farnham · Köln · Sebastopol · Tokyo REST in Practice by Jim Webber, Savas Parastatidis, and Ian Robinson Copyright © 2010 Jim Webber, Savas Parastatidis, and Ian Robinson. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Simon St.Laurent Indexer: Lucie Haskins Production Editor: Rachel Monaghan Cover Designer: Karen Montgomery Copyeditor: Audrey Doyle Interior Designer: Ron Bilodeau Proofreader: Rachel Monaghan Illustrator: Robert Romano Production Services: Newgen North America Printing History: September 2010: First Edition. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc., REST in Practice, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and au- thors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ISBN: 978-0-596-80582-1 [M] C o n t e n t s Foreword .
    [Show full text]
  • BTS Technology Standards Directory
    BTS Technology Standards Directory Technology Standards Directory City of Portland, Oregon Bureau of Technology Services Summer 2021 Adopted September 14, 2021 Updated September 20, 2021 BTS Infrastructure Board Page 1 Summer 2021 Adopted 9/14/2021 V1.1 9/20/2021 BTS Technology Standards Directory Table of Contents 37. Operational Support Tools .................... 47 Introduction .............................................. 4 38. Project Management Tools ................... 49 Standards ...................................................... 4 39. Radio / Ham Radio ................................ 50 Security .......................................................... 4 40. Server Base Software ........................... 50 Exception to Standards.................................. 5 41. Source Code Control System ............... 51 Standard Classification .................................. 5 42. Telecommunications ............................. 51 Support Model ............................................... 6 43. Web Tools ............................................. 52 Energy Efficiency ........................................... 8 44. Workstation Software ............................ 53 BTS Standard Owner ..................................... 8 BTS Standards Setting Process .................... 9 Security Technology Standards ............56 ADA Assistive Technologies ........................ 10 45. Authentication ....................................... 56 46. Encryption ............................................. 56 Hardware Standards
    [Show full text]
  • An Introduction API Testing with Soapui for Testnet
    An introduction API testing with SoapUI Vincent Vonk 12-06-2018 © CGI Group Inc. Agenda for the next 50 minutes • What is SoapUI? • What are Web APIs? • Why test on API level? • What can SoapUI do? • Types of Web APIs • Short explanation about SOAP • Why is SoapUI currently so popular? • SoapUI best practices • Mini SoapUI workshop • The end/time for questions 2 What is SoapUI? • SoapUI is a free and open source cross-platform functional testing tool • SoapUI allows you to easily and rapidly create and execute automated functional, regression, compliance/security, and load tests for Web APIs • SoapUI can be used out of the box for the two most used Web APIs types 3 What are Web Application Programming Interfaces? • An interface to a software component that can be invoked at a distance over a communications network using standards based technologies • Web APIs ≈ Web Services in this presentation 4 Popularity Web APIs 5 10,000 public Web APIs 100% annual growth 3-5x private APIs 11 Web API testing example Your Application Provides a GUI for users to WEB Enter data and API internally generate XML and call a Web API Takes the input XML, processes it and sends a return XML message XML Generated by your system internally 13 What can SoapUI do? • Generate request on behalf of our input data and send it to Web API engine • Receive data coming from Web API and validate data • Automate the above (and also put in to load / security tests) • Generate basic reports as well • Virtualize the Web service WEB API Takes the input XML, processes it and sends
    [Show full text]