{"id":25268554,"url":"https://github.com/anik16298/booking-api-using-postman-with-newman-report","last_synced_at":"2025-10-27T06:31:44.385Z","repository":{"id":248738610,"uuid":"829564771","full_name":"Anik16298/Booking-API-using-postman-with-newman-report","owner":"Anik16298","description":"Automated testing framework for a RESTful booking API using Postman collections with Newman. This repository contains scripts, configurations, and reports for reliable API functionality testing.","archived":false,"fork":false,"pushed_at":"2024-12-18T15:34:48.000Z","size":2387,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-18T16:26:24.640Z","etag":null,"topics":["api","api-automation","delete","get","newman-reporter-htmlextra","post","postman","put"],"latest_commit_sha":null,"homepage":"https://restful-booker.herokuapp.com/apidoc/index.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anik16298.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T17:29:50.000Z","updated_at":"2024-12-18T15:34:53.000Z","dependencies_parsed_at":"2024-11-15T16:41:22.600Z","dependency_job_id":null,"html_url":"https://github.com/Anik16298/Booking-API-using-postman-with-newman-report","commit_stats":null,"previous_names":["anik16298/booking_api","anik16298/booking-api-using-postman-with-newman_report"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anik16298%2FBooking-API-using-postman-with-newman-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anik16298%2FBooking-API-using-postman-with-newman-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anik16298%2FBooking-API-using-postman-with-newman-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anik16298%2FBooking-API-using-postman-with-newman-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anik16298","download_url":"https://codeload.github.com/Anik16298/Booking-API-using-postman-with-newman-report/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238454804,"owners_count":19475312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-automation","delete","get","newman-reporter-htmlextra","post","postman","put"],"created_at":"2025-02-12T10:29:58.299Z","updated_at":"2025-10-27T06:31:43.961Z","avatar_url":"https://github.com/Anik16298.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **API Testing Project: Booking_API**\n\nThis repository showcases API testing for booking functionalities using Postman and Newman. The focus is on creating, retrieving, updating, and deleting bookings through specific API endpoints.\n\n## **Testing Tools**\n\n**Postman:** Used for sending API requests, managing test collections, and inspecting responses.\n\n**Newman:**  Utilized to run tests from the command line and generate reports in different formats (e.g., HTML, JSON).\n\n## **Testing Coverage**\n\n#### **CRUD Operations:** The project encompasses tests for the following functionalities -\u003e\n\nCreate Booking (POST)\n\nGet Booking (GET)\n\nToken (POST)\n\nUpdate Booking (PUT)\n\nChecking After Update(GET)\n\nDelete Booking(DELETE)\n\nChecking After Delete Booking (GET)\n\n## **Files/Folders Info**\n\n**Batch-26.postman_environment.json:** This file holds my postman test project environment data.\n\n**Batch_26.postman_collection.json:** This file holds Postman collections of my different testing scenarios.\n\n**Newman_Command.txt:** This file contains Newman reports generate commands.\n\n**Newman_Report:** This folder contains Newman-generated test reports.\n\n## **My API Testing Coverage**\n## **Create_Booking:**\nCreate Booking is typically used to send a POST request to a server to create a new booking or reservation. This POST request includes the necessary data (such as Guest details, Price, Dates, Needs etc.) in the request body, allowing the server to process and create a new booking entry in its database.\n\n\u003cimg width=\"675\" alt=\"Create Body\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Create_Booking.png\"\u003e\n\n\u003cimg width=\"675\" alt=\"Create_prerequest script\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Pre_Request.png\"\u003e\n\n\u003cimg width=\"675\" alt=\"Create_postrequest script\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Post_Request.png\"\u003e\n\n## **Get_Booking:**\nIn Postman, a GET method is used to retrieve data from a server or API endpoint. It fetches information from the server without modifying anything, allowing users to view or read data such as user profiles, product listings, or any other resource available on the server.\n\n\u003cimg width=\"675\" alt=\"Get\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Get_Booking.png\"\u003e\n\n## **User_Auth(Token):**\nIn Postman, an Auth method is used to authenticate and authorize access to protected resources on a server or API endpoint. It allows users to include authentication tokens, API keys, or credentials in the request headers to verify their identity and gain access to restricted data or operations.\n\n\u003cimg width=\"675\" alt=\"Auth\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/User_Auth.png\"\u003e\n\n## **Update_Booking:**\n Update method is used to send a PUT or PATCH request to a server to modify existing data or resources. It allows users to update specific fields or properties of a resource without replacing the entire resource, ensuring efficient and targeted updates to the server's data.\n \n \u003cimg width=\"675\" alt=\"Updatebooking\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Update_Booking.png\"\u003e\n\n## **Verify_Update:**\nverify update request API\" is used to confirm the successful update of a resource. It involves sending a PUT or PATCH request to modify the resource and then sending a subsequent GET request to ensure that the changes have been applied correctly on the server. This verification step helps ensure the accuracy and completion of the update process.\n\n \u003cimg width=\"675\" alt=\"Verifyupdate\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Verify_Update.png\"\u003e\n\n## **Delete_Booking:**\nDelete method is used to send a request to a server or API endpoint to remove a specific resource. It allows users to delete data entries, records, or other resources from the server's database or storage, effectively removing them from the system.\n\n\u003cimg width=\"675\" alt=\"Delete\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Delete_Booking.png\"\u003e\n\n## **Verify_Delete:**\nVerify delete method\" is typically used to confirm the successful deletion of a resource. It involves sending a DELETE request to remove the resource and then sending a subsequent GET request to ensure that the resource has been properly deleted from the server. This verification step helps ensure the accuracy and completion of the deletion process.\n\n\u003cimg width=\"675\" alt=\"Verifydelete\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Verify_Delete.png\"\u003e\n\n## **Postman_Environment**\nEnvironment is used to store and manage variables that can be used across requests in a collection. It allows users to define values such as URLs, API keys, and authentication tokens once and use them dynamically in multiple requests, making it easier to manage and maintain API tests and configurations.\n\n\u003cimg width=\"675\" alt=\"Environment\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Postman_Environment.png\"\u003e\n\n## **Newman_RunCommand**\nNewman Run Command is used to execute API collections from the command line using the Newman tool. It allows users to automate the execution of tests, run them in CMD pipelines, and generate detailed reports, enhancing the efficiency and scalability of API testing processes.\n\n\u003cimg width=\"675\" alt=\"Newman_RunComand\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Newman_Command.png\"\u003e\n\n## **Newman_Report**\nNewman report\" feature is used to generate detailed test reports for API collections run using the Newman command-line tool. It provides a summary of test results, including pass/fail statuses, response times, and error details, allowing users to analyze and share test results with team members or stakeholders.\n\n\u003cimg width=\"675\" alt=\"Newman_Report\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Newman_Summery_Report.png\"\u003e\n\n\u003cimg width=\"675\" alt=\"Newman_Report2\" src=\"https://github.com/Anik16298/Booking_API/blob/907ced4acdaad7f80325023b7fceaf143cec5c98/Screen_Shot/Postman_Report.png\"\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanik16298%2Fbooking-api-using-postman-with-newman-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanik16298%2Fbooking-api-using-postman-with-newman-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanik16298%2Fbooking-api-using-postman-with-newman-report/lists"}