import com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext

CURRENT_TESTCASE = testRunner.testCase
TEST_SUITE = CURRENT_TESTCASE.parent

def testStep = TEST_SUITE.getTestCaseByName('TestCase').getTestStepByName('Login')

def testStepContext = new WsdlTestRunContext(testStep)
def result = testStep.run(testRunner, testStepContext)

log.info result.responseContent

 soapui-使用groovy脚本执行用例请求

结果:

soapui-使用groovy脚本执行用例请求

 

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-05-18
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-28
  • 2021-09-12
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案