[Yanel-commits] rev 40291 - public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests

michi at wyona.com michi at wyona.com
Mon Dec 8 15:23:34 CET 2008


Author: michi
Date: 2008-12-08 15:23:34 +0100 (Mon, 08 Dec 2008)
New Revision: 40291

Modified:
   public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml
Log:
use config parameters instead hardcoded port etc.

Modified: public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml	2008-12-08 08:17:15 UTC (rev 40290)
+++ public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml	2008-12-08 14:23:34 UTC (rev 40291)
@@ -14,13 +14,13 @@
 
     <webtest name="Usecase Test 'Update : Testing Control'">
       &config;
-      <invoke description="Get the page: " url="http://localhost:8080/yanel/test/testing-control.html"/>
+      <invoke description="Get the page: " url="${webtest.config.protocol}://${webtest.config.host}:${webtest.config.port}/${webtest.config.basepath}/test/testing-control.html"/>
       <verifyText description="Verify that text is contained in the page" text="HtmlUnit Tests"/>
     </webtest>
 
     <webtest name="Usecase Test 'Update : jMeter Results'">
       &config;
-      <invoke description="Get the page: " url="http://localhost:8080/yanel/test/jmeter/jmeter-results/"/>
+      <invoke description="Get the page: " url="${webtest.config.protocol}://${webtest.config.host}:${webtest.config.port}/${webtest.config.basepath}/test/jmeter/jmeter-results/"/>
 
 <!--      
       <verifyText description="Verify that text is contained in the page" text="Yanel Path (with regard to realm): /jmeter/jmeter-results/"/>



More information about the Yanel-commits mailing list