Forum Discussion

stewmoon's avatar
stewmoon
Occasional Contributor
7 years ago

RequestFilter.filterRequest Script applied to only specific Test Cases

hello,   I have a Project in SoapUI that contains lots of Test Cases.  I have created a Event Handler Script to add a Header to the Rest Requests that uses the RequestFilter.filterRequest Event.  ...
  • nmrao's avatar
    nmrao
    7 years ago

    stewmoon, Here you go:

     

    if (!context.testCase.name.endsWith("forbidden") {
    
     //Have your logic here
    }