Timeout connecting to running AUT [message #1238211] |
Fri, 31 January 2014 17:27 |
James Johnson Messages: 3 Registered: January 2014 |
Junior Member |
|
|
Platform: OS X
Eclipse version: Kepler SR 1
Jubula version: 2.1.1
I have an RCP AUT that I'm launching from within Eclipse. The AUT has the Jubula plugin, and its config.ini file has it set to start, as described in the documentation. After launching the AUT, it appears in the "Running AUTs" view, so I think that's all set up correctly.
However, when I try and run a Test Suite, the system waits for a bit and then comes back with a "7009: Text Execution Error", with details of "Could not connect to AUT". The test suite has a single simple test in it. Here is the error in the log file:
2014-01-31 11:13:30.928 [Worker-3] ERROR o.e.j.c.c.c.AUTConnection - Error occurred while getting components from AUT. Error code: 2
2014-01-31 11:13:30.935 [Worker-3] ERROR o.e.j.c.c.c.AUTConnection - Error occurred while establishing connection to AUT.
org.eclipse.jubula.tools.exception.CommunicationException: could not request components from AUT
at org.eclipse.jubula.client.core.ClientTest.getAllComponentsFromAUT(ClientTest.java:713) ~[org.eclipse.jubula.client.core_2.1.1.201309020759.jar:na]
at org.eclipse.jubula.client.core.communication.AUTConnection.getComponentsFromAut(AUTConnection.java:294) ~[org.eclipse.jubula.client.core_2.1.1.201309020759.jar:na]
at org.eclipse.jubula.client.core.communication.AUTConnection.connectToAut(AUTConnection.java:224) ~[org.eclipse.jubula.client.core_2.1.1.201309020759.jar:na]
at org.eclipse.jubula.client.core.businessprocess.TestExecution.executeTestSuite(TestExecution.java:324) [org.eclipse.jubula.client.core_2.1.1.201309020759.jar:na]
at org.eclipse.jubula.client.core.ClientTest$1.run(ClientTest.java:544) [org.eclipse.jubula.client.core_2.1.1.201309020759.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) [org.eclipse.core.jobs_3.5.300.v20130429-1813.jar:na]
2014-01-31 11:13:30.999 [Awaiting command: class org.eclipse.jubula.client.core.commands.AUTStartedCommand] WARN o.e.j.c.c.commands.AUTStartedCommand - org.eclipse.jubula.client.core.commands.AUTStartedCommand.timeout() called
2014-01-31 11:13:31.004 [Awaiting command: class org.eclipse.jubula.client.core.commands.AUTStartedCommand] ERROR o.e.j.c.c.c.AUTConnection - Error occurred while getting components from AUT. Error code: 1
I've searched the forums and web for problems like this, but they closest I've found is people having problems timing out in the middle of a run of several tests. In this case, it's only one test, and it appears it doesn't even get far enough to initiate it. Has anyone seen this problem before?
|
|
|
Re: Timeout connecting to running AUT [message #1238422 is a reply to message #1238211] |
Sat, 01 February 2014 09:25 |
|
To test AUTs from inside the Eclipse IDE you need to install and use the Jubula Launch Configurations. Just adding the plug-in to the AUT isn't sufficient since the plug-in needs a few runtime configuration parameters. Just define a launch configuration for testing and it should work.
- Achim
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04173 seconds