soapuimaheshk
15 years agoOccasional Contributor
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
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