Forum Discussion
enliven
16 years agoContributor
Please HELP, Ive have tried to figure out how to provide correct 'testRunner' and 'testRunContext' from loadTestRunner but cant figure it out (i.e.: loadTestRunner.loadTest.testCase.testSteps["TearDown"].run(loadTestRunner..[testRunner], context..[testRunContext])
My need for this is because we have not been successful in using the testCase.tearDown to perform cleanup of data consistantly when using either repetetive testCaseRunner or loadTestRunner so what I have dont is to convert the testCase.tearDown into a testStep['TearDown'] which I disable during loadTest.Setup and then re-enable during loadTest.TearDown BUT i *must* find a way to run the testCase.testStep['TearDown'] during the loadTest.tearDown... whew!!, got all that?? haha
My need for this is because we have not been successful in using the testCase.tearDown to perform cleanup of data consistantly when using either repetetive testCaseRunner or loadTestRunner so what I have dont is to convert the testCase.tearDown into a testStep['TearDown'] which I disable during loadTest.Setup and then re-enable during loadTest.TearDown BUT i *must* find a way to run the testCase.testStep['TearDown'] during the loadTest.tearDown... whew!!, got all that?? haha