Skip to content

abdurtutul/BackTalkAI-API-Tests

Repository files navigation

🧪 BackTalkAI – Postman API Testing Collection

API testing collection using Postman and Newman with detailed reports.

This repository demonstrates automated API testing for the BackTalkAI project using Postman and Newman. It includes robust test scripts, environment variable usage, negative test cases, and detailed HTML test reports.


📦 Project Contents

File Name Description
BackTalkAI.postman_collection.json Postman collection with API tests (Signup, Signin, Forgot Password, Chat)
BackTalkAI.postman_environment.json Postman environment file (with base URL and collection variables)
BackTalkAI_API_report.html Newman HTML report (22 assertions, 0 failures)
BackTalkAi_API_report_4time_run.html Extended Newman report (4 iterations, all passed)
screenshots/report-summary.png Optional screenshot from the test report

🧰 Tools & Technologies


🚀 How to Run the Tests

1. Install Newman and HTML Reporter globally

npm install -g newman newman-reporter-htmlextra

2. Run the Collection

newman run BackTalkAI.postman_collection.json -e BackTalkAI.postman_environment.json -r htmlextra --reporter-htmlextra-export BackTalkAI_API_report.html

3. Run the Test 4 Times

newman run BackTalkAI.postman_collection.json -e BackTalkAI.postman_environment.json -r htmlextra --iteration-count 4 --reporter-htmlextra-export BackTalkAi_API_report_4time_run.html

✅ Test Coverage Highlights

  • 🔐 Authentication: Signup, Signin, Forgot Password, Reset Password, Token Verification
  • 🤖 AI Chat: Test dynamic text/image prompt
  • ⚠️ Negative Scenarios: Email validation, OTP error cases
  • ⏱️ Response Time & Schema Validation: Includes response time, header, content-type checks

📊 Sample Report Screenshot

Test Report Screenshot


🔗 Postman Cloud Link

📎 View Postman Collection


👨‍💻 Author

AB Rahman
Manual + Automation QA Enthusiast
📧 Email: abdurtutul6@gmail.com

About

`postman`, `api-testing`, `newman`, `qa`, `automation`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages