1.

Using Groovy Script, get the test case name in SoapUI.

Answer»

There are TWO options to achieve the above in SoapUI. They are as FOLLOWS:

  • Method One: In Groovy CODE, put the name of the testCase being run by Run TEST Case (The one it directs to) into a testCase LEVEL property variable in it:
testRunner.testCase.setPropertyValue("Here",testRunner.testCase.getName());
  • Method Two:
${=testRunner.testCase.name}


Discussion

No Comment Found