Hi all,

after the install of build 1810, I noticed that there is a file in the results 
directory of the test: requests.csv.
If I execute a simple test with all default options, this file is filled up 
with requests.
If I execute one of our test scripts, the file is created, but remains empty.
I would like to use this file for comparing performance amongst test runs.

Any idea which property influences this behavior?

Thanks for the help!

This is the code of the test:

Buildfile:
------------
<?xml version="1.0"  encoding="ISO-8859-1"?>
<project name="build_custom" default="wt.full" basedir=".">
 <description>
  Build script for  BT01-01.
 </description>

 <property name="webtest_scripts_dir" location="./tests"/>
 <property name="webtest_results_dir" location="./testOutput"/>
 <property file="test.properties"/>
 <import file="${webtest.home}/webtest.xml" />
 <import file="general.xml" />

 <target name="wt.testInWork">
  <antcall target="-runOneTest">
   <param name="testfile" value="BT01-01.xml" />
   <param name="testname" value="main" />
  </antcall>
  <antcall target="copyDebugTestLog">
   <param name="testName" value="BT0101"/>
  </antcall>
 </target>


 <target name="-runOneTest" description="Runs one specific webtest">
  <echo>Running Test ${testname} in file ${testfile} ...</echo>
  <ant antfile="${testfile}" dir="${webtest_scripts_dir}" target="${testname}" 
/>
 </target>

</project>

BT01-01.xml (the testfile that is run)
----------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "../dtd/Project.dtd">

<!-- Note:In this set of test cases, the main flows of the use cases are 
executed. No GI Difference is registered.
-->
<project name="BT01-01" basedir="." default="main">

 <import file="../general.xml"/>
 <taskdef resource="net/sf/antcontrib/antlib.xml" />
 <target name="main">
  <webtest name="BT01-01">
   &config;
   <steps>
    &ResetTestLogFile;
    <selectWebClient name="OHM" description="use the OHM web client"/>

    <!-- TCNr:1-->&ResetOpenAccount;
    <!-- TCNr:2-->&UT001_01_01;
    <setSelectField
     description="MainPage.userProfile=RAVAGO DISTRIBUTION"
     multiselect="true"
     name="selectedProfileId"
     text="IT (RAVAGO DISTRIBUTION)"
    />
etc...

test.properties
---------------------
webtest.home=C:/Canoo/Webtest
wt.htmlReports.xslt=${webtest.home}/resources/WebTestReport.xsl
wt.htmlReports.xslt.summary=${webtest.home}/resources/WebTestReportSummaryExtractor.xsl
wt.countWebtestResults.skip=true
wt.openResultFile.skip=true
wt.junitLikeReports.skip=true
wt.deleteReports.skip=true
wt.config.summary=True
wt.config.saveresponse=True
wt.config.useInsecureSSL=True

config.xml
---------------
<config
 host="${wt.testserver.ip}"
 port="${wt.testserver.port}"
 protocol="http"
 haltonerror="false"
 haltonfailure="false"
 showhtmlparseroutput="false"
 autorefresh="true"
 browser="FF3"

 summary="${wt.config.summary}"
 useInsecureSSL="${wt.config.useInsecureSSL}"

/>

Reply via email to