timeriver / trg_api

0 stars 0 forks source link

Postman Assignments for QA and Manager 4: Use Postman for testing - Write Test Script 2 #16

Closed gamenic-gaurav closed 5 months ago

gamenic-gaurav commented 5 months ago

Epic

Purpose of this assignment

Understand how to write test script in Postman Postmanでのテストスクリプトの書き方を理解する。

Assignment 1

Using The Cat API , Please write a test script for feature below:

The Cat API を用いて、 下記機能のためのテストスクリプトを書いてください。

Feature/機能: Get random cat images from the cat API. https://api.thecatapi.com/v1/images/search

ランダムな猫画像を1枚取得する。 https://api.thecatapi.com/v1/images/search

The things to check (What test script should check)/テストスクリプトに含めるべきこと

  1. Response status code is 200 / レスポンスのステータスコードが200であること。
  2. Check the Response and it include image URL. /レスポンスが画像URLを含んでいること
  3. Use image URL, check whether if we can really get image. /画像が表示できること
gamenic-gaurav commented 5 months ago

Hi @writerity-mami-asakura san, @writerity-mitsuru-kobayashi sir For your review

Screenshot 2024-04-04 at 4 39 01 PM

URL from Body to be used for task 3.

Screenshot 2024-04-04 at 4 40 44 PM
writerity-mami-asakura commented 5 months ago

@gamenic-gaurav Very good, thank you! You can close this ticket