Ошибка outofmemory при запуски тестов SoapUI через TestRunner

testrunner
soapui
Теги: #<Tag:0x00007fedbb030100> #<Tag:0x00007fedbb031870>

(Tatyana Durova) #1

При запуске тестов через TestRunner получаю ошибку

`Running Ready! API TestRunner for [cutwise-test-project]
directory: C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin.
command: cmd.exe /C testrunner.bat -scollector_smoke_testsuite “-cheaders TestCase” “-RTestCase Report” “-EDefault environment” C:\repos\cutwiseApiTests

  • No base packages specified - no classpath scanning will be done
  • Hibernate Validator 4.1.0.Final
  • Adding module 'com.smartbear.ready.cmd.CommandLineModule
    Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\soapui-log4j.xml]
    11:37:35,446 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
    11:37:35,446 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\sqljdbc4.jar] to extensions classpath
    11:37:35,607 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\tatya_000\soapui-settings.xml]
    11:37:35,713 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [C:\Program Files\SmartBear\ReadyAPI-1.3.1\bin\scripts]
    11:37:35,713 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\listeners\demo-listeners.xml]
    11:37:36,763 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-api-git-plugin-1.0.jar]
    11:37:37,076 INFO [PluginManager] 1 plugins loaded in 314 ms
    11:37:37,076 INFO [DefaultSoapUICore] All plugins loaded
    Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\soapui-log4j.xml]
    11:37:37,642 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
    11:37:37,642 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\sqljdbc4.jar] to extensions classpath
    11:37:37,643 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\tatya_000\soapui-settings.xml]
    11:37:37,646 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\listeners\demo-listeners.xml]
    11:37:37,739 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-api-git-plugin-1.0.jar]
    11:37:37,902 INFO [PluginManager] 1 plugins loaded in 163 ms
    11:37:37,902 INFO [DefaultSoapUICore] All plugins loaded
    Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Unknown Source)
    at java.lang.String.(Unknown Source)
    at java.lang.StringBuilder.toString(Unknown Source)
    at com.eviware.soapui.impl.support.loadsave.CompositeProjects.c(CompositeProjects.java:495)
    at com.eviware.soapui.impl.support.loadsave.CompositeProjects.loadCompositeProjectFile(CompositeProjects.java:197)
    at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.a(UrlWsdlLoaderPro.java:35)
    at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.handleFile(UrlWsdlLoaderPro.java:27)
    at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader.load(UrlClientLoader.java:132)
    at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader.load(UrlClientLoader.java:111)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.b(WsdlProjectPro.java:538)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:352)
    at com.eviware.soapui.impl.wsdl.WsdlProject.(WsdlProject.java:260)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.(WsdlProjectPro.java:179)
    at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:90)
    at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:378)
    at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:356)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:98)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78)
    `

Как починить?


(Михаил Братухин) #2

Хотел бы и подсказать, но ReadyAPI не использовал.
А запускаете как? Через консоль или из GUI через меню “Launch TestRunner”?

Попробуйте отредактировать файл testrunner.bat (или sh для линуксов):
параметры джава-машины

rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties “-Dsoapui.home=%SOAPUI_HOME%”

увеличив значение памяти. А через GUI данные тесты работают нормально?


(Tatyana Durova) #3

ReadyAPI = SoapiUI, это одно и тоже можно сказать…

Настройки вроде изменила, сейчас java фактически отжирает чуть ли не 8 ГБ, но ошибка осталась

`Running Ready! API TestRunner for [cutwise-test-project]
directory: C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin.
command: cmd.exe /C testrunner.bat “-sStones sorts only one request fancy limit 20” -r “-RTestSuite Report” -Estaging C:\repos\cutwiseApiTests

  • No base packages specified - no classpath scanning will be done
  • Hibernate Validator 4.1.0.Final
  • Adding module 'com.smartbear.ready.cmd.CommandLineModule
    Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\soapui-log4j.xml]
    20:03:18,550 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
    20:03:18,550 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\ext\sqljdbc4.jar] to extensions classpath
    20:03:18,913 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\tatya_000\soapui-settings.xml]
    20:03:19,035 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\listeners\demo-listeners.xml]
    20:03:21,800 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-jira-plugin-1.0.jar]
    20:03:21,800 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-api-git-plugin-1.0.jar]
    20:03:21,801 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-uxm-plugin-1.0.jar]
    20:03:21,967 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-mqtt-plugin-dist.jar]
    20:03:22,118 INFO [PluginManager] 4 plugins loaded in 319 ms
    20:03:22,118 INFO [DefaultSoapUICore] All plugins loaded
    Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\soapui-log4j.xml]
    20:03:22,723 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
    20:03:22,724 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\ext\sqljdbc4.jar] to extensions classpath
    20:03:22,724 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\tatya_000\soapui-settings.xml]
    20:03:22,725 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\listeners\demo-listeners.xml]
    20:03:24,280 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-jira-plugin-1.0.jar]
    20:03:24,280 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-api-git-plugin-1.0.jar]
    20:03:24,282 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-uxm-plugin-1.0.jar]
    20:03:24,432 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-mqtt-plugin-dist.jar]
    20:03:24,627 INFO [PluginManager] 4 plugins loaded in 347 ms
    20:03:24,627 INFO [DefaultSoapUICore] All plugins loaded
    Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Unknown Source)
    at java.lang.String.(Unknown Source)
    at java.lang.StringBuilder.toString(Unknown Source)
    at com.eviware.soapui.impl.support.loadsave.CompositeProjects.c(CompositeProjects.java:495)
    at com.eviware.soapui.impl.support.loadsave.CompositeProjects.loadCompositeProjectFile(CompositeProjects.java:197)
    at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.a(UrlWsdlLoaderPro.java:35)
    at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.handleFile(UrlWsdlLoaderPro.java:27)
    at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader.load(UrlClientLoader.java:132)
    at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader.load(UrlClientLoader.java:111)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.b(WsdlProjectPro.java:538)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:352)
    at com.eviware.soapui.impl.wsdl.WsdlProject.(WsdlProject.java:259)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.(WsdlProjectPro.java:179)
    at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:90)
    at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:378)
    at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:356)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:98)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78)
    `

(Михаил Братухин) #4

ключ -s в название не уполз?


(Tatyana Durova) #5

Новая сериях ошибок:
`впишите текст сюда; at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c6229c78> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c6229c78> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at com.google.inject.internal.util.$Finalizer.run(Finalizer.java:114)

“Timer-0” #12 prio=5 os_prio=0 tid=0x000000001e1d8800 nid=0x1490 in Object.wait() [0x000000001f16f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c622a3d8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x00000006c622a3d8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

“Message dispatcher” #11 daemon prio=5 os_prio=0 tid=0x000000001e1fc000 nid=0x27d0 waiting on condition [0x000000001f06e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c6274480> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus$1.run(AbstractSyncAsyncMessageBus.java:54)
at java.lang.Thread.run(Unknown Source)

“Message dispatcher” #10 daemon prio=5 os_prio=0 tid=0x000000001e1fb000 nid=0x2774 waiting on condition [0x000000001ef6f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c6274480> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus$1.run(AbstractSyncAsyncMessageBus.java:54)
at java.lang.Thread.run(Unknown Source)

“Service Thread” #9 daemon prio=9 os_prio=0 tid=0x000000001d0d7000 nid=0xf8c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C1 CompilerThread2” #8 daemon prio=9 os_prio=2 tid=0x000000001b76a000 nid=0x23cc waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C2 CompilerThread1” #7 daemon prio=9 os_prio=2 tid=0x000000001b763800 nid=0xbe4 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C2 CompilerThread0” #6 daemon prio=9 os_prio=2 tid=0x000000001b761800 nid=0x644 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Attach Listener” #5 daemon prio=5 os_prio=2 tid=0x000000001b75f000 nid=0xb18 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Signal Dispatcher” #4 daemon prio=9 os_prio=2 tid=0x000000001b75e000 nid=0x3b8 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Finalizer” #3 daemon prio=8 os_prio=1 tid=0x000000001b748800 nid=0x23b8 in Object.wait() [0x000000001ca9f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c614c5a0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c614c5a0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

“Reference Handler” #2 daemon prio=10 os_prio=2 tid=0x000000001b71d800 nid=0xa4c in Object.wait() [0x000000001c99f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c63589b8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
- locked <0x00000006c63589b8> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

“VM Thread” os_prio=2 tid=0x000000001b717800 nid=0x1e04 runnable

“GC task thread#0 (ParallelGC)” os_prio=0 tid=0x0000000002327800 nid=0x500 runnable

“GC task thread#1 (ParallelGC)” os_prio=0 tid=0x0000000002329000 nid=0x2704 runnable

“GC task thread#2 (ParallelGC)” os_prio=0 tid=0x000000000232a800 nid=0x1614 runnable

“GC task thread#3 (ParallelGC)” os_prio=0 tid=0x000000000232c000 nid=0x1d4c runnable

“VM Periodic Task Thread” os_prio=2 tid=0x000000001d176800 nid=0x264c waiting on condition

JNI global references: 272

Heap
PSYoungGen total 920576K, used 93855K [0x000000076cb00000, 0x00000007c0000000, 0x00000007c0000000)
eden space 492544K, 19% used [0x000000076cb00000,0x00000007726a7c88,0x000000078ac00000)
from space 428032K, 0% used [0x00000007a5a80000,0x00000007a5a80000,0x00000007bfc80000)
to space 436224K, 0% used [0x000000078ac00000,0x000000078ac00000,0x00000007a5600000)
ParOldGen total 2731008K, used 2218570K [0x00000006c6000000, 0x000000076cb00000, 0x000000076cb00000)
object space 2731008K, 81% used [0x00000006c6000000,0x000000074d692968,0x000000076cb00000)
Metaspace used 37531K, capacity 38094K, committed 38616K, reserved 1083392K
class space used 5098K, capacity 5287K, committed 5336K, reserved 1048576K

2016-05-21 02:03:47
Full thread dump Java HotSpot™ 64-Bit Server VM (25.74-b02 mixed mode):

“Thread-31” #56 prio=5 os_prio=0 tid=0x000000001e106800 nid=0x2764 waiting on condition [0x000000002744e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c62a6c80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“Thread-30” #55 prio=5 os_prio=0 tid=0x000000001e105800 nid=0x2474 waiting on condition [0x000000002734e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c62a6c80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“Thread-29” #52 prio=5 os_prio=0 tid=0x000000001ead2000 nid=0x10d0 waiting on condition [0x000000002623e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c62a6c80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“DestroyJavaVM” #51 prio=5 os_prio=0 tid=0x000000001ead1800 nid=0x13f8 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Thread-28” #50 prio=5 os_prio=0 tid=0x000000001ead6000 nid=0x1b64 waiting on condition [0x000000002613e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c62a6c80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“FileWatchdog” #49 daemon prio=5 os_prio=0 tid=0x000000001ead3800 nid=0x1474 waiting on condition [0x000000002603f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)

“Thread-16” #33 prio=5 os_prio=0 tid=0x000000001ead4800 nid=0x10d8 waiting on condition [0x000000002209f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c62a6c80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“Thread-15” #32 prio=5 os_prio=0 tid=0x000000001ead0000 nid=0x25f8 in Object.wait() [0x0000000021f9e000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c65ac7d8> (a com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread.run(SoapUIMultiThreadedHttpConnectionManager.java:80)
- locked <0x00000006c65ac7d8> (a com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread)

“FileWatchdog” #31 daemon prio=5 os_prio=0 tid=0x000000001ead5000 nid=0x11b8 waiting on condition [0x0000000021a9f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)

“AWT-Windows” #29 daemon prio=6 os_prio=0 tid=0x000000001eacf000 nid=0xafc runnable [0x00000000208ff000]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Java2D Disposer” #27 daemon prio=10 os_prio=2 tid=0x000000001ead0800 nid=0x1750 in Object.wait() [0x00000000204ff000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c63573a0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c63573a0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Timer-1” #25 prio=5 os_prio=0 tid=0x000000001eb11000 nid=0x1210 in Object.wait() [0x000000001feae000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c6229680> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x00000006c6229680> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

“com.google.inject.internal.util.$Finalizer” #16 daemon prio=5 os_prio=0 tid=0x000000001e16e800 nid=0x23d0 in Object.wait() [0x000000001f9ae000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c6229c78> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c6229c78> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at com.google.inject.internal.util.$Finalizer.run(Finalizer.java:114)

“Timer-0” #12 prio=5 os_prio=0 tid=0x000000001e1d8800 nid=0x1490 in Object.wait() [0x000000001f16f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c622a3d8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x00000006c622a3d8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

“Message dispatcher” #11 daemon prio=5 os_prio=0 tid=0x000000001e1fc000 nid=0x27d0 waiting on condition [0x000000001f06e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c6274480> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus$1.run(AbstractSyncAsyncMessageBus.java:54)
at java.lang.Thread.run(Unknown Source)

“Message dispatcher” #10 daemon prio=5 os_prio=0 tid=0x000000001e1fb000 nid=0x2774 waiting on condition [0x000000001ef6f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c6274480> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus$1.run(AbstractSyncAsyncMessageBus.java:54)
at java.lang.Thread.run(Unknown Source)

“Service Thread” #9 daemon prio=9 os_prio=0 tid=0x000000001d0d7000 nid=0xf8c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C1 CompilerThread2” #8 daemon prio=9 os_prio=2 tid=0x000000001b76a000 nid=0x23cc waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C2 CompilerThread1” #7 daemon prio=9 os_prio=2 tid=0x000000001b763800 nid=0xbe4 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C2 CompilerThread0” #6 daemon prio=9 os_prio=2 tid=0x000000001b761800 nid=0x644 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Attach Listener” #5 daemon prio=5 os_prio=2 tid=0x000000001b75f000 nid=0xb18 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Signal Dispatcher” #4 daemon prio=9 os_prio=2 tid=0x000000001b75e000 nid=0x3b8 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Finalizer” #3 daemon prio=8 os_prio=1 tid=0x000000001b748800 nid=0x23b8 in Object.wait() [0x000000001ca9f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c614c5a0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c614c5a0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

“Reference Handler” #2 daemon prio=10 os_prio=2 tid=0x000000001b71d800 nid=0xa4c in Object.wait() [0x000000001c99f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c63589b8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
- locked <0x00000006c63589b8> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

“VM Thread” os_prio=2 tid=0x000000001b717800 nid=0x1e04 runnable

“GC task thread#0 (ParallelGC)” os_prio=0 tid=0x0000000002327800 nid=0x500 runnable

“GC task thread#1 (ParallelGC)” os_prio=0 tid=0x0000000002329000 nid=0x2704 runnable

“GC task thread#2 (ParallelGC)” os_prio=0 tid=0x000000000232a800 nid=0x1614 runnable

“GC task thread#3 (ParallelGC)” os_prio=0 tid=0x000000000232c000 nid=0x1d4c runnable

“VM Periodic Task Thread” os_prio=2 tid=0x000000001d176800 nid=0x264c waiting on condition

JNI global references: 272

Heap
PSYoungGen total 920576K, used 93855K [0x000000076cb00000, 0x00000007c0000000, 0x00000007c0000000)
eden space 492544K, 19% used [0x000000076cb00000,0x00000007726a7c88,0x000000078ac00000)
from space 428032K, 0% used [0x00000007a5a80000,0x00000007a5a80000,0x00000007bfc80000)
to space 436224K, 0% used [0x000000078ac00000,0x000000078ac00000,0x00000007a5600000)
ParOldGen total 2731008K, used 2218570K [0x00000006c6000000, 0x000000076cb00000, 0x000000076cb00000)
object space 2731008K, 81% used [0x00000006c6000000,0x000000074d692968,0x000000076cb00000)
Metaspace used 37531K, capacity 38094K, committed 38616K, reserved 1083392K
class space used 5098K, capacity 5287K, committed 5336K, reserved 1048576K

также, отключить форматирование текста можно, начав строку с четырех пробелов`


(Tatyana Durova) #6

Вот лог

`Microsoft Windows [Version 10.0.10586]
© 2015 Microsoft Corporation. All rights reserved.

C:\Users\tatya_000>cd “C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin”

C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin>testrunner.bat -s “Stones sorts only one request fancy limit 20” “-cListing check sort by color for fancy desc” -r “-RTestCase Report” -Estaging C:\repos\cutwiseApiTests

  • No base packages specified - no classpath scanning will be done
  • Hibernate Validator 4.1.0.Final
  • Adding module 'com.smartbear.ready.cmd.CommandLineModule
    Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\soapui-log4j.xml]
    02:19:07,601 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
    02:19:07,605 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\sqljdbc4.jar] to extensions classpath
    02:19:07,765 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\tatya_000\soapui-settings.xml]
    02:19:07,868 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [C:\Program Files\SmartBear\ReadyAPI-1.7.0-m-SNAPSHOT\bin\scripts]
    02:19:07,872 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\listeners\demo-listeners.xml]
    02:19:10,244 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-jira-plugin-1.0.jar]
    02:19:10,244 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-api-git-plugin-1.0.jar]
    02:19:10,247 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-uxm-plugin-1.0.jar]
    02:19:10,409 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-mqtt-plugin-dist.jar]
    02:19:10,556 INFO [PluginManager] 4 plugins loaded in 314 ms
    02:19:10,557 INFO [DefaultSoapUICore] All plugins loaded
    Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\soapui-log4j.xml]
    02:19:10,957 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
    02:19:10,960 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\ext\sqljdbc4.jar] to extensions classpath
    02:19:10,964 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\tatya_000\soapui-settings.xml]
    02:19:10,967 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.7.0\bin\listeners\demo-listeners.xml]
    02:19:12,391 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-jira-plugin-1.0.jar]
    02:19:12,391 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-api-git-plugin-1.0.jar]
    02:19:12,396 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-uxm-plugin-1.0.jar]
    02:19:12,532 INFO [PluginManager] Adding plugin from [C:\Users\tatya_000.soapui\plugins\ready-mqtt-plugin-dist.jar]
    02:19:12,713 INFO [PluginManager] 4 plugins loaded in 322 ms
    02:19:12,714 INFO [DefaultSoapUICore] All plugins loaded
    Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Unknown Source)
    at java.lang.String.(Unknown Source)
    at java.lang.StringBuilder.toString(Unknown Source)
    at com.eviware.soapui.impl.support.loadsave.CompositeProjects.c(CompositeProjects.java:495)
    at com.eviware.soapui.impl.support.loadsave.CompositeProjects.loadCompositeProjectFile(CompositeProjects.java:197)
    at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.a(UrlWsdlLoaderPro.java:35)
    at com.eviware.soapui.impl.support.wsdl.UrlWsdlLoaderPro.handleFile(UrlWsdlLoaderPro.java:27)
    at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader.load(UrlClientLoader.java:132)
    at com.eviware.soapui.impl.wsdl.support.wsdl.UrlClientLoader.load(UrlClientLoader.java:111)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.b(WsdlProjectPro.java:538)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:352)
    at com.eviware.soapui.impl.wsdl.WsdlProject.(WsdlProject.java:259)
    at com.eviware.soapui.impl.wsdl.WsdlProjectPro.(WsdlProjectPro.java:179)
    at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:90)
    at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:378)
    at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:356)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:98)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257)
    at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82)
    at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78)
    2016-05-21 02:20:10
    Full thread dump Java HotSpot™ 64-Bit Server VM (25.74-b02 mixed mode):

“DestroyJavaVM” #51 prio=5 os_prio=0 tid=0x000000001ea55000 nid=0x2574 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Thread-28” #50 prio=5 os_prio=0 tid=0x000000001ea53800 nid=0x256c waiting on condition [0x00000000261be000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c61481a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“FileWatchdog” #49 daemon prio=5 os_prio=0 tid=0x000000001ea58000 nid=0xdb8 waiting on condition [0x00000000260be000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)

“Thread-16” #33 prio=5 os_prio=0 tid=0x000000001ea54000 nid=0x23b8 waiting on condition [0x000000002210e000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c61481a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(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)

“Thread-15” #32 prio=5 os_prio=0 tid=0x000000001ea59800 nid=0x1a30 in Object.wait() [0x000000002200e000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c64deff8> (a com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread.run(SoapUIMultiThreadedHttpConnectionManager.java:80)
- locked <0x00000006c64deff8> (a com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread)

“FileWatchdog” #31 daemon prio=5 os_prio=0 tid=0x000000001ea58800 nid=0x276c waiting on condition [0x0000000021b0e000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)

“AWT-Windows” #29 daemon prio=6 os_prio=0 tid=0x000000001ea55800 nid=0x2158 runnable [0x000000002090f000]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Java2D Disposer” #27 daemon prio=10 os_prio=2 tid=0x000000001ea57000 nid=0x93c in Object.wait() [0x000000002050f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c6012730> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c6012730> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Timer-1” #25 prio=5 os_prio=0 tid=0x000000001e863800 nid=0x1480 in Object.wait() [0x000000001feef000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c6019168> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x00000006c6019168> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

“com.google.inject.internal.util.$Finalizer” #16 daemon prio=5 os_prio=0 tid=0x000000001e509800 nid=0x1df4 in Object.wait() [0x000000001f9ef000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c60060d0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c60060d0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at com.google.inject.internal.util.$Finalizer.run(Finalizer.java:114)

“Timer-0” #12 prio=5 os_prio=0 tid=0x000000001e3fc000 nid=0x2728 in Object.wait() [0x000000001f1af000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c600bd48> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x00000006c600bd48> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

“Message dispatcher” #11 daemon prio=5 os_prio=0 tid=0x000000001e448800 nid=0x1508 waiting on condition [0x000000001f0ae000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c6006288> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus$1.run(AbstractSyncAsyncMessageBus.java:54)
at java.lang.Thread.run(Unknown Source)

“Message dispatcher” #10 daemon prio=5 os_prio=0 tid=0x000000001e3e7000 nid=0x7dc waiting on condition [0x000000001efaf000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c6006288> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus$1.run(AbstractSyncAsyncMessageBus.java:54)
at java.lang.Thread.run(Unknown Source)

“Service Thread” #9 daemon prio=9 os_prio=0 tid=0x000000001d110000 nid=0x279c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C1 CompilerThread2” #8 daemon prio=9 os_prio=2 tid=0x000000001b7c6800 nid=0x1214 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C2 CompilerThread1” #7 daemon prio=9 os_prio=2 tid=0x000000001b7c3800 nid=0x1290 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“C2 CompilerThread0” #6 daemon prio=9 os_prio=2 tid=0x000000001b7c1800 nid=0x1310 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Attach Listener” #5 daemon prio=5 os_prio=2 tid=0x000000001b7bf000 nid=0xe18 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Signal Dispatcher” #4 daemon prio=9 os_prio=2 tid=0x000000001b7bd800 nid=0x20cc waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“Finalizer” #3 daemon prio=8 os_prio=1 tid=0x000000001b7a7000 nid=0x1080 in Object.wait() [0x000000001cafe000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c600c7b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000006c600c7b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

“Reference Handler” #2 daemon prio=10 os_prio=2 tid=0x000000001b77b800 nid=0x1a84 in Object.wait() [0x000000001c9fe000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006c600c968> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
- locked <0x00000006c600c968> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

“VM Thread” os_prio=2 tid=0x000000000245e800 nid=0x246c runnable

“GC task thread#0 (ParallelGC)” os_prio=0 tid=0x0000000002387800 nid=0x26e0 runnable

“GC task thread#1 (ParallelGC)” os_prio=0 tid=0x0000000002389000 nid=0x2218 runnable

“GC task thread#2 (ParallelGC)” os_prio=0 tid=0x000000000238a800 nid=0x13ac runnable

“GC task thread#3 (ParallelGC)” os_prio=0 tid=0x000000000238c000 nid=0x2044 runnable

“VM Periodic Task Thread” os_prio=2 tid=0x000000001d1b4800 nid=0x269c waiting on condition

JNI global references: 229

Heap
PSYoungGen total 910336K, used 28083K [0x000000076cb00000, 0x00000007c0000000, 0x00000007c0000000)
eden space 455680K, 6% used [0x000000076cb00000,0x000000076e66cd78,0x0000000788800000)
from space 454656K, 0% used [0x0000000788800000,0x0000000788800000,0x00000007a4400000)
to space 454656K, 0% used [0x00000007a4400000,0x00000007a4400000,0x00000007c0000000)
ParOldGen total 2731008K, used 2218605K [0x00000006c6000000, 0x000000076cb00000, 0x000000076cb00000)
object space 2731008K, 81% used [0x00000006c6000000,0x000000074d69b630,0x000000076cb00000)
Metaspace used 36312K, capacity 36770K, committed 37464K, reserved 1081344K
class space used 4915K, capacity 5082K, committed 5208K, reserved 1048576K

`


(Михаил Братухин) #7

Еще раз 2 вопроса:

  1. Из GUI тест проходит?
  2. Запуск из консоли как делаете? Через Lauch TestRunner пробовали?

(Tatyana Durova) #8

Да, из GUI все отлично работает. Пробывала запускать tetrrunner из GUI интерфейса - тоже ошибка, причем кстати некоторые отдельные тесткейсы работают (возможно, совсем легкие).

Мне кажется проблема в самих тесткейсах…

Еще, если имеет значение - проект композитный (в виде папки и кучи файлов, а не одной xml).

Памяти уже добавляла, там сейчас под 8 гигов отжирается при запуске…


(Михаил Братухин) #9

Очень странно, что в приведенных ранее логах вызов был с явными ошибками в параметрах, типа ключ внутри названия TestSuit’а и т.п.

А галочку вот эту ставили?

Еще из вопросов:

  1. запускаете весь проект? TestSuite или отдельный TestCase?
  2. для работы тестов нужно поднимать мок-сервисы?

С распределенными проектами к сожалению не работал. Это фишки из платных версий ПО. Но у нас платную так и не смогли приобрести. Еще из вариантов проблем вспоминаю работу с несколькими проектами, у меня когда-то были тесты, которые внутри себя вызывали другие тесты из другого проекта. Все они лежали внутри одного Workspace и из GUI это успешно работало. Но вот при запуске через консоль были проблемы. Скорее всего в скриптах нужно было указывать как-то еще и проектный файл и т.д. В итоге я просто внес нужные сценарии, используемые внутри других сценариев в этот же проект и все заработало без лишних переписываний. Так себе решение, но времени на все тупо не хватало.

P.S. у SmartBear часть команды и их QA команда, занимающаяся SoapUI NG/Ready!API, если я не ошибаюсь находится в России. Если найду e-mail их ТМ’а, то может можно будет и его привлечь в решению проблемы. В community https://community.smartbear.com/ пробовали также обращаться? Правда там все на английском.


(Михаил Братухин) #10

Пробовал на домашнем компе простой примерчик из их поставки на версии SoapUI 5.2.1 прогнать, все прошло нормально:

Running SoapUI TestRunner for [Sample REST Project]
directory: C:\SoapUI-5.2.1\bin.
command: cmd.exe /C testrunner.bat -s"Test account creation" -i C:\Users\USER\SoapUI-Tutorials\Sample-REST-Project-soapui-project.xml
Configuring log4j from [C:\SoapUI-5.2.1\bin\soapui-log4j.xml]
20:02:30,614 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\USER\soapui-settings.xml]
20:02:30,962 INFO [PluginManager] 0 plugins loaded in 0 ms
20:02:30,962 INFO [DefaultSoapUICore] All plugins loaded
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SoapUI 5.2.1 TestCase Runner
20:02:31,415 INFO [WsdlProject] Loaded project from [file:/C:/Users/USER/SoapUI-Tutorials/Sample-REST-Project-soapui-project.xml]
20:02:31,418 INFO [SoapUITestCaseRunner] Running SoapUI tests in project [Sample REST Project]
20:02:31,418 INFO [SoapUITestCaseRunner] Running TestSuite [Test account creation], runType = SEQUENTIAL
20:02:31,425 INFO [SoapUITestCaseRunner] Running SoapUI testcase [accountcreation TestCase]
20:02:31,429 INFO [SoapUITestCaseRunner] running step [View Form]
20:02:31,534 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
20:02:31,534 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: GET /accountcreation HTTP/1.1
20:02:31,561 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 200 OK
20:02:31,563 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive indefinitely
20:02:31,637 INFO [SoapUITestCaseRunner] running step [Submit Account Details]
20:02:31,644 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
20:02:31,645 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
20:02:31,645 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: POST /accountcreation HTTP/1.1
20:02:31,646 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 200 OK
20:02:31,646 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive indefinitely
20:02:31,649 INFO [SoapUITestCaseRunner] Finished running SoapUI testcase [accountcreation TestCase], time taken: 88ms, status: FINISHED
20:02:31,649 INFO [SoapUITestCaseRunner] TestSuite [Test account creation] finished with status [FINISHED] in 228ms

Еще есть вариант с проблемами с правами пользователя в Windows, особенно актуально при работе из Program Files и/или какими-то специфичными путями к проекту/модулям (русские имена, спец. символы и т.д.). Если перенести в другое место, дать права, то будет также себя вести?


(Tatyana Durova) #11

У меня все в одном проекте, но есть тесты, которым перед запуском нужно выполнить какие то кейсы из другого Testsuite, надеюсь это не критично. Есть обращение к БД в некоторых тестах, есть goto шаги, использование groovy скриптов.

Галочку не ставила вроде, с ней есть шансы на взлет? Попробую…

На форум и в саппорт к ним тоже напишу, но в пн наверное только.


(Михаил Братухин) #12

Нашлось в итоге решение? Или же “забили” на проблему? Может даже отказались от SoapUI?


(Tatyana Durova) #13

Переписываюсь с их саппортом, решение для всех кейсов не нашлось, какие то кейсы так и запускаются нормально, какие то - никак не хотят. В ближайшее время буду пробывать другой подход в автомтизации АПИ.