Skip to content

Support Ignoring Response Fields in Black-Box Test Generation for Python Output #1278

@hmahale-ophardt

Description

@hmahale-ophardt

When using EvoMaster in black-box mode for REST APIs and generating Python/unittest output, there is currently no way to ignore or relax assertions for dynamic response fields (e.g., traceId, timestamp, id).
This often causes generated tests to fail due to strict value assertions on fields that are always unique or dynamic.

Feature request: Please add an option—either via CLI flag (e.g., --responseFieldsToIgnore) or configuration file—to specify a list of response fields that should be ignored or only checked for presence/type (not value equality) in generated Python tests, similar to the setResponseFieldsToIgnore feature available in the white-box JVM integrations.

This would save manual patching after test generation and greatly improve black-box test maintainability.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions