Forum Discussion

fderunes's avatar
fderunes
Occasional Contributor
11 years ago

LoadTest Override tab issue

hi,

I am doing a loadTest with severals steps, and I use multiple different endpoints.
I DO NOT need to use the overrides Tab and its Default environment.

But when I execute the Launch LoadTestRunner within the UI, it adds the -E option and it result with many errors like:

java.lang.Exception: Environment with name [Default] is missing in Project [XXX]
at com.eviware.soapui.impl.support.EndpointSupportPro.getRequestEndpoint(SourceFile:96)
at com.eviware.soapui.SoapUIProLoadTestRunner.prepareRequestStep(SourceFile:146)
at com.eviware.soapui.tools.AbstractSoapUITestRunner.beforeStep(AbstractSoapUITestRunner.java:217)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runBeforeSteps(AbstractTestCaseRunner.java:282)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:230)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:43)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Is there a way to disable or remove the Overrides?
  • Hi,

    Is there a way to disable or remove the Overrides?


    From the UI, no. You can run loadtestrunner from the command line where you can specify what options you want, please see link below. I also do not know why you do not have a "Default" environment since it is supposed to be created by default.


    http://www.soapui.org/Test-Automation/c ... tests.html


    Regards,
    Marcus
    SmartBear Support
  • fderunes's avatar
    fderunes
    Occasional Contributor
    Within loadtestrunner I can omit the option and it works good.
    Although I don't need a default environment, I don't know either why I don't have one.
    Where do you set a default environment in the UI?
  • Hi,

    Try checking the test case and test suite to see if you have Default environment specified and you can run those effectively. You should see "Default" in a drop down.


    Regards,
    Marcus
    SmartBear Support