Forum Discussion
Jon
16 years agoContributor
If I use:
It results in the same error:
Are those the only two lines required in the groovy code test step?
Note that I'm not using an inner and outer (ie: two) datasource.. just the one datasource which I want to reset to the start for reuse.
I'm using soapUI 2.0.2 Pro TRIAL.
def dataSourceStep = testRunner.testCase.getTestStepByName("Unit DataSource")
dataSourceStep.finish( testRunner, context )
It results in the same error:
Thu May 29 14:59:02 EDT 2008:ERROR:java.lang.NullPointerException: Cannot invoke method finish() on null object
Are those the only two lines required in the groovy code test step?
Note that I'm not using an inner and outer (ie: two) datasource.. just the one datasource which I want to reset to the start for reuse.
I'm using soapUI 2.0.2 Pro TRIAL.
Related Content
- 3 years agoMoUddin
- 3 years agoLucian
- 5 years agompartyka
- 6 years agoamarnath1234
Recent Discussions
- 8 days agoemoya