Forum Discussion

soapuimaheshk's avatar
soapuimaheshk
Occasional Contributor
15 years ago

Not able to execute LoadUI 1.0 from command promt

Hi,

I have pro license of 3.6 SOAP UI and I also downloaded Load UI.

I created a SOAP UI test and then using LOAD UI (through UI) I created load test for the same SOAP UI test.

When I run the load UI 1.0 from command.bat with following command. I get the bellow error. Am I missing something here?

The Command:
loadui-cmd.bat -p C:/Users/admin/Documents/ACLoadUIProjec1.xml -t "HelloWorld TestCase" -L 60:0:0 -a 10.70.150.23 -r c:/Rep
orts -F PDF

The Error:
C:\Program Files\eviware\loadUI-1.0
Launching loadUI Build: loadUI-dist-2010-Sep-14-[9] 2010/09/14 17:56
ERROR: Error starting file:/C:/Program%20Files/eviware/loadUI-1.0/bundle/loadui-fx-interface-1.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.fx-interface [25]: Unable to resolve 25.0: missing requirement [25.0] package; (package=com.eviware.loadui.fx) - [25.0] package; (package=com.eviware.loadui.fx))
Configuring log4j from [C:\Program Files\eviware\loadUI-1.0\soapui-log4j.xml]
16:39:35,720 WARN [DefaultSoapUICore] Missing folder [C:\Program Files\eviware\loadUI-1.0\.\ext] for external libraries
16:39:36,015 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\admin\soapui-settings.xml]
16:39:36,160 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Users\admin\Downloads\soapui-pro-3.0.2\bin\scripts]
16:39:36,691 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include
16:39:36,746 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema
16:39:36,748 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace
16:39:36,749 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd
16:39:36,750 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime
16:39:36,751 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xmlmime
16:39:36,753 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/soap/envelope/
16:39:36,756 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/soap/encoding/
16:39:36,758 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/soap-envelope
16:39:36,760 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/soap-encoding
-> Framework started!
Registered descriptor: soapUI Runner
Registered descriptor: soapUI MockService
Registered descriptor: Assertion
Registered descriptor: Delay
Registered descriptor: Fixed Load
Registered descriptor: Fixed Rate
16:39:39,466 DEBUG [AgentDiscoveryImpl] AgentDiscovery started, searching on UDP port: 13572
16:39:39,468 DEBUG [ControllerTest] ControllerTest started!
Registered descriptor: Interval
Registered descriptor: Ramp
Registered descriptor: Random
Registered descriptor: Scheduler
Registered descriptor: Splitter
Registered descriptor: Statistics
Registered descriptor: Table Log
Registered descriptor: Variance
Registered descriptor: Virtual Users
Registered descriptor: Web Page Runner
16:39:40,465 INFO [WorkspaceProviderImpl] Loading workspace from file: C:\Users\admin\.loadui\workspace.xml
16:39:40,880 INFO [WorkspaceItemImpl] Workspace 'WorkspaceItemImpl[label=null]' loaded successfully
16:39:40,880 INFO [WorkspaceItemImpl] Scheduling a garbage collection, for 60 seconds.
16:39:40,903 ERROR [CommandRunner] An error occured when executing the script
groovy.lang.MissingPropertyException: No such property: runners for class: com.eviware.loadui.impl.model.WorkspaceItemImpl
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:49)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
at Script1.run(Script1.groovy:40)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:576)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:614)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
at com.eviware.loadui.cmd.CommandRunner$CommandRunnable.run(CommandRunner.java:86)
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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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)
Stopping Framework...

Thanks,
Mahesh

4 Replies

  • soapuimaheshk's avatar
    soapuimaheshk
    Occasional Contributor
    Thanks Dain

    How do I install the snapshot? Is there a way to upgrade it on windows or should I just replace the exes? I see two exes Load-UI and Load-UI Agent. Do I need both?

    Mahesh
  • Hello,

    You need to run the loadUI-1_0_1-SNAPSHOT.exe to install loadUI (it will launch the installer), just as with the stable version. The agent is only needed for running distributed tests, and then only for the remote machines you wish to distribute the tests to. If you have the loadUI agent installed on any other machines, I would recommend updating those as well to the latest snapshot.

    Regards,
    Dain
    eviware.com
  • soapuimaheshk's avatar
    soapuimaheshk
    Occasional Contributor
    I installed LOADUI 1.0.1 release on windows 7 and I executed SOAPUI runner test using loadui-cmd.bat. All I get is garbage collection logs. Am I missing something? I provided command to have test only for 60 seconds and I am getting only garbage collection logs for last 5 mins. Also there is no report at C:/Reports.

    C:\Program Files\eviware\loadUI-1.0.1>loadui-cmd.bat -p D:\code\nphase\svn\SDP20
    TestAutomationPhase1A\testscript\nPhaseSDP20TestAutomation-WS-soapui-project.xml
    -t "GDCAL001_InvokeWithAllParams" -L 60:0:0 -a 10.70.150.23 -r c:/Reports -F PD
    F
    C:\Program Files\eviware\loadUI-1.0.1
    Launching loadUI Build: loadUI-Dist-2010-10-18-[5] 2010/10/18 15:39
    ERROR: Error starting file:/C:/Program%20Files/eviware/loadUI-1.0.1/bundle/loadu
    i-fx-interface-1.0.1.jar (org.osgi.framework.BundleException: Unresolved constra
    int in bundle com.eviware.loadui.fx-interface [25]: Unable to resolve 25.0: miss
    ing requirement [25.0] package; (package=com.eviware.loadui.fx) - [25.0] package
    ; (package=com.eviware.loadui.fx))
    org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.
    loadui.fx-interface [25]: Unable to resolve 25.0: missing requirement [25.0] pac
    kage; (package=com.eviware.loadui.fx) - [25.0] package; (package=com.eviware.loa
    dui.fx)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)

    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264
    )
    at java.lang.Thread.run(Unknown Source)
    Configuring log4j from [C:\Program Files\eviware\loadUI-1.0.1\soapui-log4j.xml]
    15:50:45,837 WARN [SoapUI] Missing folder [C:\Program Files\eviware\loadUI-1.0.
    1\.\ext] for external libraries
    15:50:46,152 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\User
    s\admin\soapui-settings.xml]
    15:50:47,403 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library t
    o [C:\Users\admin\Downloads\soapui-pro-3.0.2\bin\scripts]
    15:50:47,806 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include

    15:50:47,878 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchem
    a
    15:50:47,882 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace
    15:50:47,885 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1
    /xsd
    15:50:47,889 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xml
    mime
    15:50:47,893 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xml
    mime
    15:50:47,897 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/s
    oap/envelope/
    15:50:47,902 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/s
    oap/encoding/
    15:50:47,906 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/
    soap-envelope
    15:50:47,914 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/r
    esources/xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/
    soap-encoding
    -> Framework started!
    Registered descriptor: soapUI Runner
    Registered descriptor: soapUI MockService
    15:50:49,625 DEBUG [AgentDiscoveryImpl] AgentDiscovery started, searching on UDP
    port: 13572
    15:50:49,708 DEBUG [ControllerTest] ControllerTest started!
    Registered descriptor: Assertion
    Registered descriptor: Delay
    Registered descriptor: Fixed Load
    Registered descriptor: Fixed Rate
    Registered descriptor: Interval
    Registered descriptor: Ramp
    Registered descriptor: Random
    Registered descriptor: Scheduler
    15:50:50,812 INFO [WorkspaceProviderImpl] Loading workspace from file: C:\Users
    \admin\.loadui\workspace.xml
    Registered descriptor: Splitter
    Registered descriptor: Statistics
    Registered descriptor: Table Log
    15:50:51,266 INFO [WorkspaceItemImpl] Workspace 'WorkspaceItemImpl[label=null]'
    loaded successfully
    15:50:51,270 INFO [WorkspaceItemImpl] Scheduling a garbage collection, for 60 s
    econds.
    Registered descriptor: Variance
    Registered descriptor: Virtual Users
    15:50:51,593 INFO [CajoServer] The cajo server is running on localhost:1199/loa
    duiIntegration
    15:50:51,699 INFO [ExecutorManagerImpl] Global Threadpool max size set to 200
    15:50:51,701 INFO [ExecutorManagerImpl] Global Threadpool queue max size set to
    10000
    Registered descriptor: Web Page Runner
    15:51:51,278 INFO [WorkspaceItemImpl] Doing garbage collection!
    15:51:51,429 INFO [WorkspaceItemImpl] Ran Garbage Collection, Free Memory chang
    ed from 101920440 to 117382032, total memory = 130023424
    15:52:51,434 INFO [WorkspaceItemImpl] Doing garbage collection!
    15:52:51,606 INFO [WorkspaceItemImpl] Ran Garbage Collection, Free Memory chang
    ed from 116579104 to 117898264, total memory = 130023424
    15:53:51,613 INFO [WorkspaceItemImpl] Doing garbage collection!
    15:53:51,760 INFO [WorkspaceItemImpl] Ran Garbage Collection, Free Memory chang
    ed from 117689984 to 118018024, total memory = 130023424
    15:54:51,766 INFO [WorkspaceItemImpl] Doing garbage collection!
    15:54:51,908 INFO [WorkspaceItemImpl] Ran Garbage Collection, Free Memory chang
    ed from 117688664 to 118016360, total memory = 130023424

    Thanks,
    Mahesh