- SoapUI Cookbook
- Rupert Anderson
- 320字
- 2021-07-23 20:19:17
Introduction
Web service stubs (and mocks—see Chapter 3, Developing and Deploying Dynamic REST and SOAP Mocks) are often developed in the early stages of a project, to quickly provide limited functionality to the client application while the full web services are implemented. This chapter shows how SoapUI can help you quickly test and develop simple Java REST and SOAP web service stubs and generate tests by recording interactions with existing web services. The web service stub implementations that you'll develop will only involve a few lines of Java code and can be run as Java executables. Apart from providing a quick warm up on basic SoapUI testing, the service interfaces and implementation examples will be reused as the basis for more advanced topics later in this book.
What you'll learn
You will learn the following topics:
- How SoapUI can help you test, update, refactor, and develop a simple stub SOAP web service using its WSDL
- How SoapUI can help you test and develop a simple stub REST web service
- How SoapUI's discovery features can help you generate tests
- To use Apache CXF to generate, implement and run basic JAX-RS and JAX-WS web service stubs
What you'll need
You will need the following software:
Note
New to SoapUI?
While this chapter demonstrates how to set up basic SoapUI REST and SOAP projects, tests, and assertions, it doesn't cover the typical 'getting started' installation, setup, and overview of SoapUI. So if you are completely new to SoapUI, it might also be worth taking a look at the online SoapUI docs, for example, Getting started at http://www.soapui.org/.
- DevOps with Kubernetes
- Modular Programming with Python
- 小創客玩轉圖形化編程
- 垃圾回收的算法與實現
- Cocos2d-x游戲開發:手把手教你Lua語言的編程方法
- 假如C語言是我發明的:講給孩子聽的大師編程課
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- Redis Essentials
- 網絡爬蟲原理與實踐:基于C#語言
- 從0到1:Python數據分析
- 精通Linux(第2版)
- Couchbase Essentials
- Django實戰:Python Web典型模塊與項目開發
- Mastering Leap Motion
- Web開發的平民英雄:PHP+MySQL