Question
You will create a Postman collection and create a REST test within the project. You will need to automate each test and include at least
You will create a Postman collection and create a REST test within the project. You will
need to
automate each test and include at least 1 assert for each request in the validation.
Requirements
Create a REST request to get started:
Create an environment variable book_title for the query string for title
Url:
https://www.googleapis.com/books/v1/volumes?q={{book_title}}
Use this request to get a JSON response of books with the name Turing in the title.
Parse the result and store the id in a postman variable
Asserts
must include
validating books returned ha
ve the title turing (e.g. items[i].title)
Response status code (e.g. 200)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started