Forum Discussion

mayureshjehurka's avatar
mayureshjehurka
New Contributor
14 years ago

Cannot execute testrunner.bat using winrs

Hi,
As a part of our soapUI automation framework, we are executing a set of test cases using the soapUI Testrunner.

When we execute this on the local machine it runs fine.

But when we execute this using winrs from a remote machine (or even use winrs on localhost) it shows an exception.

The winrs below command triggers the ConsoleApplication
C:\Users\Administrator>winrs -r:localhost -u:username -p:password "C:\Program Files (x86)\...\ConsoleApplication.exe" TestExecutionXml.xml TestPass-SoapUI

Following result is displayed

Enter the password for 'administrator' to connect to 'localhost':
C:\Users\Administrator>cd C:\Program Files (x86)\eviware\soapUI-Pro-3.6\bin

C:\Program Files (x86)\eviware\soapUI-Pro-3.6\bin>C:

C:\Program Files (x86)\eviware\soapUI-Pro-3.6\bin>testrunner.bat -s "SCS API" -r -a -j -f "C:\Users\Administrator\AppData\Local\Automation\ReportDir\Reports\soap_2011_12_22_18_09_11\SoapUI1" -RTestCase -FXML -S "C:\qa-testing\trunk\A4_UnifiedWebServices-SDP-2-2_SCS-UWS-API.xml"
?# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?
#
# Internal Error (allocation.cpp:117), pid=3812, tid=4524
# Error: ChunkPool::allocate
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode windows-x86 )
# An error report file with more information is saved as:
# C:\Program Files (x86)\eviware\soapUI-Pro-3.6\bin\hs_err_pid3812.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#


Attached is the file found in C:\Program Files (x86)\eviware\soapUI-Pro-3.6\bin\hs_err_pid3812.log


Please let us know the possible reason for this ASAP.
We are stuck in our project as remote execution is a MUST have.

Awaiting response.

Mayuresh Jehurkar

2 Replies

  • I have a tendency to write unit tests that are a little more invasive than they need to be; these tests make sure that not only are the results as expected but also that as many of the side-effects and interactions with other objects are as expected as well. So, for example, in my current WebSockets development for The Server Framework I have some tests which test that the correct data is delivered to the client of the API that I'm developing and also test that the API interacts with its buffer allocator correctly and doesn't leak memory.
  • william

    No idea what you are saying. Are you referring to my specific query?

    I am looking for some solution or response to this issue very eagerly.
    Please help