Site MapAccessibilityContact Us

Call us at (855) 254-1164 to learn more about Enterprise

PushToTest - Open Source Test

Welcome, Guest
Please Login or Register.    Lost Password?
This is the place for the NOOB. Ask the most basic questions about TestMaker here.
Go to bottomPage: 12
TOPIC: New user issues
#801
New user issues 1 Year, 9 Months ago Karma: 0
Hi,

I have a few issues with PTT and I am very new to it. WE need to simulate a large load on an analysis services cube.

1. I lose the icons in the editor after I have run 1 test. Do you need local admin rights to use PTT.

2. If I edit a scenario I can not run it from the editor. I have to exit the editor, go back to the main PTT app and open the test from there. It seems like the editor and the main app aren't 'talking' to each other.

3. When I try and run more than 2 test nodes they all fail. I get errors saying that port 9999 is already in use in the local test node tab in monitor on test node. I checked and the port is in use by java

4. After first run of a test I get data in all graphs. Every run after I only get data in the graph for real time scalability index.

5. I'm using other work mates computers to run tests. What is a better way of setting up test nodes without going to the cloud. My organisation won't allow that

thanks in advance...
_d_n_o
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#803
Re: New user issues 1 Year, 9 Months ago Karma: 3
Hi,

Before to help you I just like to know the following things:

1) Your OS, arch(32bit/64bit) and patch (Sp2, Sp3) details..
2) JAVA version (JRE) details ..
3) When did you download TestMaker6?
Eshita
Gold Boarder
Posts: 194
graph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#804
Re: New user issues 1 Year, 9 Months ago Karma: 0
Hi,

1. We are in the process of upgrading our machines to Win7 86x (not sure of patche status as we are part of pilot group fir win7 release, but i'd guess we are on sp1), so we have some Win7 machines and some Xp (sp3) machines (XP machines have been patched as per PTT guide).


2.
C:\Documents and Settings\bdbennet>java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)

3. We downloaded TestMaker6 in mid may (19th i think).


Just to add to my previous post. When running more than 1 test node not all test fail all the time. It seems intermittent. I ran a 10 VU load test for 240 minutes against 5 machines last night and only got successfull tests from 1 machine. All tests on all the others failed. I lost the error logs when other people logged on to their machines in the moring.

Running 10 machines today at 5 VU for 5 minutes I noticed some machines failed and some san with limited success. Could this be an issue with my script or the timing of my script.

The application we are testing takes on average 5 seconds to load a page when users change paramaters or drill on data. I have clickAndWait, waitForElement and have set the timeout to 3 minutes (same as our sql connection timeout).

I'm really at a loss as to why 1 virtual user will succeed on any machine but 2 or more will randomly fail.

I have included the scenario in case it helps.

thanks in advance
_d_n_o
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#805
Re: New user issues 1 Year, 9 Months ago Karma: 0
selenese




error dumps

Error setting options for EOP htmlunit: Executable Object Provider not found for htmlunit. Reason com.pushtotest.tm.eop.HtmlunitExecutableObjectProvider

Error setting options for EOP soapui: Executable Object Provider not found for soapui. Reason com/eviware/soapui/model/testsuite/TestRunListener

Unable to unzip sahi home

Unable to start Sahi Server

log4j:WARN No appenders could be found for logger (org.openqa.selenium.server.SeleniumServer).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Unable to start Selenium rc: Selenium is already running on port 5555. Or some other service is.

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pushtotest.tm.executer.Executer.execute(Executer.java:73)

at com.pushtotest.tm.executer.User.runOnce(User.java:225)

at com.pushtotest.tm.executer.User.run(User.java:172)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pushtotest.seleniumrc.SeleniumRCRunner.executeCommandRC(SeleniumRCRunner.java:161)

at com.pushtotest.seleniumrc.SeleniumRCRunner.runActionsRC(SeleniumRCRunner.java:125)

... 7 more

Caused by: com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the forum at clearspace.openqa.org for error details from the log window. The error message is: Permission denied

at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)

at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)

at com.thoughtworks.selenium.DefaultSelenium.select(DefaultSelenium.java:315)

at com.pushtotest.seleniumrc.SeleniumInterpreter.selectAndWait(SeleniumInterpreter.java:2759)

... 13 more

Selenium method failing clickAndWait

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pushtotest.tm.executer.Executer.execute(Executer.java:73)

at com.pushtotest.tm.executer.User.runOnce(User.java:225)

at com.pushtotest.tm.executer.User.run(User.java:172)

Caused by: java.lang.Exception: ERROR: Command execution failure. Please search the forum at clearspace.openqa.org for error details from the log window. The error message is: Permission denied

at com.pushtotest.seleniumrc.SeleniumRCRunner.executeCommandRC(SeleniumRCRunner.java:157)

at com.pushtotest.seleniumrc.SeleniumRCRunner.runActionsRC(SeleniumRCRunner.java:125)

... 7 more

Selenium method failing open

Selenium method failing waitForPageToLoad

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pushtotest.tm.executer.Executer.execute(Executer.java:73)

at com.pushtotest.tm.executer.User.runOnce(User.java:225)

at com.pushtotest.tm.executer.User.run(User.java:172)

Caused by: java.lang.Exception: ERROR Server Exception: sessionId should not be null; has this session been started yet?

at com.pushtotest.seleniumrc.SeleniumRCRunner.executeCommandRC(SeleniumRCRunner.java:157)

at com.pushtotest.seleniumrc.SeleniumRCRunner.runActionsRC(SeleniumRCRunner.java:125)

... 7 more

Selenium method failing open

Selenium method failing waitForPageToLoad

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pushtotest.tm.executer.Executer.execute(Executer.java:73)

at com.pushtotest.tm.executer.User.runOnce(User.java:225)

at com.pushtotest.tm.executer.User.run(User.java:172)

Caused by: java.lang.Exception: ERROR Server Exception: sessionId should not be null; has this session been started yet?

at com.pushtotest.seleniumrc.SeleniumRCRunner.executeCommandRC(SeleniumRCRunner.java:157)

at com.pushtotest.seleniumrc.SeleniumRCRunner.runActionsRC(SeleniumRCRunner.java:125)

... 7 more

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.pushtotest.tm.executer.Executer.execute(Executer.java:73)

at com.pushtotest.tm.executer.User.runOnce(User.java:225)

at com.pushtotest.tm.executer.User.run(User.java:172)

Caused by: java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: Error while launching browser

at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89)

at com.pushtotest.seleniumrc.SeleniumRCRunner.runActionsRC(SeleniumRCRunner.java:101)

... 7 more

Caused by: com.thoughtworks.selenium.SeleniumException: Failed to start new browser session: Error while launching browser

at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)

at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)

at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)

at com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:223)

at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:81)

... 8 more
_d_n_o
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#808
Re: New user issues 1 Year, 9 Months ago Karma: 3
The attached scenario file is missing. The above error shows some permission error (could be some problem with the application/system or might not be allowing to access the application with the same user in multiple times - I m just guessing)
I would recommend you to download the latest version and try the same. If you still get the same problem, please attach the script and scenario file for more investigation.

Thanks
Eshita
Gold Boarder
Posts: 194
graph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#815
Re: New user issues 1 Year, 9 Months ago Karma: 0
Thanks for the help. Sorry bout attachments. I don't seem to be able to attach files on this forum.

I have put XXXXXX over sensitive data. i will try downloading new version of software next week. Today is month end and our highest network traffic day so we are trying to get some data today. I'm going to try and simpfly the test to just open one page. Then iterate that test. It seems to work up to a point and then fails so my reasoning is to make it as simple as possible and hope we can get data.

Thanks again for helping. Sorry if the ingormation i'm giving you isn't enough, I'm new to Automated testing tools.

here is the test script:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="bitest.int.minterellison.com/" />
<title>TC 001 YTDDetail</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">TC 001 YTDDetail</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/onestop</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td>180000</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>lblLastUpdateText</td>
<td></td>
</tr>
<tr>
<td>selectAndWait</td>
<td>islReportCategory</td>
<td>label=YTD Detail</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td>180000</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>lblLastUpdateText</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[@id='actDrillOnYtdDetail_Row1']/span</td>
<td>180000</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td>180000</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>lblLastUpdateText</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[@id='actDrillToChldClnt_Row1']/span</td>
<td>180000</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td>180000</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>lblLastUpdateText</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[@id='actDrillToMat_Row1']/span</td>
<td>180000</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td>180000</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>lblLastUpdateText</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[@id='actDrillToSubMat_Row1']/span</td>
<td>180000</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td>180000</td>
</tr>
</tbody></table>
</body>
</html>





here is the scenario file:

<?xml version="1.0" encoding="UTF-8"?>
<!--
PushToTest(tm) Test Scenario for a functional test

PushToTest is the open-source application performance management (APM)
and test automation platform.
For technical support, documentation, and help see www.pushtotest.com
-->
<testscenario xmlns="www.pushtotest.com/tm5" xmlns:xsi="www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="www.pushtotest.com/XSD/testscenario.xsd" version="2.0">
<basics>
<name>YTD Detail Test</name>
<defaultdirectory>{scenario}</defaultdirectory>
<basicName>Dean Bennett</basicName>
<creator>DTB</creator>
<links/>
<versions>1</versions>
<categorization/>
</basics>
<resources>
<resource name="TC 001 YTDDetail.selenese" type="selenium" path="H:/04 - Logi/17 - Performance Testing/Fee Earner/TC 001 YTDDetail.selenese" cache="false"/>
</resources>
<testnodes>
<node name="XXXXXXX" location="XXXXXXX:8080/TMServer/ws/TestNode"/>
<node name="XXXXXXX" location="XXXXXXX:8080/TMServer/ws/TestNode"/>
<node name="XXXXXXX" location="XXXXXXX:8080/TMServer/ws/TestNode"/>
</testnodes>
<bundles>
<bundle name="hibernate" version="3.0"/>
<bundle name="derby" version="10.6.2.1"/>
<bundle name="htmlunit" version="2.8.1705"/>
<bundle name="seleniumrc" version="1.0.3"/>
</bundles>
<datasources/>
<options>
<options type="testmaker">
<opt name="sleeptime" value="180000"/>
<opt name="delayBetweenStartingUseCases" value="180000"/>
<opt name="delayBetweenTestCases" value="60000"/>
<opt name="testTime" value="120000"/>
</options>
<options type="htmlunit">
<opt name="DebuggingWebConnection" value="false"/>
<opt name="xmltestresultimpl" value="false"/>
<opt name="csswarning" value="false"/>
<opt name="jswarning" value="false"/>
<opt name="HtmlUnitContextFactory" value="false"/>
<opt name="version" value="2.8.1705"/>
</options>
<options type="selenium">
<opt name="rc" value="true"/>
<opt name="synchronized"/>
<opt name="loglevel" value="INFO"/>
<opt name="command"/>
<opt name="throwExceptionOnScriptError" value="false"/>
<opt name="throwExceptionOnFailingStatusCode" value="false"/>
<opt name="host"/>
<opt name="port"/>
<opt name="username"/>
<opt name="password"/>
<opt name="trustAllSSLCertificates"/>
<opt name="ntlmUserName" value="XXXXXXXX"/>
<opt name="ntlmPassword" value="XXXXXXXXX"/>
<opt name="ntlmHost" value="XXXXXXXXXXX"/>
<opt name="ntlmPort" value="80"/>
<opt name="ntlmWorkStation" value="XXXXXXXXXXX"/>
<opt name="ntlmDomain" value="XXXXXXXXXX"/>
<opt name="ntlmEnabled" value="true"/>
</options>
<options type="soapui">
<opt name="host"/>
<opt name="port"/>
<opt name="username"/>
<opt name="password"/>
<opt name="trustAllSSLCertificates"/>
</options>
<options type="har">
<opt name="threadPool" value="10"/>
</options>
<options type="sahi">
<opt name="host"/>
<opt name="port"/>
<opt name="username"/>
<opt name="password"/>
<opt name="trustAllSSLCertificates"/>
</options>
<options type="ds">
<opt name="host"/>
<opt name="port"/>
<opt name="username"/>
<opt name="password"/>
<opt name="trustAllSSLCertificates"/>
</options>
<options type="seleniumrc">
<opt name="listenport" value="6543"/>
<opt name="port" value="5555"/>
<opt name="firefoxProfileTemplate"/>
<opt name="trustAllSSLCertificates"/>
</options>
</options>
<templates>
<controller name="1 Users * 3">
<round users="1" time="3"/>
</controller>
<controller name="5 Users * 5">
<round users="5" time="5"/>
</controller>
<testcase name="YTD Detail">
<test>
<run name="YTD Detail" method="*iexplore" langtype="seleniumrc" resource="TC 001 YTDDetail.selenese"/>
</test>
</testcase>
</templates>
<monitoring enablednodes="true" enabledtarget="false"/>
<execution type="loadtest">
<iteration controller="1 Users * 3" name="iteration 1 Users * 3">
<testcase name="YTD Detail" proportion="100"/>
</iteration>
<iteration controller="5 Users * 5" name="iteration 5 Users * 5">
<testcase name="YTD Detail" proportion="100"/>
</iteration>
</execution>
<logs>
<log type="database">
<opt name="hibernate.connection.username" value="testmaker"/>
<opt name="hibernate.connection.password" value="testmaker"/>
</log>
</logs>
<notifications/>
</testscenario>
_d_n_o
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 12