ERROR AUT could not be started, because no valid Java JRE was specified [message #1228901] |
Wed, 08 January 2014 10:07  |
Eclipse User |
|
|
|
Hi,
I've the following Problem: If I ussing a config file like:
config_windows.xml
<configuration>
<project>Auto_Test_DOXiS4_CSB_Mandant_Initial</project>
<version>1.3</version>
<autconfig>CSB_Admin_Client@sst-jubula</autconfig>
<dburl>jdbc:oracle:thin:@swt-willert-7:1521:TESTJUBULA</dburl>
<dbuser>Jubula</dbuser>
<dbpw>JUBULA12345</dbpw>
<server>qa-willert-3</server>
<port>60003</port>
<language>en_US</language>
<testsuite>Auto_Test_DOXiS4_CSB_Mandant_Initial</testsuite>
<datadir>.</datadir>
<resultdir>.</resultdir>
</configuration>
and start testexec -c config_windows.xml
the following error occurs:
Wed Jan 08 10:27:35 CET 2014 Using configuration file:
c:\Utils\Jubula\jubula\config_windows.xml
Wed Jan 08 10:27:37 CET 2014 AUT Agent: Connecting to "qa-willert-3:60003" ...
Wed Jan 08 10:27:38 CET 2014 AUT Agent: connection established.
Wed Jan 08 10:27:38 CET 2014 Database: Connecting as "Jubula" to "jdbc:oracle:thin:@swt-willert-7:1521:TESTJUBULA"...
Wed Jan 08 10:27:41 CET 2014 Database: Connection established.
Wed Jan 08 10:27:41 CET 2014 Database: Loading project "Auto_Test_DOXiS4_CSB_Mandant_Initial" in version "1.3"...
Wed Jan 08 10:27:42 CET 2014 Database: Project loading completed.
Wed Jan 08 10:27:42 CET 2014 Project: Checking completeness
Wed Jan 08 10:27:42 CET 2014 Checking completeness of Test Suite "Auto_Test_DOXiS4_CSB_Mandant_Initial"...
Wed Jan 08 10:27:42 CET 2014 AUT: Starting AUT: CSB_Admin_Client
!!Error occurred !!
AUT could not be started, because no valid Java JRE was specified
Wed Jan 08 10:27:48 CET 2014 AUT Agent: connection closed.
Wed Jan 08 10:27:48 CET 2014 Exit: Code 1
The same Project in the command line works:
c:\Utils\Jubula\jubula>C:\Utils\Jubula\jubula\testexec.exe -project Auto_Test_DOXiS4_CSB_Mandant_Initial -version 1.3 -dburl jdbc:oracle:thin:@swt-willert-7:1521:TESTJUBULA -dbuser Jubula -dbpw JUBULA12345 -server qa-willert-3 -port 60003 -language en_US -autconfig CSB_Admin_Client@qa-willert-3 -tes
tsuite Auto_Test_DOXiS4_CSB_Mandant_Initial -resultdir c:\\tmp\\mandant -datadir C:\\Users\\willert\\workspace
Wed Jan 08 10:29:51 CET 2014 AUT Agent: Connecting to "qa-willert-3:60003" ...
Wed Jan 08 10:29:51 CET 2014 AUT Agent: connection established.
Wed Jan 08 10:29:52 CET 2014 Database: Connecting as "Jubula" to "jdbc:oracle:thin:@swt-willert-7:1521:TESTJUBULA"...
Wed Jan 08 10:29:53 CET 2014 Database: Connection established.
Wed Jan 08 10:29:53 CET 2014 Database: Loading project "Auto_Test_DOXiS4_CSB_Mandant_Initial" in version "1.3"...
Wed Jan 08 10:29:54 CET 2014 Database: Project loading completed.
Wed Jan 08 10:29:54 CET 2014 Project: Checking completeness
Wed Jan 08 10:29:54 CET 2014 Checking completeness of Test Suite "Auto_Test_DOXiS4_CSB_Mandant_Initial"...
Wed Jan 08 10:29:54 CET 2014 AUT: Starting AUT: CSB_Admin_Client
Wed Jan 08 10:30:01 CET 2014 Start Test Suite: Auto_Test_DOXiS4_CSB_Mandant_Initial
Wed Jan 08 10:30:01 CET 2014 Executing Test Suite "Auto_Test_DOXiS4_CSB_Mandant_Initial"...
Wed Jan 08 10:30:01 CET 2014 Preparing execution of Test Suite "Auto_Test_DOXiS4_CSB_Mandant_Initial"...
Wed Jan 08 10:30:01 CET 2014 AUT: Connecting to "CSB_Admin_Client_3"...
Wed Jan 08 10:30:05 CET 2014 AUT: Connection established.
Wed Jan 08 10:30:05 CET 2014 Resolving predefined Variables
Wed Jan 08 10:30:05 CET 2014 Resolving Test Steps to execute...
Wed Jan 08 10:30:05 CET 2014 Activating AUT...
Wed Jan 08 10:30:05 CET 2014 Test Suite "Auto_Test_DOXiS4_CSB_Mandant_Initial" execution...
Wed Jan 08 10:30:05 CET 2014 Test Case: Activate CSB client
Wed Jan 08 10:30:05 CET 2014 Step: activate AUT
and so on
testexec runs on a Windows 7 maschine
AUT runs in VM Ware on Windows 8 server
What can I do, to use the config file without error?
Regards
Dirk
|
|
|
|
|
|
Re: ERROR AUT could not be started, because no valid Java JRE was specified [message #1697313 is a reply to message #1697242] |
Wed, 03 June 2015 06:22   |
Eclipse User |
|
|
|
Hi Sara,
Thanks for your question. Which version of Jubula are you using?
Is the AUT configuration startable on the machine you're running testexec on? It could be the case that paths you have entered in your W4_Composer@localhost are not valid on this machine.
Also, is it intentional that you are using a Test Job? If you only have one AUT to test, it would probably make more sense to have a Test Suite that contains individual Test Cases for each use case you're testing. Test Jobs are mostly used for switching between AUTs in a test.
Let me know if this helps!
Alex
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03743 seconds