deduijk
16 years agoNew Contributor
Running a loadtest from current/other testcase. ERROR with found script
Hi,
I would like to run a load testcase (either from the current testcase or another testcase).
I have searched the forum, however the script i found in <>
doesn't work for me? It reports an error:
No such property: loadTestRunner for class script 17
I really hope someone can help me with this!
(i dont rly care if it runs the loadtestcase from the current or another testcase)
Thanks in advance!
I would like to run a load testcase (either from the current testcase or another testcase).
I have searched the forum, however the script i found in <>
import com.eviware.soapui.support.types.*
import com.eviware.soapui.impl.wsdl.teststeps.*
import com.eviware.soapui.impl.wsdl.loadtest.*
setup_Testcase = loadTestRunner.loadTest.testCase.testSuite.testCases["SmallDoc FourStreamWarmup TC"]
WsdlLoadTest setup_LoadTest = setup_Testcase.loadTests["FourStreamSmall 30 sec Warmup LT"]
WsdlLoadTestRunner runner = new WsdlLoadTestRunner(setup_LoadTest)
log.info("Running warmup LT: " + setup_LoadTest.name)
runner.start(true)
runner.waitUntilFinished()
log.info("Done with warmup")
doesn't work for me? It reports an error:
No such property: loadTestRunner for class script 17
I really hope someone can help me with this!
(i dont rly care if it runs the loadtestcase from the current or another testcase)
Thanks in advance!