Forum Discussion

cakrit's avatar
cakrit
New Contributor
16 years ago

[SOLVED]NullPointerException during load test execution

Case: Simple asynchronous interface with only two steps in the test case:
- A single request
- A single mock response to accept the asynchronous response

The case case works fine, every time. Load tests with even a single thread return the exception shown below. I have attached the project file.


Thu Sep 17 10:26:17 EEST 2009:INFO:Disabling logs during loadtests
Thu Sep 17 10:26:18 EEST 2009:INFO:Started mockService [Mock Response] on port [11001] at path [/soapapi_response]
Thu Sep 17 10:26:18 EEST 2009:INFO:Mounted WSDL for interface [SFLResponsepxBinding] at [/soapapi_response?WSDL]
Thu Sep 17 10:26:20 EEST 2009:DEBUG:HttpConnectionManager.getConnection:  config = HostConfiguration[host=http://192.168.254.39:44280], timeout = 0
Thu Sep 17 10:26:20 EEST 2009:DEBUG:Allocating new connection, hostConfig=HostConfiguration[host=http://192.168.254.39:44280]
Thu Sep 17 10:26:20 EEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://192.168.254.39:44280]
Thu Sep 17 10:26:20 EEST 2009:DEBUG:Notifying no-one, there are no waiting threads
Thu Sep 17 10:26:20 EEST 2009:ERROR:Exception during Test Execution
   java.lang.NullPointerException
    at com.eviware.soapui.impl.wsdl.teststeps.WsdlMockResponseTestStep.internalRun(WsdlMockResponseTestStep.java:393)
    at com.eviware.soapui.impl.wsdl.teststeps.WsdlMockResponseTestStep.run(WsdlMockResponseTestStep.java:379)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:197)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:128)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:137)
    at com.eviware.soapui.impl.wsdl.loadtest.WsdlLoadTestRunner$InternalTestCaseRunner.run(WsdlLoadTestRunner.java:516)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Thu Sep 17 10:26:20 EEST 2009:INFO:Stopped MockService [Mock Response] on port [11001]
  • Hi!

    thanks for reporting.. is this with the latest 3.0.1 build/version?

    regards!

    /ole
    eviware.com
  • cakrit's avatar
    cakrit
    New Contributor
    Yes, just downloaded it and started using it two days ago. Great job, by the way! It's a wonderful tool!
  • Hi,

    ok.. upcoming nightly build has a NP check for this.. let me know how it works!

    regards,

    /Ole
    eviware.com