Skip to content

MaverickMolko/api_stand_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ API Testing Project: User Creation Validation

This project contains automation tests for the new user creation functionality via the /api/v1/users/ endpoint on the Stand service.

The main objective is to guarantee the correct validation of the "firstName" parameter according to specifications, ensuring user data integrity.


๐Ÿ“‚ Project Structure

The code follows the Single Responsibility Principle for easy maintainability and scalability:

  • configuration.py: Contains the base URL (URL_SERVICE) and the routes for the endpoints.
  • data.py: Contains the test request bodies (payloads) and the request headers.
  • sender_stand_request.py: Functions for sending all HTTP requests (POST/GET) to the API.
  • create_user_test.py: Main module with all validation tests for the firstName parameter (positive and negative cases).

๐Ÿ› ๏ธ Requirements and Setup

To run the tests, Python 3.x and the necessary libraries are required.

Dependency Installation

Install the pytest and requests packages using pip:

pip install pytest requests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages