|Can't start testexec (AUT Agent: connection to server failed.) [message #1102972]
||Fri, 06 September 2013 04:57
| Alexander Hoffmann
Registered: July 2013
Hello to everybody visiting this thread,|
I am trying to write a .bat and XML file to run Jubula tests with Jenkins. However, I can't get testexec to work.
I try to run a testsuite from the local embedded database with the local AUT Agent.
My first question: What should I use? autconfig or autid parameter?
Second Question: What should I use? dburl or dbscheme?
Third Question: What is the datadir for? I know it is for testdata, but where do I find it? I am not even sure if I have testdata right now. Can I leave it empty?
This is my testexecConfig.xml right now (I tried a bunch of combinations and values, nothing worked so far):
<!-- <dbscheme>Default Embedded (H2)</dbscheme> -->
<testsuite><entry>EXP VW 001</entry></testsuite>
Even this simple configuration doesn't work. The AUT agent is running and Jubula can connect to it (but during the test, it's disconnected).I get this output:
C:\Users\ahoffmann\workspace\Jubula>"C:\Program Files\jubula_7.1.00054\jubula\testexec" -c C:\Users\ahoffmann\Desktop\testexecConfig.xml
Fri Sep 06 10:33:27 CEST 2013 Using configuration file:
Fri Sep 06 10:34:02 CEST 2013 AUT Agent: Connecting to "localhost:6000" ...
Fri Sep 06 10:34:03 CEST 2013 AUT Agent: connection to server failed.
!!Error occurred !!
Connection to AUT Agent could not be established.
!!Error occurred !!
Connection to AUT Agent has been unexpectedly lost during test execution
Fri Sep 06 10:34:03 CEST 2013 Exit: Code 1
In addition, testexec creates a workspace folder inside my 'workspace\Jubula' workspace. I already changed the workspace path to 'workspace\Jubula\workspace' and copied the .bat file in Jubula to prevent this workspace creation every time.
The next step would be to create a connection to the Jubula database on which I work and get the testsuite from there. But so far I would be happy if even the local configuration would work.
Powered by FUDForum
. Page generated in 0.01457 seconds