For the complete documentation index, see llms.txt. This page is also available as Markdown.

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)

Area
JIRA
Summary

Run Context Utilities

MOSIP-43255

Added run context utilities in BaseTestCase and DB manager to prefix execution context dynamically in test execution.

Multi-Device Pre-Registration

MOSIP-43301

Added utilities to support parallel pre-registration execution across multiple devices with dynamic user, phone, and email generation.

Run Context Keyword Support

MOSIP-43651

Added support for $RUNCONTEXT$ keyword in JSON payloads with automatic substitution in keyword handler.

Partner Identifier Generation

MOSIP-43651

Updated partner name generation to deterministic, context-based identifiers instead of random suffix-based values.

Master Data Context Support

MOSIP-43652

Added utilities for prefixing run context in master data and auto-generated ID handling with improved keyword processing.

Dependency JSON Generation

MOSIP-44097

Added capability to emit dependency JSON files for local runs and globalized dependency JSON path configuration.

Organization Identifier Refactor

MOSIP-44008

Updated organization identifier generation to remove timestamp suffixes, ensuring repeatable identifiers across executions.

External Partner Authentication

MOSIP-44129

Added external partner authentication support and configured AUTH_PARTNER Keycloak user for authentication scenarios.

Context-Aware Keycloak User Creation

MOSIP-44129

Updated Keycloak test user creation to prefix usernames with run context, ensuring unique authentication users across parallel test executions.

PMS Auto-Generated ID Handling

MOSIP-44124

Added auto-generated ID handling across PUT, PATCH, GET flows with path parameters and cookie-based requests.

Form Data Handling Improvements

MOSIP-44280

Improved URL-encoded request handling and added request form-data reporting and certificate caching.

PMS DB Placeholder Support

MOSIP-44124

Added placeholder support in PMS DB scripts

for prefix context substitution.

Repositories Released

Repository
Version

apitest-commons

v1.4.0

Bug Fixes

Bug ID
Description

MOSIP-44180

Fixed email notification validation to read the subject field instead of HTML content for accurate notification verification.

MOSIP-44280

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?