RaresCode / Peviitor-Postman

Upload and Test jobs on the Peviitor API with postman using collection runner and newman

Home Page:https://peviitor.ro/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Peviitor API with Postman

This project is designed to test the process of uploading jobs through scrapers-ui, ensuring the integrity of the data. The primary focus is on validating job details such as title, city, county, and link in the Peviitor API. To achieve this goal, the project will leverage Postman, a widely-used API testing tool renowned for its effectiveness in conducting efficient tests, automating processes, and validating API endpoints.

Features

The project incorporates the following key features:

  • API Testing: In-depth testing of API Responses to increase data accuracy and reliability through multiple assertions.
  • Data Validation: Verification of the scraped data against the information available in the Peviitor API.
  • Collection and Newman Integration: Ability to run the entire collection through collection runner and newman for efficient execution and monitoring of tests.
  • Jenkins Pipeline Script: Seamless integration with Jenkins through a dedicated pipeline script for automated testing
  • Data-Driven Testing: Implementation of data-driven testing to enhance test coverage and flexibility.
  • HTML Reporting through Newman: Utilization of Newman for HTML reporting, providing clear insights into test results.
  • Data Export from Collection Run Results: Easy extraction and export of data from collection run results in json format for further analysis and reporting.

Collection Runner Test Run

collection.runner.1.mp4

Newman Test Run

Newman.Run.mp4

Newman HTML Report

newman

Setup

To get started with the project, follow these steps:

  • Clone the Repository: Start by cloning this repository to your local machine.

  • Import Postman Collection: Import the provided Postman collection into your Postman workspace.

  • Configure Environment: Set up the necessary environment variables within Postman to match your testing environment.

  • Execute Tests: Run the tests with attached data using Postman's Collection Runner or Newman, depending on your preference. Keep in mind that for newman you need to install node.js and newman

  • Review Reports: Examine the HTML reports generated by Newman for a detailed analysis of test results.

  • Explore Jenkins Integration: If using Jenkins, refer to the provided pipeline script for seamless integration into your CI/CD pipeline.

  • Data Export: Extract relevant data from the collection run results for additional analysis or reporting.

About

Upload and Test jobs on the Peviitor API with postman using collection runner and newman

https://peviitor.ro/

License:MIT License


Languages

Language:HTML 100.0%