Skip to content

API Automation Framework πŸ“‹ Overview Comprehensive test automation framework for API testing, built with Java. The framework provides robust validation capabilities for JSON/XML responses, schema validation, and multi-environment support.

Notifications You must be signed in to change notification settings

marianamon/rest-api-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

API Automation Framework πŸ“‹ Overview Comprehensive test automation framework for API testing, built with Java. The framework provides robust validation capabilities for JSON/XML responses, schema validation, and multi-environment support.

πŸ—οΈ Architecture

  1. Core Components
  2. Design Patterns
  3. Builder Pattern: ApiRequestBuilder for flexible request construction
  4. Page Object Model: Organized endpoint management
  5. Factory Pattern: Environment and configuration management
  6. Strategy Pattern: Multiple validation approaches

πŸ› οΈ Technology Stack

  1. Core Language Java Main development language
  2. Testing Framework TestNG Test execution and organization
  3. API Testing RestAssured HTTP client and API interactions
  4. Assertions SoftAssert Non-blocking assertion handling
  5. Schema Validation JSON Schema Validator API contract validation
  6. Logging Custom Framework Logger Structured logging and reporting
  7. Build Tool Maven Dependency management
  8. JSON Processing Jackson JSON parsing and manipulation

πŸ”§ Key Features

  1. Multi-Service API Testing
  2. Advanced Validation Framework
  3. Flexible Request Building Response response = new ApiRequestBuilder.Builder() .endpoint(RemedyAdminEndpoints.PROVIDER_LOOKUPS) .method(HttpMethod.GET.name()) .build().send();
  4. Comprehensive Schema Management

:) Test Types

  1. Contract Testing: JSON Schema validation
  2. Integration Testing: Multi-service interactions
  3. Regression Testing: Automated regression suites
  4. Performance Testing: Response time validation

🎯 Validation Capabilities

  1. JSON Schema Validation
  2. Structure Validation: Array/object type checking
  3. Data Type Validation: String, integer, boolean validation
  4. Business Rules: Custom patterns and constraints
  5. Null Handling: Flexible null value support
  6. Response Validation
  7. Status Code Validation: HTTP status verification
  8. Response Time Validation: Performance monitoring
  9. Content Type Validation: MIME type checking
  10. Empty Array Support

About

API Automation Framework πŸ“‹ Overview Comprehensive test automation framework for API testing, built with Java. The framework provides robust validation capabilities for JSON/XML responses, schema validation, and multi-environment support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages