Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • JMeter Cookbook
  • Toc
  • feedback
JMeter Cookbook

JMeter Cookbook

By : Erinle
3.6 (8)
close
JMeter Cookbook

JMeter Cookbook

3.6 (8)
By: Erinle

Overview of this book

This book is great for you if you are a developer, quality assurance engineer, tester, or test manager who is looking to get a firmer grasp of elementary, deep, and advanced testing concepts using Apache JMeter. It’s assumed you have access to a computer and an Internet connection. No prior testing or programming experience is required, but would be helpful.
Table of Contents (11 chapters)
close
10
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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete