Skip to content

Feature Request: Add a Retry Mechanism for API Tests #1

Description

@flamewalker103-commits

Enhancement Proposal

It would be beneficial to implement a retry mechanism for API tests within the framework. This feature would help improve the reliability of test results by allowing tests to be retried upon failure due to transient issues (e.g., network glitches, temporary server unavailability).

Suggested Implementation:

  • Integrate a retry logic in the TestNG test configuration.
  • Allow a configurable number of retries for each test case.
  • Provide logging for retries so that the reasons for failures can be monitored.

Benefits:

  • Increased test reliability and stability.
  • Helps differentiate between consistent failures and transient issues.

This feature would enhance the framework's robustness in real-world testing scenarios. Let me know if there's a specific approach you'd prefer for implementing this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions