我有一个带有负载测试的工作项目。
def loadTest = testRunner.testCase.testSuite.project.getTestSuiteByName("Load").getTestCaseByName(testCaseSelect).getLoadTestByName(loadTestSelect)
loadTest.run().waitUntilFinished()
我试过了
def testResults = loadTest.getStatistics()
testResults.exportToCsv("C:/Users/tester/Desktop/statistics.csv")
但我收到错误:
groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.loadtest.WsdlLoadTest.getStatistics() is applicable for argument types: () values: [] Possible solutions: getStatisticsModel() error at line: 92
我询问了 ChatGPT,但任何解决方案都不起作用(也许我的提示不正确:))