Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hi Stanislav,
What I can notice is that the way your instantiating your context does not give that context any knowledge of the runner (therefore i_context.getTestRunner()=null and because of that you get NullPointerException).
For a hint how WsdlTestCaseRunner can be instantiated look at the source code of WsdlLoadTestRunner#InternalTestCaseRunner#run() method:
and since your test case is known (hard-coded even) you should be able to all the test steps until the last one.
I hope this hint will move you in the right direction. Let us know how it went.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla
What I can notice is that the way your instantiating your context does not give that context any knowledge of the runner (therefore i_context.getTestRunner()=null and because of that you get NullPointerException).
For a hint how WsdlTestCaseRunner can be instantiated look at the source code of WsdlLoadTestRunner#InternalTestCaseRunner#run() method:
runner = new WsdlTestCaseRunner( testCase, new StringToObjectMap() );
and since your test case is known (hard-coded even) you should be able to all the test steps until the last one.
I hope this hint will move you in the right direction. Let us know how it went.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla
Related Content
Recent Discussions
- 15 years ago