万本电子书0元读

万本电子书0元读

顶部广告

SoapUI Cookbook电子书

售       价:¥

13人正在读 | 0人评论 9.8

作       者:Rupert Anderson

出  版  社:Packt Publishing

出版时间:2015-02-27

字       数:254.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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 making use of this book.
目录展开

SoapUI Cookbook

Table of Contents

SoapUI Cookbook

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Testing and Developing Web Service Stubs With SoapUI

Introduction

What you'll learn

What you'll need

Generating a WSDL-first web service using SoapUI tool integration

Getting ready

How to do it...

How it works...

There's more...

See also

Developing a SOAP web service test-first

Getting ready

How to do it...

How it works...

There's more...

See also

Updating a SOAP project using a WSDL

Getting ready

How to do it...

How it works...

There's more...

Updating SOAP projects using WSDL refactoring (Pro)

Getting ready

How to do it...

There's more...

Generating and developing a RESTful web service stub test-first

Getting ready

How to do it...

How it works...

There's more...

Code-first REST services

See also

Generating SoapUI tests with REST discovery (Pro)

Getting ready

How to do it...

How it works...

There's more...

See also

2. Data-driven Testing and Using External Datasources

Introduction

What you'll learn

What you'll need

Creating and checking data with the JDBC Request TestStep

Getting ready

How to do it...

How it works...

See also

Parameterizing SQL queries with the JDBC Request TestStep

How to do it...

How it works...

There's more...

See also

Setting properties from an external file

Getting ready

How to do it...

How it work...

See also

Importing CSV file data into an in-memory H2 database with Groovy

Getting ready

How to do it...

How it works...

There's more...

See also

Looping over CSV file data and driving tests with Groovy

Getting ready

How to do it...

How it works...

There's more...

See also

Querying MongoDB with Groovy

Getting ready

How to do it…

How it works...

There's more...

See also

Publishing, browsing, and consuming ActiveMQ JMS messages via the REST API

Getting ready

How to do it...

How it works...

There's more...

See also

3. Developing and Deploying Dynamic REST and SOAP Mocks

Introduction

What you'll learn

What you'll need

Selecting mock responses using Groovy

Getting ready

How to do it...

How it works...

There's more...

See also

Developing dynamic database-driven SOAP mocks

Getting ready

How to do it...

How it works...

There's more...

See also

Developing dynamic database-driven REST mocks

Getting ready

How to do it...

How it works...

There's more...

See also

Building mock responses dynamically

How to do it...

How it works...

There's more...

Deploying mocks as WAR files

Getting ready

How to do it...

How it works...

There's more...

See also

4. Web Service Test Scenarios

Introduction

What you'll learn

What you'll need

Testing WSDL and response WS-I compliance

Getting ready

How to do it...

How it works...

There's more...

See also

Testing SOAP response schema compliance

Getting ready

How to do it...

How it works...

There's more...

See also

Testing REST response XML schema compliance

Getting ready

How to do it...

How it works...

There's more...

Testing response compliance using JSON schemas

Getting ready

How to do it...

How it works...

There's more...

Need XML schema validation?

See also

Testing and mocking SOAP (MTOM+XOP) attachments

Getting ready

How to do it...

How it works...

There's more...

See also

Testing HATEOAS links

Getting ready

How to do it...

How it works...

There's more...

Testing polling style asynchronous REST services

Getting ready

How to do it...

How it works...

There's more...

Testing asynchronous SOAP service callbacks

Getting ready

How to do it...

How it works...

There's more...

See also

Testing for e-mails with Groovy

Getting ready

How to do it...

How it works...

There's more...

See also

Testing files with Groovy

Getting ready

How to do it...

How it works...

There's more...

See also

5. Automation and Scripting

Introduction

What you'll learn

What you'll need

Running mocks from the command line

Getting ready

How to do it...

How it works...

There's more...

Running tests from the command line

Getting ready

How to do it…

How it works...

There's more...

Providing environment-specific properties

How to do it...

How it works...

See also

Generating mock WAR files from the command line

Getting ready

How to do it...

How it works...

Running mocks and tests using Maven

Getting ready

How to do it...


How it works...

There's more...

See also

Running mocks and tests using Java and JUnit

Getting ready

How to do it...

How it works...

There's more...

See also

Running mocks and tests using Groovy scripts

Getting ready

How to do it...

How it works...

See also

Running mocks and tests using Gradle

Getting ready...

How to do it...

How it works...

There's more...

See also

6. Reporting

Introduction

What you'll learn

Generating reports from test runners

Getting ready

How to do it...

Standard reports

Summary reports

JUnit Reports

AlertSite Reports

How it works...

There's more...

Pro test runner options

Publishing JUnit reports using Jenkins

Getting ready

How to do it...

How it works...

There's more...

See also

Exporting custom reports using Groovy

Getting ready

How to do it…

How it works...

There's more...

Analyzing test, HTTP, and mock coverage (Pro)

Getting Ready

How to do it...

How it works...

Contract coverage

Assertion coverage

There's more…

HTTP coverage reporting

Mock coverage reporting

REST coverage reporting

See also

7. Testing Secured Web Services

Introduction

What you'll learn

Testing basic HTTP-authenticated RESTful web services

Getting ready

How to do it...

Smoke test

Tomcat HTTP Basic authentication setup

SoapUI HTTP Basic authentication testing

How it works...

There's more...

See also

Testing HTTP Digest-authenticated RESTful web services

Getting ready

How to do it...

Tomcat HTTP Digest authentication setup

SoapUI HTTP Digest authentication

How it works...

There's more...

See also

Testing HTTP form-authenticated RESTful web services

Getting ready

How to do it...

Setting up Tomcat form authentication

Adding the login pages to helloworld-webapp

Testing with SoapUI

How it works...

Creating and using X.509 certificates to test web services over HTTPS

Getting ready

How to do it...

Enabling HTTPS in Tomcat

Testing the service over HTTPS

How it works...

There's more...

See also

Testing client certificate authenticated web services

Getting ready

How to do it...

Client certificate creation and keystore setup

Tomcat configuration

Enabling client certificate authentication in SoapUI

How it works...

There's more...

Securing mock services using X.509 certificates

Getting ready

How to do it...

How it works...

Testing WS-Security UsernameToken, Timestamp, and TransportBinding

Getting ready

How to do it...

How it works...

There's more...

See also

Scanning web service security vulnerabilities

Getting ready

How to do it...

How it works...

There's more...

8. Testing AWS and OAuth 2 Secured Cloud Services

Introduction

What you'll learn

What you'll need

Testing Dropbox using a pregenerated OAuth 2 Access Token

Getting ready

How to do it...

How it works...

There's more...

See also

Testing Dropbox using OAuth 2 Authorization Code Grant flow

Getting ready

How to do it...

How it works...

There's more...

See also

Testing Dropbox using OAuth 2 Implicit Grant flow

Getting ready

How to do it...

How it works...

There's more...

Testing the Gmail API using OAuth2

Getting ready

How to do it...

How it works...

There's more...

See also

Automating OAuth 2 authentication and consent

Getting ready

How to do it...

How it works...

Testing AWS services using Access Key authentication

Getting ready

How to do it...

How it works...

There's more...

See also

9. Data-driven Load Testing With Custom Datasources

Introduction

What you'll learn

What you'll need

Load testing data-driven TestCases concurrently with separate Groovy datasources

Getting ready

How to do it...

How it works...

There's more...

See also

Load testing data-driven TestCases concurrently with a shared Groovy datasource

Getting ready

How to do it...

How it works...

There's more...

See also

Load testing data-driven TestCases concurrently with a shared distributed datasource

Getting ready

How to do it...

How it works...

There's more...

See also

Running load tests using Maven, command line, Java, Groovy, and Gradle scripts

Getting ready

How to do it...

How it works...

There's more...

See also

10. Using Plugins

Introduction

What you'll learn

Using old-style (open source) plugins

Why are they called old-style?

Getting ready

How to do it...

How it works...

There's more...

See also

Sending e-mails with the Email TestStep plugin

Getting ready

How to do it...

How it works...

There's more...

See also

Using plugins via the plugin manager (Pro)

How to do it...

How it works...

See also

Using the Groovy Console plugin to create and run a new TestStep

Getting ready

How to do it...

How it works...

See also

Packaging old-style plugins when running tests with Maven

Getting ready

How to do it...

How it works...

There's more...

11. Taking SoapUI Further

Introduction

What you'll learn

Building, packaging, and running SoapUI from the source code

Getting ready

How to do it...

There's more...

See also

Importing, building, running, and debugging SoapUI in Eclipse

Getting ready

How to do it...

How it works...

There's more...

See also

Developing a Groovy plugin with custom Action using Gradle

Getting ready

How to do it...

How it works...

There's more...

See also

Logging from extensions and scripts

Getting ready

How to do it...

How it works...

See also

Prompting for user input with the UISupport class

Getting ready

How to do it...

How it works...

See also

Creating a custom RequestFilter (Listener) plugin

Getting ready

How to do it...

How it works...

There's more...

See also

Creating a custom TestStep (Factory) plugin to check whether a file exists

Getting ready

How to do it...

How it works...

There's more...

See also

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部