v1.4.0
Release Name: Api Test Commons Releases
Release Version: 1.4.0
Release Date: Coming Soon!
Overview
We are pleased to announce API Test Commons v1.4.0, a major enhancement release designed to strengthen parallel device execution, test data isolation, and PMS automation capabilities within the MOSIP Functional Test Framework.
This release introduces:
Running context prefixing utilities
Multi-device pre-registration support
Improved auto-generated ID handling
Dependency JSON generation
Enhanced authentication utilities
Improved form-data handling
Version 1.4.0 builds upon v1.3.6 and continues to improve execution consistency, scalability, traceability, and deterministic test data generation across MOSIP module test suites.
Major Highlights (New Developments & Enhancements)
Run Context Utilities
Added run context utilities in BaseTestCase and DB manager to prefix execution context dynamically in test execution.
Multi-Device Pre-Registration
Added utilities to support parallel pre-registration execution across multiple devices with dynamic user, phone, and email generation.
Run Context Keyword Support
Added support for $RUNCONTEXT$ keyword in JSON payloads with automatic substitution in keyword handler.
Partner Identifier Generation
Updated partner name generation to deterministic, context-based identifiers instead of random suffix-based values.
Master Data Context Support
Added utilities for prefixing run context in master data and auto-generated ID handling with improved keyword processing.
Dependency JSON Generation
Added capability to emit dependency JSON files for local runs and globalized dependency JSON path configuration.
Organization Identifier Refactor
Updated organization identifier generation to remove timestamp suffixes, ensuring repeatable identifiers across executions.
External Partner Authentication
Added external partner authentication support and configured AUTH_PARTNER Keycloak user for authentication scenarios.
Context-Aware Keycloak User Creation
Updated Keycloak test user creation to prefix usernames with run context, ensuring unique authentication users across parallel test executions.
PMS Auto-Generated ID Handling
Added auto-generated ID handling across PUT, PATCH, GET flows with path parameters and cookie-based requests.
Form Data Handling Improvements
Improved URL-encoded request handling and added request form-data reporting and certificate caching.
PMS DB Placeholder Support
Added placeholder support in PMS DB scripts
for prefix context substitution.
Repositories Released
apitest-commons
Bug Fixes
Fixed email notification validation to read the subject field instead of HTML content for accurate notification verification.
Fixed form-data handling for non-string values by converting complex objects and arrays to JSON strings for correct API transmission.
Last updated
Was this helpful?