Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building RESTful Web Services with Spring 5

You're reading from   Building RESTful Web Services with Spring 5 Leverage the power of Spring 5.0, Java SE 9, and Spring Boot 2.0

Arrow left icon
Product type Paperback
Published in Jan 2018
Publisher Packt
ISBN-13 9781788475891
Length 228 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ludovic Dewailly Ludovic Dewailly
Author Profile Icon Ludovic Dewailly
Ludovic Dewailly
Raja CSP Raman Raja CSP Raman
Author Profile Icon Raja CSP Raman
Raja CSP Raman
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. A Few Basics 2. Building RESTful Web Services in Spring 5 with Maven FREE CHAPTER 3. Flux and Mono (Reactor Support) in Spring 4. CRUD Operations in Spring REST 5. CRUD Operations in Plain REST (Without Reactive) and File Upload 6. Spring Security and JWT (JSON Web Token) 7. Testing RESTful Web Services 8. Performance 9. AOP and Logger Controls 10. Building a REST Client and Error Handling 11. Scaling 12. Microservice Basics 13. Ticket Management – Advanced CRUD 14. Other Books You May Enjoy

SoapUI


Like Postman, SoapUI is another open source tool that is used to test web services. SoapUI helps in web service invoking, mocking, simulation, load testing, and functional testing. SoapUI is heavily used in load testing, and it has lots of controls to make load testing easy.

SoapUI is very easy to install in operating systems such as Windows and Linux. Its user interface gives us a lot of flexibility to build complex test scenarios. Also, SoapUI supports third-party plugins such as TestMaker and Agiletestware, and it's easy to integrate with IDEs such as NetBeans and Eclipse.

Getting all the users – SoapUI

We will use SoapUI to test our basic API (/user). The following method will get all the users when we use them in SoapUI using the GET method:

http://localhost:8080/user

The SoapUI screenshot for getting all the users is as follows:

We will try to add a user using the POST method:

http://localhost:8080/user

The added user screenshot will be as follows:

In this result, we can see the JSON...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image