Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Test Automation Engineering Handbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Test Automation Engineering Handbook

Test Automation Engineering Handbook

By : Manikandan Sambamurthy
5 (6)
close
close
Test Automation Engineering Handbook

Test Automation Engineering Handbook

5 (6)
By: Manikandan Sambamurthy

Overview of this book

This book helps you build a better understanding of test automation and aids in bridging the gap between testing and test automation. The book has been divided into three sections with the first section focusing on preparing you for testing and test automation fundamentals. By the end of this section, you’ll have an understanding of some common automation terms, definitions, and roles. The second section covers the practical implementation of test automation for mobile, web, API and performance. The third section will help you understand how test automation works with CI/CD, and explore the common issues and pitfalls when executing test automation. By the end of this book, you’ll have a better understanding of automation, addressing the common pain points and best practices around test automation.
Table of Contents (18 chapters)
close
close
1
Part 1: The Basics
5
Part 2: Practical Affairs
11
Part 3: Continuous Learning

Sending GET and POST requests

For creating requests, the user must be within a workspace and click on the + button next to the Overview tab. This is the simplest way to create a new API request. A new tab with various request details opens, as shown in Figure 7.4. This is commonly referred to as a request dashboard in Postman:

Figure 7.4 – New API request

Figure 7.4 – New API request

Now, let us see how to make a GET API request.

Making a GET API request

We will be using the https://www.boredapi.com/api/activity API to get an understanding of GET requests. Bored is a free API that returns some random activities to do when bored. Postman makes it easy to get a simple GET API request without any authorization working. Just paste the API URL in the URL section of the request window and hit the Send button next to it. Every request to the server must be made with a URL to fetch the required response. Figure 7.5 shows the GET request with the response. Here, the Status section...

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 download 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

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY