API Testing Report
Project Name: Gmail Mail System Simulation
Test Case ID: [Link] Test Designed by: Tanay Kumar Hanra
Test Priority (Low/Medium/High): High Test Designed date: 30/04/2024
Module Name: Gmail-like Mail API Test Executed by: Tanay Kumar Hanra
Test Title: Validate JSON-server Gmail API using SOAPUI
Description: Test the Gmail-simulated API with SOAPUI validations and integrate Jenkins.
Pre-conditions:
JSON-server must be running with the Gmail-like email dataset.
SOAPUI should be installed.
Jenkins server should be configured
Dependencies:
JSON-server
SOAPUI
Jenkins
Sample [Link] file with required attributes
Test Steps:
Test Test Input Data Expected Actual Status(pass/Fail)
Case Description Result Result
ID
TC01 HTTP Status GET /emails API should Received PASS
Code return HTTP HTTP 200
Validation 200 OK OK
TC02 Response GET /emails Response Response PASS
Time Check should be Time:
under 1000ms 832ms
TC03 JSON GET /emails JSON Response PASS
Schema response must structure
Validation match the matched
predefined schema
schema
TC04 Mandatory GET /emails Each email All required PASS
Fields must include fields were
Validation email_id, present in
subject, all entries
sender_email,
receiver_emai
l
TC05 Email sender_email = Email should Email PASS
Format "user@[Link]" match pattern addresses
Validation *@*.* valid for
both
sender and
receiver
TC06 Boolean Fields: is_read, Fields must be All values PASS
Field Check is_starred, either true or are valid
has_attachments false booleans
TC07 Enum folder = ["Inbox", Only allowed All folder PASS
Validation "Sent", "Draft", values should values
"Spam", "Trash"] be accepted were
within the
valid enum
set
TC08 Timestamp timestamp = "2025- Timestamp All PASS
Format 05-02T10:23:00Z" must follow timestamps
Validation ISO 8601 matched
format expected
ISO 8601
format
TC09 Uniqueness email_id across All email_id No PASS
Check dataset values must duplicate
be unique email_id
found
TC10 Error Missing subject in API should Received PASS
Response POST request return 400 400 Bad
Testing Bad Request Request
with proper with
error message message:
"Subject is
required"
4. Gamification - Video Submission
As part of the assignment gamification, a video was recorded demonstrating the entire testing
process including:
Dataset creation using JSON-server
API endpoint validations in SOAPUI
Error handling test cases
Video Link: [Link]