[Webtest] log4j appenders

Jeannie Graham webtest@lists.canoo.com
Mon, 22 Mar 2004 09:55:49 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C41036.E8D83B60
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Marc,

	Okay, attached are my two files, the task definition and the build
file - I hope that is what you meant?

Thank you!

-----Original Message-----
From: Marc Guillemot [mailto:mguillemot@yahoo.fr]
Sent: Friday, March 19, 2004 2:18 AM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] log4j appenders


Hi Jeannie,

can you provide the extract of your ant build file containing the classpath
declaration as well as the taskdef for the 
webtest tasks?

Marc.

Jeannie Graham wrote:
> Hi Marc,
> 
> 	I performed your advice dealing with this log4j appenders warning
> (email dated 10/30/03, titled "Log4j Appender not found"), adding a
> pathelement statement to my classpath (<pathelement
> path="${webtest.home}/lib"), and making sure my properties file sets up
the
> webtest.home property(which I know works because the rest of my testspec
> runs using this ref in my taskdef),but I am still getting the error:
> 
>  [testSpec] log4j:WARN No appenders could be found for logger
> (com.meterware.htt
> punit.HttpWebResponse).
>  [testSpec] log4j:WARN Please initialize the log4j system properly.
> 
> Any ideas?
> 
> Thanks,
> Jeannie
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 


_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest


------_=_NextPart_000_01C41036.E8D83B60
Content-Type: application/octet-stream;
	name="tskdefinition.xml"
Content-Disposition: attachment;
	filename="tskdefinition.xml"

<!-- Task definition in order to run Canoo commands -->

<taskdef file="${webtest.home}\webtestTaskdefs.properties">
	<classpath>
		<fileset dir="${webtest.home}" includes="lib/*.jar"/>
		<pathelement path="${webtest.home}/lib"/>
	</classpath>
</taskdef>


------_=_NextPart_000_01C41036.E8D83B60
Content-Type: application/octet-stream;
	name="Auto_Quote.xml"
Content-Disposition: attachment;
	filename="Auto_Quote.xml"

<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "WebTest.dtd"[
<!ENTITY tskdef SYSTEM "tskdefinition.xml">
<!ENTITY config SYSTEM "config.xml">
<!ENTITY login SYSTEM "prsnl_login.xml">
<!ENTITY createclient SYSTEM "createclient.xml">
<!ENTITY policyinfo SYSTEM "autopolicyinfo.xml">
<!ENTITY autoinfo SYSTEM "autoinfo.xml">
<!ENTITY driverinfo SYSTEM "driverinfo.xml">
<!ENTITY limitinfo SYSTEM "limitinfo.xml">
<!ENTITY rateinfo SYSTEM "rateinfo.xml">
<!ENTITY underwrite SYSTEM "underwriting.xml">
]>

<project name="AutoQuote" basedir="." default="BeginTest">

<!-- Test data resides in property file -->
<property file="mydata.props"/>

	&tskdef;

<!-- Need to delete Results file cuz it gets appended over & over-->
	<target name="Clean">
		<delete file="${canoo.tests}\testresults\FirstTestResult.xml"/>
	</target>


	<target name="BeginTest" depends="Clean">
		<testSpec name="GetaQuote">
<!-- testSpec command requires config parameters -->
			&config;
			<steps>
<!-- Logging into Personal Lines -->
				&login;
<!-- Log out -->		
				<clicklink
					stepid="Click Logout button/link"
					label=""
					href="/NALController.srv?action=LOGOUT" />
<!-- Create a new Client -->
				&createclient;
				
<!-- Select Product and enter Policy info -->				
				&policyinfo;

<!-- Enter Car info -->				
				&autoinfo;

<!-- Enter Driver info -->				
				&driverinfo;

<!-- Enter Limit info -->				
				&limitinfo;

<!-- Verify Rate info -->		
				&rateinfo;

<!-- Enter Underwriting info -->
				&underwrite;

<!-- Log out -->		
				<clicklink
					stepid="Click Logout button/link"
					label=""
					href="/NALController.srv?action=LOGOUT" />
			</steps>
		</testSpec>
	</target>
</project>


<!-- 
			<waitfor maxwait="3" maxwaitunit="minute" checkevery="500">
			<http url="http://staging.arrowheadagents.com/WRController.srv?action=waiting"/>
			</waitfor>
-->
			
<!-- This is to wait for Processing  -->
<!-- Calling Sleep to wait for Processing  
	<sleep seconds="60"/>
-->	

------_=_NextPart_000_01C41036.E8D83B60--