hi, i seem to have an issue an issue with the SUT planner.
the issue is sporadic and it doesn't always happen.
unfortunaly no data is written to the jsystem log.
the last line i see is 'ROOT' stating i chose to add system object to the root element
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
some more info.
the issue seems to happen only in my project. when i use the test project that comes with jsystem there is no problem.
i suspect the issue is related to System objects i added like DB so or webdriver so
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
just looked at the log. i see an exception but i dont know if its connected...
Jan 23, 2014 8:27:33 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title SUT editing ...
Jan 23, 2014 8:27:33 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title Loading sources...
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file runnerState.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.RunProperties <init>
INFO: create run properties at :C:\jsystem\runner.run.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/jsystem/runner/.run.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.RunProperties loadProperties
CONFIG: load run properties at :C:\jsystem\runner.run.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/jsystem/runner/.run.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.RunProperties loadProperties
CONFIG: load run properties at :C:\jsystem\runner.run.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file runnerState.properties
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.RunnerEngineManager resetConnectionListener
FINE: Monitor stopped
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.RunnerEngineManager resetConnectionListener
FINE: Engine set
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.ConnectionListener$ConnectionMonitor run
INFO: Connection monitor thread is up...
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.ConnectionListener connect
INFO: Connected to agent.
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.RunnerEngineManager resetConnectionListener
FINE: Connected
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.scenario.JTestContainer <init>
FINE: JTest container : scenarios/default
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.sut.SutFactory init
FINE: Use sut file: UPDTestSUT.xml
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.scenario.RunnerTest loadParameters
FINE: Unknown parameter type: junit.framework.TestResult for: TestResult
Jan 23, 2014 8:30:47 PM jsystem.utils.PerformanceUtil endMeasure
INFO: Loading scenario: scenarios/default Took 0.164 seconds.
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:49 PM jsystem.utils.UploadRunner validateUrl
FINE: Failed validating url http://localhost:8080/report-service/index.html
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:213)
at sun.net.www.http.HttpClient.New(HttpClient.java:300)
at sun.net.www.http.HttpClient.New(HttpClient.java:316)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
at jsystem.utils.UploadRunner.validateUrl(UploadRunner.java:107)
at jsystem.treeui.TestTreeView.validateUrl(TestTreeView.java:691)
at jsystem.treeui.TestTreeView.validateUrl(TestTreeView.java:698)
at jsystem.treeui.TestTreeView.refreshOpenReportsButton(TestTreeView.java:721)
at jsystem.treeui.TestTreeView.createToolBar(TestTreeView.java:451)
at jsystem.treeui.TestTreeView.<init>(TestTreeView.java:214)
at jsystem.treeui.TestRunner.startRunner(TestRunner.java:152)
at jsystem.framework.launcher.Launcher2.run(Launcher2.java:78)
at jsystem.framework.launcher.Launcher2.main(Launcher2.java:31)
Jan 23, 2014 8:30:49 PM jsystem.utils.PerformanceUtil endMeasure
INFO: Loading all assets tree Took 0.447 seconds.
Jan 23, 2014 8:30:49 PM jsystem.utils.PerformanceUtil endMeasure
INFO: Collecting System objects Took 0.003 seconds.
Jan 23, 2014 8:30:50 PM jsystem.treeui.TestRunner$1 run
FINE: Splash Screen Closed
Jan 23, 2014 8:30:54 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title SUT editing ...
Jan 23, 2014 8:30:54 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title Loading sources...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
a bit more info...
after going through all dependencies and removing one by one i found two dependencies that cause the SUT planner to get stuck when pressing the add SO button:
the first one is related to the webdriver SO. which was set as a dependency in my tests project. according to the readme file on git, this dependency must be added since:
"Since WebDriver is no longer provider with the system object one must
specify it in the project POM file "
second one in related to jmeter api which i added to my system objects project inorder to create a jmeter SO
i can spare the jmeter dependency for now as this is still in development but the webdriver api is crucial to our tests...
hope you have an answer..
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, i seem to have an issue an issue with the SUT planner.
the issue is sporadic and it doesn't always happen.
unfortunaly no data is written to the jsystem log.
the last line i see is 'ROOT' stating i chose to add system object to the root element
some more info.
the issue seems to happen only in my project. when i use the test project that comes with jsystem there is no problem.
i suspect the issue is related to System objects i added like DB so or webdriver so
Do you see any messages in the JSystem console?
More information that might shade some light on this can be found in the jsystem0.log.
just looked at the log. i see an exception but i dont know if its connected...
Jan 23, 2014 8:27:33 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title SUT editing ...
Jan 23, 2014 8:27:33 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title Loading sources...
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file runnerState.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.RunProperties <init>
INFO: create run properties at :C:\jsystem\runner.run.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/jsystem/runner/.run.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.RunProperties loadProperties
CONFIG: load run properties at :C:\jsystem\runner.run.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file .testdir.tmp
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/jsystem/runner/.run.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.RunProperties loadProperties
CONFIG: load run properties at :C:\jsystem\runner.run.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file runnerState.properties
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.RunnerEngineManager resetConnectionListener
FINE: Monitor stopped
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.RunnerEngineManager resetConnectionListener
FINE: Engine set
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.ConnectionListener$ConnectionMonitor run
INFO: Connection monitor thread is up...
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.ConnectionListener connect
INFO: Connected to agent.
Jan 23, 2014 8:30:47 PM jsystem.treeui.client.RunnerEngineManager resetConnectionListener
FINE: Connected
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.scenario.JTestContainer <init>
FINE: JTest container : scenarios/default
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils savePropertiesToFile
FINEST: Saving properties to file C:\jsystem\runner\jsystem.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.sut.SutFactory init
FINE: Use sut file: UPDTestSUT.xml
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:47 PM jsystem.framework.scenario.RunnerTest loadParameters
FINE: Unknown parameter type: junit.framework.TestResult for: TestResult
Jan 23, 2014 8:30:47 PM jsystem.utils.PerformanceUtil endMeasure
INFO: Loading scenario: scenarios/default Took 0.164 seconds.
Jan 23, 2014 8:30:47 PM jsystem.utils.FileUtils loadPropertiesFromFile
FINEST: Loading properties from file C:/Users/doron/svn-workspace/jsystem/AmobeeTests/target/classes/scenarios/default.properties
Jan 23, 2014 8:30:49 PM jsystem.utils.UploadRunner validateUrl
FINE: Failed validating url http://localhost:8080/report-service/index.html
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:213)
at sun.net.www.http.HttpClient.New(HttpClient.java:300)
at sun.net.www.http.HttpClient.New(HttpClient.java:316)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
at jsystem.utils.UploadRunner.validateUrl(UploadRunner.java:107)
at jsystem.treeui.TestTreeView.validateUrl(TestTreeView.java:691)
at jsystem.treeui.TestTreeView.validateUrl(TestTreeView.java:698)
at jsystem.treeui.TestTreeView.refreshOpenReportsButton(TestTreeView.java:721)
at jsystem.treeui.TestTreeView.createToolBar(TestTreeView.java:451)
at jsystem.treeui.TestTreeView.<init>(TestTreeView.java:214)
at jsystem.treeui.TestRunner.startRunner(TestRunner.java:152)
at jsystem.framework.launcher.Launcher2.run(Launcher2.java:78)
at jsystem.framework.launcher.Launcher2.main(Launcher2.java:31)
Jan 23, 2014 8:30:49 PM jsystem.utils.PerformanceUtil endMeasure
INFO: Loading all assets tree Took 0.447 seconds.
Jan 23, 2014 8:30:49 PM jsystem.utils.PerformanceUtil endMeasure
INFO: Collecting System objects Took 0.003 seconds.
Jan 23, 2014 8:30:50 PM jsystem.treeui.TestRunner$1 run
FINE: Splash Screen Closed
Jan 23, 2014 8:30:54 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title SUT editing ...
Jan 23, 2014 8:30:54 PM jsystem.treeui.WaitDialog launchWaitDialog
FINE: WaitDialog - launching waitDialog with title Loading sources...
a bit more info...
after going through all dependencies and removing one by one i found two dependencies that cause the SUT planner to get stuck when pressing the add SO button:
the first one is related to the webdriver SO. which was set as a dependency in my tests project. according to the readme file on git, this dependency must be added since:
"Since WebDriver is no longer provider with the system object one must
specify it in the project POM file "
second one in related to jmeter api which i added to my system objects project inorder to create a jmeter SO
i can spare the jmeter dependency for now as this is still in development but the webdriver api is crucial to our tests...
hope you have an answer..
thanks
sorry.. now with the dependencies...
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.39.0</version>
</dependency>
<dependency>
<groupId>org.apache.jmeter</groupId>
<artifactId>ApacheJMeter_parent</artifactId>
<version>2.10</version>
<type>pom</type>
</dependency>