Cargando…

SoapUI cookbook : boost your SoapUI capabilities to test RESTful and SOAP APIs with over 65 hands-on recipes /

This book is aimed at developers and technical testers who are looking for a quick way to take their SoapUI skills and understanding to the next level. Even if you are new to SoapUI but have basic Java skills and a reasonable grasp of RESTFul and Soap web services, then you should have no problem ma...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Anderson, Rupert (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Quick answers to common problems.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Testing and Developing Web Service Stubs With SoapUI; Introduction; Generating a WSDL-first web service using SoapUI tool integration; Developing a SOAP web service test-first; Updating a SOAP project using a WSDL; Updating SOAP projects using WSDL refactoring (Pro); Generating and developing a RESTful web service stub test-first; Generating SoapUI tests with REST discovery (Pro); Chapter 2: Data-driven Testing and Using External Datasources; Introduction
  • Creating and checking data with the JDBC Request TestStepParameterizing SQL queries with the JDBC Request TestStep; Setting properties from an external file; Importing CSV file data into an in-memory H2 database with Groovy; Looping over CSV file data and driving tests with Groovy; Querying MongoDB with Groovy; Publishing, browsing, and consuming ActiveMQ JMS messages via the REST API; Chapter 3: Developing and Deploying Dynamic REST and SOAP Mocks; Introduction; Selecting mock responses using Groovy; Developing dynamic database-driven SOAP mocks; Developing dynamic database-driven REST mocks
  • Building mock responses dynamicallyDeploying mocks as WAR files; Chapter 4: Web Service Test Scenarios; Introduction; Testing WSDL and response WS-I compliance; Testing SOAP response schema compliance; Testing REST response XML schema compliance; Testing response compliance using JSON schemas; Testing and mocking SOAP (MTOM+XOP) attachments; Testing HATEOAS links; Testing polling style asynchronous REST services; Testing asynchronous SOAP service callbacks; Testing for e-mails with Groovy; Testing files with Groovy; Chapter 5: Automation and Scripting; Introduction
  • Running mocks from the command lineRunning tests from the command line; Providing environment-specific properties; Generating mock WAR files from the command line; Running mocks and tests using Maven; Running mocks and tests using Java and JUnit; Running mocks and tests using Groovy scripts; Running mocks and tests using Gradle; Chapter 6: Reporting; Introduction; Generating reports from test runners; Publishing JUnit reports using Jenkins; Exporting custom reports using Groovy; Analyzing test, HTTP, and mock coverage (Pro); Chapter 7: Testing Secured Web Services; Introduction
  • Testing basic HTTP-authenticated RESTful web servicesTesting HTTP-Digest authenticated RESTful web services; Testing HTTP form-authenticated RESTful web services; Creating and using X.509 certificates to test web services over HTTPS; Testing client certificate authenticated web services; Securing mock services using X.509 certificates; Testing WS-Security UsernameToken, Timestamp, and TransportBinding; Scanning web service security vulnerabilities; Chapter 8: Testing AWS and OAuth 2 Secured Cloud Services; Introduction; Testing Dropbox using a pregenerated OAuth 2 Access Token