'testexec hang-up, after AUT ends' & 'end autrun correctly' [message #892223] |
Wed, 27 June 2012 12:43 |
Nils L Messages: 3 Registered: June 2012 |
Junior Member |
|
|
Hello everybody,
I'm using Jubula with autrun,testexec, MYSQL on Windows 2008, to test a Swing Appplication. My problem is, that after the testjob ends the AUT, the testexec hang-up with 'AUT: Connection Closed' and the autrun.exe is still started
My Configuration:
SET JUBULAPATH=C:\Program Files (x86)\jubula_6.0.00072
SET SLEEP=E:\lvsBusinessIntegrationTest\Trunk\testtools\sleep.exe
start /MIN "Autrun LVS CLient" "%JUBULAPATH%\server\autrun.exe" -w C:\LVS -a localhost -p 60000 -swing -k de_DE -i LVSClient -e 'LVS Client.exe'
%SLEEP% 20
"%JUBULAPATH%\jubula\testexec.exe" -project LVS -version 4.1 -server makaria -port 60000 -autconfig LVSClient -resultdir C:\Users\SQL2000\workspace\testresults -language de_DE -dbscheme Jubula -dbuser jubula -dbpw jubula -datadir C:\Users\SQL2000\workspace\testdata -data C:\Users\SQL2000\workspace -testjob tjSimpleLoginLogout
The autrun starts the AUT and the Testjob logging into the AUT and ends the application.
The cmd output looks like this (after 10min a timeout occured):
C:\temp>SET JUBULAPATH=C:\Program Files (x86)\jubula_6.0.00072
C:\temp>SET SLEEP=E:\lvsBusinessIntegrationTest\Trunk\testtools\sleep.exe
C:\temp>start /MIN "Autrun LVS CLient" "C:\Program Files (x86)\jubula_6.0.00072\server\autrun.exe" -w C:\LVS
-a localhost -p 60000 -swing -k de_DE -i LVSClient -e 'LVS Client.exe'
C:\temp>E:\lvsBusinessIntegrationTest\Trunk\testtools\sleep.exe 20
C:\temp>"C:\Program Files (x86)\jubula_6.0.00072\jubula\testexec.exe" -project LVS -version 4.1 -server localhost -port 60
000 -autconfig LVSClient -resultdir C:\Users\SQL2000\workspace\testresults -language de_DE -dbscheme Jubula -dbuser jubu
la -dbpw jubula -datadir C:\Users\SQL2000\workspace\testdata -data C:\Users\SQL2000\workspace -testjob tjSimpleLoginLogout
Wed Jun 27 14:22:55 CEST 2012 AUT Agent: Connecting to "localhost:60000" ...
Wed Jun 27 14:22:56 CEST 2012 AUT Agent: connection established.
Wed Jun 27 14:22:56 CEST 2012 Database: Connecting as "jubula" to "jdbc:mysql://rabbit:3306/jubula"...
Wed Jun 27 14:22:59 CEST 2012 Database: Connection established.
Wed Jun 27 14:23:00 CEST 2012 Database: Loading project "LVS" in version "4.1"...
Wed Jun 27 14:23:08 CEST 2012 Database: Project loading completed.
Wed Jun 27 14:23:08 CEST 2012 Project: Checking completeness
Wed Jun 27 14:23:08 CEST 2012 Start Test Job: tjSimpleLoginLogout
Wed Jun 27 14:23:08 CEST 2012 Executing Test Suite "tsLVSClientLogin"...
Wed Jun 27 14:23:08 CEST 2012 Preparing execution of Test Suite "tsLVSClientLogin"...
Wed Jun 27 14:23:08 CEST 2012 AUT: Connecting to "LVSClient"...
Wed Jun 27 14:23:13 CEST 2012 AUT: Connection established.
Wed Jun 27 14:23:14 CEST 2012 Resolving predefined Variables
Wed Jun 27 14:23:14 CEST 2012 Resolving Test Steps to execute...
Wed Jun 27 14:23:14 CEST 2012 Test Suite "tsLVSClientLogin" execution...
Wed Jun 27 14:23:14 CEST 2012 Test Case: LVS_Login
Wed Jun 27 14:23:14 CEST 2012 Test Case: Login_URL
Wed Jun 27 14:23:14 CEST 2012 Step: replace text
Wed Jun 27 14:23:15 CEST 2012 Test Case: Login_Name
Wed Jun 27 14:23:15 CEST 2012 Step: replace text
Wed Jun 27 14:23:16 CEST 2012 Test Case: Login_Passwort
Wed Jun 27 14:23:16 CEST 2012 Step: replace text
Wed Jun 27 14:23:16 CEST 2012 Test Case: Login_OK
Wed Jun 27 14:23:16 CEST 2012 Test Case: ub_grc_clickLeft
Wed Jun 27 14:23:16 CEST 2012 Test Case: ub_grc_click
Wed Jun 27 14:23:16 CEST 2012 Step: click
Wed Jun 27 14:23:19 CEST 2012 End of Test Suite
Wed Jun 27 14:23:19 CEST 2012 Writing Report into Filesystem
Wed Jun 27 14:23:19 CEST 2012 Writing Report to Database
Wed Jun 27 14:23:20 CEST 2012 AUT: Disconnected.
Wed Jun 27 14:23:20 CEST 2012 Executing Test Suite "tsLVSClientLogout"...
Wed Jun 27 14:23:20 CEST 2012 Preparing execution of Test Suite "tsLVSClientLogout"...
Wed Jun 27 14:23:20 CEST 2012 AUT: Connecting to "LVSClient"...
Wed Jun 27 14:23:22 CEST 2012 AUT: Connection established.
Wed Jun 27 14:23:23 CEST 2012 Resolving predefined Variables
Wed Jun 27 14:23:23 CEST 2012 Resolving Test Steps to execute...
Wed Jun 27 14:23:23 CEST 2012 Test Suite "tsLVSClientLogout" execution...
Wed Jun 27 14:23:23 CEST 2012 Test Case: LVS_Logout
Wed Jun 27 14:23:23 CEST 2012 Test Case: LVS_Button_F12_Klicken
Wed Jun 27 14:23:23 CEST 2012 Test Case: Main_Klicken_F12
Wed Jun 27 14:23:23 CEST 2012 Test Case: ub_grc_clickLeft
Wed Jun 27 14:23:23 CEST 2012 Test Case: ub_grc_click
Wed Jun 27 14:23:23 CEST 2012 Step: click
Wed Jun 27 14:23:25 CEST 2012 Test Case: Logout_Button_Ja_klicken
Wed Jun 27 14:23:25 CEST 2012 Test Case: ub_grc_clickLeft
Wed Jun 27 14:23:25 CEST 2012 Test Case: ub_grc_click
Wed Jun 27 14:23:25 CEST 2012 Step: click
Wed Jun 27 14:23:26 CEST 2012 AUT: Disconnected.
!!Error occurred !!
5006: Timeout occurred.
Wed Jun 27 14:33:25 CEST 2012 Writing Report into Filesystem
Wed Jun 27 14:33:26 CEST 2012 Writing Report to Database
Wed Jun 27 14:33:26 CEST 2012 AUT Agent: connection closed.
Wed Jun 27 14:33:26 CEST 2012 Exit: Code 1
My questions:
Q1) How do I end the testexec (the AUT) correctly, so that the testexec ends 'just in time'?
Q2) How do I end the autrun? Is there a better way, than simple kill the autrun.exe Process via Windows commands?
Q3) Is there a better way to verify, if autrun has started the AUT completly? (At the moment I'm using a stupid 'sleep 20sec' command in the cmd file )
Many thanks for help
Nils
[Updated on: Wed, 27 June 2012 12:54] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05044 seconds