Forum Discussion

prashobkt's avatar
prashobkt
Contributor
9 years ago

how can i make "RequestFilter.filterRequest" to run with in a test case not the entire project

Hi,

 

SoapUI ver: 5.1.2

 

scenario: Data driven automation testing.

 

I have a test case in which the request should be modified dynamically before being sent, so i used the "RequestFilter.filterRequest" event in project level.  our project has 3 test suites , in that only one test case is having this requirement.

 

How can i implement this to run for single test case.

 

Is there any way i can implement it using the groovy script within the test case. 

  • Even if you go granular, it may be applicable for the specific operations. So you can change the request based on request operation is matching.
  • nmrao's avatar
    nmrao
    Champion Level 3
    Even if you go granular, it may be applicable for the specific operations. So you can change the request based on request operation is matching.