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
JMeter Cookbook

You're reading from   JMeter Cookbook 70 insightful and practical recipes to help you successfully use Apache JMeter

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher
ISBN-13 9781783988280
Length 228 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Bayo Erinle Bayo Erinle
Author Profile Icon Bayo Erinle
Bayo Erinle
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. JMeter Fundamentals FREE CHAPTER 2. Handling Responses 3. Building Robust Test Plans with Controllers 4. Testing Services 5. Diving into Distributed Testing 6. Extending JMeter 7. Building, Debugging, and Analyzing the Results of Test Plans 8. Beyond the Basics A. Installing the Supporting Software Needed for this Book Index

Testing REST web services


Representational State Transfer (REST) is an architectural style of designing network applications that relies on a stateless client-server and cacheable communications protocol (HTTP). Compared to alternatives such as Remote Procedure Calls (RPC), Simple Object Access Protocol (SOAP), and so on, REST is lightweight, mainly because all communications between the client and server are over HTTP. This makes them easily testable as well.

REST web services adhere to the principles of REST and rely on the following HTTP methods: GET, PUT, POST, and DELETE. GET is used to list or retrieve resource(s), PUT is used to replace or update resource(s), POST is used to create a new resource, and DELETE is used to delete resource(s). Since REST is an architectural style and not a protocol, there is no official standard. The only constraints are to stick to the guidelines laid out by REST.

How to do it…

In this recipe, we will cover how to test REST web services. Perform the following...

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