timeriver / trg_api

0 stars 0 forks source link

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

Closed writerity-evgenija-nikolaevska closed 4 months ago

writerity-evgenija-nikolaevska commented 4 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. /画像が表示できること
writerity-evgenija-nikolaevska commented 4 months ago

Hi @gamenic-roshan sir

firsScript

image

gamenic-roshan commented 4 months ago

@writerity-evgenija-nikolaevska, Can you share the SS for test scripts?

writerity-evgenija-nikolaevska commented 4 months ago

Certainly! My mistake sir @gamenic-roshan.

Here is the needed evidence:

Scripts

gamenic-roshan commented 4 months ago

@writerity-evgenija-nikolaevska, It seem fine, you can close this ticket.