Forum Discussion
MPleas
10 years agoOccasional Contributor
Paul - Thank you so much for the tip! I sincerely appreciate it!
By any chance do you have further knowledge on that class? I wrote the following basic steps. I can tell that my test case is grabbing properly. When I log the tStepConfig it also has all of the configuration for the test step, including my property transfer that is on the step. However,something is not right with the PropertyTransfersTestStep because I get a null pointer exception when I try to get the count of the transfers.
import com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer
import com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfersTestStep
def tCase = testRunner.testCase.testSuite.testCases[testRunner.testCase.name]
def tStep = tCase.testSteps["PropertyTransfer"]
def tStepConfig = tStep.getConfig()
def propTxfrTestStep = new PropertyTransfersTestStep(tCase,tStepConfig,false)
log.info tCase.name
log.info tStepConfig
log.info propTxfrTestStep.getTransferCount()
By any chance do you have further knowledge on that class? I wrote the following basic steps. I can tell that my test case is grabbing properly. When I log the tStepConfig it also has all of the configuration for the test step, including my property transfer that is on the step. However,something is not right with the PropertyTransfersTestStep because I get a null pointer exception when I try to get the count of the transfers.
import com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer
import com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfersTestStep
def tCase = testRunner.testCase.testSuite.testCases[testRunner.testCase.name]
def tStep = tCase.testSteps["PropertyTransfer"]
def tStepConfig = tStep.getConfig()
def propTxfrTestStep = new PropertyTransfersTestStep(tCase,tStepConfig,false)
log.info tCase.name
log.info tStepConfig
log.info propTxfrTestStep.getTransferCount()
Related Content
Recent Discussions
- 3 days agoemoya
- 3 days agoMyBalanceNow