Forum Discussion

mkrishnan89's avatar
2 years ago

Event Handler for specific Test Suite

Hi, I have a readyAPI project with many testsuites.


some of the test suites need to have a dynamic header (Token/cert etc). While other suites doesn't need them.

I have event handler to insert these headers and clear after each request (RequestFilter.filterRequest && RequestFilter.AfterRequest).

How can i configure event handler to be invoke this only for specific test suites?

1 Reply

  • nmrao's avatar
    Champion Level 3 should give you the current test suite name and you can add a condition to match with the desired suite name. Add the block of code what you wanted to do.