From mjones@example.com  Tue Oct  3 11:51:25 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 16204 invoked by uid 99); 3 Oct 2006 11:51:25 -0000
Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 04:51:25 -0700
X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=HTML_MESSAGE
Received: from [83.161.120.155] ([83.161.120.155:40792] helo=talk.nabble.com)
	by idunn.apache.osuosl.org (ecelerity 83.161.120.155 r(12930)) with ESMTP
	id 1A/9B-29668-5AE42254 for <mjones@example.com>; Tue, 03 Oct 2006 04:51:08 -0700
Received: from [83.161.120.155] (helo=jubjub.nabble.com)
	by talk.nabble.com with esmtp (Exim 4.50)
	id 1GUikb-0007tG-Vt
	for mjones@example.com; Tue, 03 Oct 2006 04:47:53 -0700
Message-ID: <mjones@example.com>
Date: Tue, 3 Oct 2006 04:47:53 -0700 (PDT)
From: Gourav <mjones@example.com>
To: mjones@example.com
Subject: JBoss Support
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_10782_25162843.1159876073989"
X-Nabble-From: mjones@example.com

------=_Part_10782_25162843.1159876073989
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hello,

I have a question which may be simple, but I'm an new cactus user and
didn't find the right information yet. 

I'm using Cactus 13-1.7.2 with JBoss4.0.4.GA & ant 1.6.1.

I wanna know that this version of JBoss is supported or not.Is the version
of JBoss i'm using is compatible with cactus version I use.

Thanks for your help.

Gourav.
-- 
View this message in context: http://www.nabble.com/JBoss-Support-tf2375692.html#a6618536
Sent from the Cactus - User mailing list mjones@example.com.

------=_Part_10782_25162843.1159876073989--


From mjones@example.com  Sun Oct  8 15:49:44 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 56544 invoked by uid 99); 8 Oct 2006 15:49:44 -0000
X-ASF-Spam-Status: No, hits=3.2 required=10.0
	tests=HTML_MESSAGE,HTML_OBFUSCATE_05_10
X-Spam-Check-By: apache.org
Received-SPF: neutral (hermes.apache.org: local policy)
Received: from [83.161.120.155] (HELO ex.redbend.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Oct 2006 08:49:44 -0700
Content-class: urn:content-classes:message
Subject: <cactus> task under JBoss 4.0.3
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6EAF1.1F314232"
Date: Sun, 8 Oct 2006 17:47:55 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Message-ID: <mjones@example.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: <cactus> task under JBoss 4.0.3
Thread-Index: Acbq8R8MzpPx6DNbQcOyY3tSxpHCtg==
From: "Moshe Simon" <mjones@example.com>
To: <mjones@example.com>
X-Virus-Checked: Checked by ClamAV on apache.org

------_=_NextPart_001_01C6EAF1.1F314232
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
My goal is to test some fa=E7ade by calling its functions via remote =
interface.
For that purpose I am running the task <cactus> with my cactified ear =
file (which has also cactified war inside), while my J2EE server is =
JBoss 4.0.3.
I'm getting an error message that cactus doesn't support JBoss 4.0.3 ( =
"This element doesn't support version 4.0.3 of JBoss" ).
All examples use JBoss 3.x. What are my alternatives?
THANKS.
Simon.

------_=_NextPart_001_01C6EAF1.1F314232--

From mjones@example.com  Tue Oct 10 09:33:13 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 45821 invoked by uid 99); 10 Oct 2006 09:33:13 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 02:33:13 -0700
X-ASF-Spam-Status: No, hits=2.5 required=10.0
	tests=HTML_MESSAGE,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO wip-ectls-mx3.wipro.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 02:33:12 -0700
Received: from wip-ectls-mx3.wipro.com (localhost.localdomain [83.161.120.155])
	by localhost (Postfix) with ESMTP id 2489022428B
	for <mjones@example.com>; Tue, 10 Oct 2006 15:02:46 +0530 (IST)
Received: from blr-ec-bh02.wipro.com (blr-ec-bh02.wipro.com [83.161.120.155])
	by wip-ectls-mx3.wipro.com (Postfix) with ESMTP id 1649D224018
	for <mjones@example.com>; Tue, 10 Oct 2006 15:02:46 +0530 (IST)
Received: from BLR-EC-MBX02.wipro.com ([83.161.120.155]) by blr-ec-bh02.wipro.com with Microsoft SMTPSVC(819)350-7852);
	 Tue, 10 Oct 2006 15:02:45 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6EC4F.0AD96AB1"
Subject: Help needed in writing Junit test case for Struts when DynaValidator form is used
Date: Tue, 10 Oct 2006 15:02:45 +0530
Message-ID: <mjones@example.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Help needed in writing Junit test case for Struts when DynaValidator form is used
Thread-Index: AcbsSrjyfDzpXGA6R2yy6p3MFLNSZwAANuUgAADqEFA=
From: <mjones@example.com>
To: <mjones@example.com>
X-OriginalArrivalTime: 10 Oct 2006 09:32:45.0936 (UTC) FILETIME=[0B186F00:01C6EC4F]
X-Virus-Checked: Checked by ClamAV on apache.org

------_=_NextPart_001_01C6EC4F.0AD96AB1
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


=0D

Hi,

=0D

 Iam writing   Junit  test case for Struts application using cactus

and iam using  dynavalidator form

and have written test case given below=0D

=0D

=0D

public void testSuccessfulLogin() {

   setRequestPathInfo("/login");

   addRequestParameter("userId","bhanu");

   actionPerform();

   verifyForward("success");

   verifyForwardPath("/messages.jsp");

   assertEquals("bhanu",getSession().getAttribute("User ID"));

   verifyNoActionErrors();

 }

=0D

and in the test case if iam using=0D

addRequestParameter("userId","bhanu");

the Dynvalidator form is not getting populated=0D

i.e if iam retrieving  value  using getSession().getAttribute("User ID")
iam getting null

but if am writing a nomal loginform  and using it=0D

instead of  dynavalidator form the loginform is getting

populated and iam able to retrive value using=0D

getSession().getAttribute("User ID")

=0D

Please tell me how to write testcases in struts  when  DynaValidator
form is used =0D

=0D

Thanks and Regards

Bhanuprakash




The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments.=0D

WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.
=0D
www.wipro.com
------_=_NextPart_001_01C6EC4F.0AD96AB1--

From mjones@example.com  Tue Oct 10 20:00:00 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 99991 invoked by uid 99); 10 Oct 2006 20:00:00 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 13:00:00 -0700
X-ASF-Spam-Status: No, hits=2.7 required=10.0
	tests=NO_REAL_NAME,RCVD_IN_WHOIS_INVALID
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO smtpgw06out.chubb.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 13:00:00 -0700
Received: from h164-44-66-129.chubb.com (HELO lnsmtp2.chubb.com) ([83.161.120.155])
  by smtpgw06out.chubb.com with ESMTP; 10 Oct 2006 15:59:39 -0400
X-IronPort-AV: i="4.09,291,1157342400"; 
   d="scan'208"; a="170315079:sNHT15387316"
Subject: How to test methods other than GET and POST?
To: mjones@example.com
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <mjones@example.com>
From: mjones@example.com
Date: Tue, 10 Oct 2006 16:00:07 -0400
X-MIMETrack: Serialize by Router on LNSMTP2/SRV/ChubbMail(602CF1HF620 | April 08, 2004) at
 10/10/2006 04:01:25 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Virus-Checked: Checked by ClamAV on apache.org





Has anyone found a way to test methods other than GET and POST? for example
PUT. A way to test other methods (especially the webDav extensions using
the HTTPClient Extension methods) would be very helpful.

thanks,
Pete

From mjones@example.com  Wed Oct 11 11:16:16 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 78467 invoked by uid 99); 11 Oct 2006 11:16:16 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 04:16:15 -0700
X-ASF-Spam-Status: No, hits=1.2 required=10.0
	tests=SUBJ_ALL_CAPS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO smtp.xius.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 04:16:15 -0700
Received: from karthik ([83.161.120.155])
	by smtp.xius.org (8.12.8/8.12.8) with SMTP id k9BB4DZR003220
	for <mjones@example.com>; Wed, 11 Oct 2006 16:34:15 +0530
From: "karthik" <mjones@example.com>
To: <mjones@example.com>
Subject: CACTUS WAR TESTING
Date: Wed, 11 Oct 2006 16:41:21 +0530
Message-ID: <mjones@example.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
Importance: Normal
X-Virus-Checked: Checked by ClamAV on apache.org


 Hi

  I am awaiting for some body to explain me how to setup and test the
following

    a)CACTUS settings for testing a "WAR" file only.
    b)How to write test cases in Cactus for session managed "WAR"
applications.
    c)Will ever there be a Eclipse plugin re release (the web site say's so)

   I have gone thru a zillion times across the cactus web site,forms,API...
   Still in delima how and where to start the process.





with regards
Karthik




From mjones@example.com  Wed Oct 11 11:54:34 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 34570 invoked by uid 99); 11 Oct 2006 11:54:34 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 04:54:34 -0700
X-ASF-Spam-Status: No, hits=2.6 required=10.0
	tests=HTML_00_10,HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: domain of mjones@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 04:54:33 -0700
Received: by py-out-1112.google.com with SMTP id d80so171374pyd
        for <mjones@example.com>; Wed, 11 Oct 2006 04:53:40 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=googlemail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type;
        b=ofBeIktH4oYMk3bQqWiNAoZQsHDBsh6qoJdimZXTYQMw1TwJiC6MveV59dGQFm4K7WuA0ly194EEWL1gWVIFcCq51bvzwA/9839xCamMBV+XIBAhNIjxy5F5IBholHRxfsKQ5eCGzOMYftvqT5p8dfQRHX7dvdrOsEEpB3li4oo=
Received: by 83.161.120.155 with SMTP id w14mr528654qbm;
        Wed, 11 Oct 2006 04:53:39 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 11 Oct 2006 04:53:39 -0700 (PDT)
Message-ID: <mjones@example.com>
Date: Wed, 11 Oct 2006 12:53:39 +0100
From: "vaneet sharma" <mjones@example.com>
To: mjones@example.com
Subject: Suggestions [Cactus + MVC + Html Browser]
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_14736_30893335.1160567619693"
X-Virus-Checked: Checked by ClamAV on apache.org

------=_Part_14736_30893335.1160567619693
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello Everyone,

I have few suggestions .
Could be that this peice of work is possible or has been done by someone.

I have written cactus test case scripts. I use ANT to compile and using
browser to run the test cases.
 running test cases ( servlet test case ) via browser was 10 minute task and
easy

i encountered the problems while doing the following

 ideally, i wanted to compile and run cactus test cases using ANT. I wanted
to start tomcat 5.5 and generate html reports of cactus and also clover.
Ant tasks cactify war somehow was hanging and could not start tomcat. I
tried and searched on google but finally gave up the idea due to time
constraints.

After writing the desired test cases for my project, now i am thinking to
achieve the following

1) using browser, the user pass the request parameters from a form
2) the request parameters go to Servlet ( Controller ) which passes objects
to CactusTestCase and then run the test case
3) In this way, the dependency of hard coding request parameters can be
removed.

to achieve this, there are two paths i can take
1) writing MVC is easy, passing objects to servletTestCase will be easy.
Now, how do i run / instantiate servletTestCase from my ControllerServlet ?
Do i have to do servlet Chaining ? if yes, can you please provide me some
suggestions ?
2) or may be i just dont use cactus in this case OR may be i need to get
cactus source code , hack it a bit and use it for my own use ?

What do u suggest ??

good work. Cactus is good work.

Thanks and Regards
Vaneet


-- 
Vaneet Sharma
J2ee Application Developer/ Software Consultant
20 Donaldson Road
Queen's Park
London
NW66 ND
U.K
Mobile: 07821316060

------=_Part_14736_30893335.1160567619693--

From mjones@example.com  Wed Oct 11 12:08:26 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 48669 invoked by uid 99); 11 Oct 2006 12:08:26 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 05:08:26 -0700
X-ASF-Spam-Status: No, hits=1.7 required=10.0
	tests=NO_REAL_NAME,SUBJ_ALL_CAPS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO wip-ectls-mx1.wipro.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 05:08:25 -0700
Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [83.161.120.155])
	by localhost (Postfix) with ESMTP id ADCDC22038B
	for <mjones@example.com>; Wed, 11 Oct 2006 17:38:08 +0530 (IST)
Received: from blr-ec-bh01.wipro.com (blr-ec-bh01.wipro.com [83.161.120.155])
	by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id A26462201CA
	for <mjones@example.com>; Wed, 11 Oct 2006 17:38:08 +0530 (IST)
Received: from BLR-EC-MBX02.wipro.com ([83.161.120.155]) by blr-ec-bh01.wipro.com with Microsoft SMTPSVC(819)350-7852);
	 Wed, 11 Oct 2006 17:37:59 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: CACTUS WAR TESTING
Date: Wed, 11 Oct 2006 17:37:57 +0530
Message-ID: <mjones@example.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: CACTUS WAR TESTING
Thread-Index: AcbtKdnutKni76SnROaashAYHTqUZwAAHHYA
From: <mjones@example.com>
To: <mjones@example.com>
X-OriginalArrivalTime: 11 Oct 2006 12:07:59.0019 (UTC) FILETIME=[E489DFB0:01C6ED2D]
X-Virus-Checked: Checked by ClamAV on apache.org


Hi Karthik,,

Please go this link


http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l
this give information about how to write Junit test cases for J2ee
application
Before writing test cases do download the required cactus jar from
Apache site

=0D
Thanks and Regards
Bhanuprakash Singh

-----Original Message-----
From: karthik [mailto:mjones@example.com]=0D
Sent: Wednesday, October 11, 2006 4:41 PM
To: mjones@example.com
Subject: CACTUS WAR TESTING


 Hi

  I am awaiting for some body to explain me how to setup and test the
following

    a)CACTUS settings for testing a "WAR" file only.
    b)How to write test cases in Cactus for session managed "WAR"
applications.
    c)Will ever there be a Eclipse plugin re release (the web site say's
so)

   I have gone thru a zillion times across the cactus web
site,forms,API...
   Still in delima how and where to start the process.





with regards
Karthik




---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments.=0D

WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.
=0D
www.wipro.com

From mjones@example.com  Wed Oct 11 13:27:16 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 94961 invoked by uid 99); 11 Oct 2006 13:27:16 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 06:27:16 -0700
X-ASF-Spam-Status: No, hits=1.2 required=10.0
	tests=SUBJ_ALL_CAPS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO smtp.xius.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 06:27:14 -0700
Received: from karthik ([83.161.120.155])
	by smtp.xius.org (8.12.8/8.12.8) with SMTP id k9BDFDKW013528
	for <mjones@example.com>; Wed, 11 Oct 2006 18:45:14 +0530
From: "karthik" <mjones@example.com>
To: "Cactus Users List" <mjones@example.com>
Subject: RE: CACTUS WAR TESTING
Date: Wed, 11 Oct 2006 18:52:21 +0530
Message-ID: <mjones@example.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
In-Reply-To: <mjones@example.com>
Importance: Normal
X-Virus-Checked: Checked by ClamAV on apache.org

Hi


>>http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm

  This site pages is not avaliable

 I am eager to test an "WAR" application Only and not a J2EE Application.

>>Before writing test cases do download the required cactus jar from Apache
site
 I have done this exercise many times.

 * I have gone thru a zillion times across the cactus web site,forms,API...
*



with regards
Karthik

-----Original Message-----
From: mjones@example.com [mailto:mjones@example.com]
Sent: Wednesday, October 11, 2006 5:38 PM
To: mjones@example.com
Subject: RE: CACTUS WAR TESTING



Hi Karthik,,

Please go this link


http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l
this give information about how to write Junit test cases for J2ee
application
Before writing test cases do download the required cactus jar from
Apache site


Thanks and Regards
Bhanuprakash Singh

-----Original Message-----
From: karthik [mailto:mjones@example.com]
Sent: Wednesday, October 11, 2006 4:41 PM
To: mjones@example.com
Subject: CACTUS WAR TESTING


 Hi

  I am awaiting for some body to explain me how to setup and test the
following

    a)CACTUS settings for testing a "WAR" file only.
    b)How to write test cases in Cactus for session managed "WAR"
applications.
    c)Will ever there be a Eclipse plugin re release (the web site say's
so)

   I have gone thru a zillion times across the cactus web
site,forms,API...
   Still in delima how and where to start the process.





with regards
Karthik




---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com




From mjones@example.com  Wed Oct 11 14:03:31 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 87420 invoked by uid 99); 11 Oct 2006 14:03:31 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 07:03:31 -0700
X-ASF-Spam-Status: No, hits=2.0 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: domain of mjones@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 07:03:28 -0700
Received: by nz-out-0102.google.com with SMTP id x3so85707nzd
        for <mjones@example.com>; Wed, 11 Oct 2006 07:03:07 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=googlemail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth;
        b=A6Wm3egIP8Clq2j++4ySs+xjWXFMQdO7xDNIFkTfc97x+s6Q2CeKXQZcEM3NDyO3Br+rGu7H8abTMmnyISTFGtAvJqbL2hDzKBOTtuvSZWn2jFYNoRCOtOAsCF6/bzoEbMIqFtdOAM+bRso3Kqj+NyijJAtsN3yyLUZdriGn494=
Received: by 83.161.120.155 with SMTP id y17mr746373qbd;
        Wed, 11 Oct 2006 07:03:06 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 11 Oct 2006 07:03:06 -0700 (PDT)
Message-ID: <mjones@example.com>
Date: Wed, 11 Oct 2006 15:03:06 +0100
From: "vaneet sharma" <mjones@example.com>
Sender: mjones@example.com
To: "Cactus Users List" <mjones@example.com>
Subject: Re: CACTUS WAR TESTING
In-Reply-To: <mjones@example.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_15989_9682162.1160575386742"
References: <mjones@example.com>
X-Google-Sender-Auth: baa6fda6c0f1a394
X-Virus-Checked: Checked by ClamAV on apache.org

------=_Part_15989_9682162.1160575386742
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello karthik


before going for WAR, download cactus , follow the example from samples and
try to run that,

after that, you can go for WAR OR ETC OR BLA BLA
first try to run samples and understand how things work.

this is link for running WAR:

http://jakarta.apache.org/cactus/integration/integration_browser.html


here are points if u want to shoot off WAR running cactus
1) in your WAR file, you need to put jars from cactus
2) you need to edit /tomcat 5.5.x/conf/web.xml
3) you need to edit your put your testcases in tomcat
5.5.x/webapps/funapps/WEB-INF/classes


go to the browser and enjoy



On 11/10/06, karthik <mjones@example.com> wrote:
>
>
> Hi
>
>   I am awaiting for some body to explain me how to setup and test the
> following
>
>     a)CACTUS settings for testing a "WAR" file only.
>     b)How to write test cases in Cactus for session managed "WAR"
> applications.
>     c)Will ever there be a Eclipse plugin re release (the web site say's
> so)
>
>    I have gone thru a zillion times across the cactus web
> site,forms,API...
>    Still in delima how and where to start the process.
>
>
>
>
>
> with regards
> Karthik
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mjones@example.com
> For additional commands, e-mail: mjones@example.com
>
>


-- 
Vaneet Sharma
J2ee Application Developer/ Software Consultant
20 Donaldson Road
Queen's Park
London
NW66 ND
U.K
Mobile: 07821316060

------=_Part_15989_9682162.1160575386742--

From mjones@example.com  Wed Oct 11 14:11:36 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 5009 invoked by uid 99); 11 Oct 2006 14:11:36 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 07:11:36 -0700
X-ASF-Spam-Status: No, hits=1.2 required=10.0
	tests=SUBJ_ALL_CAPS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO smtp.xius.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 07:11:34 -0700
Received: from karthik ([83.161.120.155])
	by smtp.xius.org (8.12.8/8.12.8) with SMTP id k9BDxZHh002765
	for <mjones@example.com>; Wed, 11 Oct 2006 19:29:36 +0530
From: "karthik" <mjones@example.com>
To: "Cactus Users List" <mjones@example.com>
Subject: RE: CACTUS WAR TESTING
Date: Wed, 11 Oct 2006 19:36:42 +0530
Message-ID: <mjones@example.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
In-Reply-To: <mjones@example.com>
Importance: Normal
X-Virus-Checked: Checked by ClamAV on apache.org

Hi


>>before going for WAR, download cactus , follow the example from samples
and try to run that,

   I have gone thru this excersize for almost 8 months and a zillion times
across the cactus web site,forms,API...

 Still in delima how and where to start the process.



with regards
Karthik

-----Original Message-----
From: mjones@example.com
[mailto:mjones@example.com]On Behalf Of vaneet sharma
Sent: Wednesday, October 11, 2006 7:33 PM
To: Cactus Users List
Subject: Re: CACTUS WAR TESTING


hello karthik


before going for WAR, download cactus , follow the example from samples and
try to run that,

after that, you can go for WAR OR ETC OR BLA BLA
first try to run samples and understand how things work.

this is link for running WAR:

http://jakarta.apache.org/cactus/integration/integration_browser.html


here are points if u want to shoot off WAR running cactus
1) in your WAR file, you need to put jars from cactus
2) you need to edit /tomcat 5.5.x/conf/web.xml
3) you need to edit your put your testcases in tomcat
5.5.x/webapps/funapps/WEB-INF/classes


go to the browser and enjoy



On 11/10/06, karthik <mjones@example.com> wrote:
>
>
> Hi
>
>   I am awaiting for some body to explain me how to setup and test the
> following
>
>     a)CACTUS settings for testing a "WAR" file only.
>     b)How to write test cases in Cactus for session managed "WAR"
> applications.
>     c)Will ever there be a Eclipse plugin re release (the web site say's
> so)
>
>    I have gone thru a zillion times across the cactus web
> site,forms,API...
>    Still in delima how and where to start the process.
>
>
>
>
>
> with regards
> Karthik
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mjones@example.com
> For additional commands, e-mail: mjones@example.com
>
>


--
Vaneet Sharma
J2ee Application Developer/ Software Consultant
20 Donaldson Road
Queen's Park
London
NW66 ND
U.K
Mobile: 07821316060



From mjones@example.com  Wed Oct 11 14:21:00 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 24843 invoked by uid 99); 11 Oct 2006 14:21:00 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 07:21:00 -0700
X-ASF-Spam-Status: No, hits=2.0 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: domain of mjones@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 07:20:56 -0700
Received: by nz-out-0102.google.com with SMTP id x3so88551nzd
        for <mjones@example.com>; Wed, 11 Oct 2006 07:20:35 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=googlemail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth;
        b=NUnOPXOlbvwM9IHitnnVEuiRgzgZxya8t69ZkjDuknSyLGzuNKTMtWxhk54vL4CNLd1RQP82ipYb3AfMRweW3I0U3ruEofnPe+lMehCulM9yoP49wNuDiyIaB/OcJol1LOFMETwRn1gW1GYiB+f8Q+ljY50i8LoZQ7/F7HC/knE=
Received: by 83.161.120.155 with SMTP id d16mr781133qbk;
        Wed, 11 Oct 2006 07:20:35 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 11 Oct 2006 07:20:35 -0700 (PDT)
Message-ID: <mjones@example.com>
Date: Wed, 11 Oct 2006 15:20:35 +0100
From: "vaneet sharma" <mjones@example.com>
Sender: mjones@example.com
To: "Cactus Users List" <mjones@example.com>
Subject: Re: CACTUS WAR TESTING
In-Reply-To: <mjones@example.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_16133_16259952.1160576435318"
References: <mjones@example.com>
	 <mjones@example.com>
X-Google-Sender-Auth: 6f035a65864b24dd
X-Virus-Checked: Checked by ClamAV on apache.org

------=_Part_16133_16259952.1160576435318
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

so, whtats the problem

On 11/10/06, karthik <mjones@example.com> wrote:
>
> Hi
>
>
> >>before going for WAR, download cactus , follow the example from samples
> and try to run that,
>
>    I have gone thru this excersize for almost 8 months and a zillion times
> across the cactus web site,forms,API...
>
> Still in delima how and where to start the process.
>
>
>
> with regards
> Karthik
>
> -----Original Message-----
> From: mjones@example.com
> [mailto:mjones@example.com]On Behalf Of vaneet sharma
> Sent: Wednesday, October 11, 2006 7:33 PM
> To: Cactus Users List
> Subject: Re: CACTUS WAR TESTING
>
>
> hello karthik
>
>
> before going for WAR, download cactus , follow the example from samples
> and
> try to run that,
>
> after that, you can go for WAR OR ETC OR BLA BLA
> first try to run samples and understand how things work.
>
> this is link for running WAR:
>
> http://jakarta.apache.org/cactus/integration/integration_browser.html
>
>
> here are points if u want to shoot off WAR running cactus
> 1) in your WAR file, you need to put jars from cactus
> 2) you need to edit /tomcat 5.5.x/conf/web.xml
> 3) you need to edit your put your testcases in tomcat
> 5.5.x/webapps/funapps/WEB-INF/classes
>
>
> go to the browser and enjoy
>
>
>
> On 11/10/06, karthik <mjones@example.com> wrote:
> >
> >
> > Hi
> >
> >   I am awaiting for some body to explain me how to setup and test the
> > following
> >
> >     a)CACTUS settings for testing a "WAR" file only.
> >     b)How to write test cases in Cactus for session managed "WAR"
> > applications.
> >     c)Will ever there be a Eclipse plugin re release (the web site say's
> > so)
> >
> >    I have gone thru a zillion times across the cactus web
> > site,forms,API...
> >    Still in delima how and where to start the process.
> >
> >
> >
> >
> >
> > with regards
> > Karthik
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: mjones@example.com
> > For additional commands, e-mail: mjones@example.com
> >
> >
>
>
> --
> Vaneet Sharma
> J2ee Application Developer/ Software Consultant
> 20 Donaldson Road
> Queen's Park
> London
> NW66 ND
> U.K
> Mobile: 07821316060
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mjones@example.com
> For additional commands, e-mail: mjones@example.com
>
>


-- 
Vaneet Sharma
J2ee Application Developer/ Software Consultant
20 Donaldson Road
Queen's Park
London
NW66 ND
U.K
Mobile: 07821316060

------=_Part_16133_16259952.1160576435318--

From mjones@example.com  Wed Oct 11 16:14:16 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 3049 invoked by uid 99); 11 Oct 2006 16:14:16 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 09:14:15 -0700
X-ASF-Spam-Status: No, hits=1.7 required=10.0
	tests=NO_REAL_NAME,SUBJ_ALL_CAPS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO wip-ectls-mx1.wipro.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 09:14:13 -0700
Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [83.161.120.155])
	by localhost (Postfix) with ESMTP id F22B4220383
	for <mjones@example.com>; Wed, 11 Oct 2006 21:43:59 +0530 (IST)
Received: from blr-ec-bh01.wipro.com (blr-ec-bh01.wipro.com [83.161.120.155])
	by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id E734C22034C
	for <mjones@example.com>; Wed, 11 Oct 2006 21:43:59 +0530 (IST)
Received: from BLR-EC-MBX02.wipro.com ([83.161.120.155]) by blr-ec-bh01.wipro.com with Microsoft SMTPSVC(819)350-7852);
	 Wed, 11 Oct 2006 21:43:50 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: CACTUS WAR TESTING
Date: Wed, 11 Oct 2006 21:43:09 +0530
Message-ID: <mjones@example.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: CACTUS WAR TESTING
Thread-Index: AcbtORLkHJcEH2BdSuCjkt+LTBvbqAAFzaJg
From: <mjones@example.com>
To: <mjones@example.com>
X-OriginalArrivalTime: 11 Oct 2006 16:13:50.0386 (UTC) FILETIME=[3D09D920:01C6ED50]
X-Virus-Checked: Checked by ClamAV on apache.org


Karthik,

Apologies

There was typo error from my side
Now try=0D
http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l
=0D
Thanks and Regards
Bhanuprakash Singh
Wipro Technologies Bangalore
Contact#: ESN-6-877-5107
PBX: 28520408-Ext.83244
=0D

-----Original Message-----
From: karthik [mailto:mjones@example.com]=0D
Sent: Wednesday, October 11, 2006 6:52 PM
To: Cactus Users List
Subject: RE: CACTUS WAR TESTING

Hi


>>http://www.oracle.com/technology/pub/articles/server_side_unit_tests.h
tm

  This site pages is not avaliable

 I am eager to test an "WAR" application Only and not a J2EE
Application.

>>Before writing test cases do download the required cactus jar from
Apache
site
 I have done this exercise many times.

 * I have gone thru a zillion times across the cactus web
site,forms,API...
*



with regards
Karthik

-----Original Message-----
From: mjones@example.com [mailto:mjones@example.com]
Sent: Wednesday, October 11, 2006 5:38 PM
To: mjones@example.com
Subject: RE: CACTUS WAR TESTING



Hi Karthik,,

Please go this link


http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l
this give information about how to write Junit test cases for J2ee
application
Before writing test cases do download the required cactus jar from
Apache site


Thanks and Regards
Bhanuprakash Singh

-----Original Message-----
From: karthik [mailto:mjones@example.com]
Sent: Wednesday, October 11, 2006 4:41 PM
To: mjones@example.com
Subject: CACTUS WAR TESTING


 Hi

  I am awaiting for some body to explain me how to setup and test the
following

    a)CACTUS settings for testing a "WAR" file only.
    b)How to write test cases in Cactus for session managed "WAR"
applications.
    c)Will ever there be a Eclipse plugin re release (the web site say's
so)

   I have gone thru a zillion times across the cactus web
site,forms,API...
   Still in delima how and where to start the process.





with regards
Karthik




---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments
to
this message are intended for the exclusive use of the addressee(s) and
may
contain proprietary, confidential or privileged information. If you are
not
the intended recipient, you should not disseminate, distribute or copy
this
e-mail. Please notify the sender immediately and destroy all copies of
this
message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus
transmitted
by this email.

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com




---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments.=0D

WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.
=0D
www.wipro.com

From mjones@example.com  Wed Oct 11 16:19:16 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 9989 invoked by uid 99); 11 Oct 2006 16:19:16 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 09:19:16 -0700
X-ASF-Spam-Status: No, hits=1.7 required=10.0
	tests=NO_REAL_NAME,SUBJ_ALL_CAPS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO wip-ectls-mx1.wipro.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 09:19:14 -0700
Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [83.161.120.155])
	by localhost (Postfix) with ESMTP id 3779A22026A
	for <mjones@example.com>; Wed, 11 Oct 2006 21:49:02 +0530 (IST)
Received: from blr-ec-bh01.wipro.com (blr-ec-bh01.wipro.com [83.161.120.155])
	by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id 2B0DF220042
	for <mjones@example.com>; Wed, 11 Oct 2006 21:49:02 +0530 (IST)
Received: from BLR-EC-MBX02.wipro.com ([83.161.120.155]) by blr-ec-bh01.wipro.com with Microsoft SMTPSVC(819)350-7852);
	 Wed, 11 Oct 2006 21:48:52 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: CACTUS WAR TESTING
Date: Wed, 11 Oct 2006 21:48:49 +0530
Message-ID: <mjones@example.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: CACTUS WAR TESTING
Thread-Index: AcbtORLkHJcEH2BdSuCjkt+LTBvbqAAFzaJgAAA0SMA=
From: <mjones@example.com>
To: <mjones@example.com>
X-OriginalArrivalTime: 11 Oct 2006 16:18:52.0679 (UTC) FILETIME=[F1381970:01C6ED50]
X-Virus-Checked: Checked by ClamAV on apache.org



Karthik,

Apologies again
It is html at the end Ok

http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l     =0D

=0D
Thanks and Regards
Bhanuprakash Singh
Wipro Technologies Bangalore
Contact#: ESN-6-877-5107
PBX: 28520408-Ext.83244
=0D

-----Original Message-----
From: mjones@example.com [mailto:mjones@example.com]

Sent: Wednesday, October 11, 2006 9:43 PM
To: mjones@example.com
Subject: RE: CACTUS WAR TESTING


Karthik,

Apologies

There was typo error from my side
Now try

http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l


Thanks and Regards
Bhanuprakash Singh
Wipro Technologies Bangalore
Contact#: ESN-6-877-5107
PBX: 28520408-Ext.83244



-----Original Message-----
From: karthik [mailto:mjones@example.com]

Sent: Wednesday, October 11, 2006 6:52 PM
To: Cactus Users List
Subject: RE: CACTUS WAR TESTING

Hi


>>http://www.oracle.com/technology/pub/articles/server_side_unit_tests.h
tm

  This site pages is not avaliable

 I am eager to test an "WAR" application Only and not a J2EE
Application.

>>Before writing test cases do download the required cactus jar from
Apache
site
 I have done this exercise many times.

 * I have gone thru a zillion times across the cactus web
site,forms,API...
*



with regards
Karthik

-----Original Message-----
From: mjones@example.com [mailto:mjones@example.com]
Sent: Wednesday, October 11, 2006 5:38 PM
To: mjones@example.com
Subject: RE: CACTUS WAR TESTING



Hi Karthik,,

Please go this link


http://www.oracle.com/technology/pub/articles/server_side_unit_tests.htm
l
this give information about how to write Junit test cases for J2ee
application
Before writing test cases do download the required cactus jar from
Apache site


Thanks and Regards
Bhanuprakash Singh

-----Original Message-----
From: karthik [mailto:mjones@example.com]
Sent: Wednesday, October 11, 2006 4:41 PM
To: mjones@example.com
Subject: CACTUS WAR TESTING


 Hi

  I am awaiting for some body to explain me how to setup and test the
following

    a)CACTUS settings for testing a "WAR" file only.
    b)How to write test cases in Cactus for session managed "WAR"
applications.
    c)Will ever there be a Eclipse plugin re release (the web site say's
so)

   I have gone thru a zillion times across the cactus web
site,forms,API...
   Still in delima how and where to start the process.





with regards
Karthik




---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments
to
this message are intended for the exclusive use of the addressee(s) and
may
contain proprietary, confidential or privileged information. If you are
not
the intended recipient, you should not disseminate, distribute or copy
this
e-mail. Please notify the sender immediately and destroy all copies of
this
message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus
transmitted
by this email.

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com




---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.


WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.


www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: mjones@example.com
For additional commands, e-mail: mjones@example.com



The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments.=0D

WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.
=0D
www.wipro.com

From mjones@example.com  Tue Oct 17 06:18:30 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 9461 invoked by uid 99); 17 Oct 2006 06:18:30 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 23:18:30 -0700
X-ASF-Spam-Status: No, hits=1.9 required=10.0
	tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: domain of mjones@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc1-s5.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 23:18:29 -0700
Received: from hotmail.com ([83.161.120.155]) by bay0-omc1-s5.bay0.hotmail.com with Microsoft SMTPSVC(819)350-7852);
	 Mon, 16 Oct 2006 23:18:08 -0700
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Mon, 16 Oct 2006 23:18:08 -0700
Message-ID: <mjones@example.com>
Received: from 83.161.120.155 by by123fd.bay123.hotmail.msn.com with HTTP;
	Tue, 17 Oct 2006 06:18:06 GMT
X-Originating-IP: [83.161.120.155]
X-Originating-Email: [mjones@example.com]
X-Sender: mjones@example.com
From: "alec lee" <mjones@example.com>
To: mjones@example.com
Subject: Does Cactus 1.6.1 work with Tomcat 5.5
Date: Tue, 17 Oct 2006 06:18:06 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-OriginalArrivalTime: 17 Oct 2006 06:18:08.0173 (UTC) FILETIME=[037F75D0:01C6F1B4]
X-Virus-Checked: Checked by ClamAV on apache.org

Does Cactus 1.6.1 work with Tomcat 5.5,J2SE 1.5+ J2EE 1.4(servlet2.4+jsp2.0) 
Junit3.8?  I got an exception when I tried to run a test case with Cactus 
1.6.1?  However, when I upgraded to Cactus 1.7, the exception disappeared.  
I could use Cactus 1.7 for my general use, but unforturnately it seems that 
StrutsTestCase doesn't work with Cactus 1.7 and I want to try it with 
1.6!!!!

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


From mjones@example.com  Wed Oct 18 15:27:57 2006
Return-Path: <mjones@example.com>
list-help: <mailto:mjones@example.com>
list-unsubscribe: <mailto:mjones@example.com>
List-Post: <mailto:mjones@example.com>
List-Id: <cactus-user.jakarta.apache.org>
Mailing-List: contact mjones@example.com; run by ezmlm
Delivered-To: mailing list mjones@example.com
Received: (qmail 5381 invoked by uid 99); 18 Oct 2006 15:27:57 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 08:27:57 -0700
X-ASF-Spam-Status: No, hits=0.5 required=10.0
	tests=DNS_FROM_RFC_ABUSE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: domain of mjones@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 08:27:54 -0700
Received: by nf-out-0910.google.com with SMTP id n15so744580nfc
        for <mjones@example.com>; Wed, 18 Oct 2006 08:27:32 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=h8H11ZoYJK8KIIJpibh+/p2GRpBkDH/jQ7Fa70tn9L/75gsBFUn3HnrohLBs7mcJ23ofTYJu+Sbb1DAJF0KNXl5XINM1sxXR9AZU5KDj4KqyhfvoW63waWOuYR49NxGkyfmPl8IyaedGedVmXP2w8I9LeEZSwbdxFjf48y0hz4U=
Received: by 83.161.120.155 with SMTP id y19mr2237810buc;
        Wed, 18 Oct 2006 08:27:32 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 18 Oct 2006 08:27:31 -0700 (PDT)
Message-ID: <mjones@example.com>
Date: Wed, 18 Oct 2006 10:27:31 -0500
From: "Pseudo Nym" <mjones@example.com>
To: mjones@example.com
Subject: Are cactus tests running on the server?
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Checked: Checked by ClamAV on apache.org

I've been attempting, without any luck, to get server-side JUnit tests
to test my code in-container using the new, annotation-style JUnit 4
tests. I'm using the Ant 1.7 beta to deploy my code and run my tests,
as this version has JUnit 4 functionality built in. I attempted to use
both JUnitEE and Cactus to run my tests.

I was successfully able to get JUnitEE to run JUnit 3.8 style tests,
but the various permutations of configurations I tried using JUnit 4
failed to work. I tried with and without the JUnit4TestAdapter in a
suite() method. I was getting different errors depending on the setup
I was using; however, none of them worked.

My attempts to get cactus working seemed to meet with more success,
and the tests do run. However, I am skeptical as to whether my setup
is actually running the tests from the sever, and not on the local
box. The reason I say that is that when I forgot to package some jars
that were necessary to the build, the ant tests still ran and passed.
However, when I used the cactus servlet to run the tests manually,
they would fail.

Here's the relevant section of my ant script for my cactus tests.
Note, it's pretty messy at the moment, as the goal was more to get
things working than to have a clean final script.

	<!-- Create the war file -->
	<target name="cactus-war" depends="init" description="Generate the
runtime war">
		<property name="temp.war.file" location="${war.file}.tmp" />

		<delete dir="${dist.dir}" failonerror="false" />
		<mkdir dir="${dist.dir}" />

		<!-- todo: build actual war for actual app; then have cactified copy -->
		<war destfile="${temp.war.file}" webxml="web.xml" basedir="${dist.dir}">
		</war>
		<cactifywar srcfile="${temp.war.file}"
				destfile="${war.file}">
			<lib file="${test.jar.file}" />
			<lib file="${serverapp.jar.file}" />
			<lib dir="lib"/>
			<lib dir="${serverapp.lib.dir}" />
		</cactifywar>
		<delete file="${temp.war.file}" />
	</target>

 <target name="run-test" depends="init, cactus-war, deploy-war,
run-cactus-test" description="Run the tests on the defined containers"
/>

	<target name="run-cactus-test"
	    description="Run the tests on the defined containers">

		<!-- Run the tests -->
		<cactus warfile="${war.file}" fork="yes" failureproperty="tests.failed">
			<classpath>
				<path refid="cactus.classpath"/>
				<path refid="serverapp.classpath"/>
			</classpath>
			<containerset timeout="10000">
				<generic startuptarget="" shutdowntarget="" server="${test.server}" />
			</containerset>
			<formatter type="brief" usefile="false"/>
			<formatter type="xml"/>
			<batchtest todir="${test.log.dir}">
				<fileset dir="${serverapp.test.dir}">
					<!-- todo: do integration tests instead, once this is working -->
					<include name="**/*Test.java"/>
					<exclude name="**/*IntegrationTestSuite*.java"/>
					<exclude name="**/*IntegrationTest*.java"/>
				</fileset>
			</batchtest>
		</cactus>
		<fail if="tests.failed">Cactus JUnit test failures</fail>
	</target>

	<target name="deploy-war" depends="cactus-war" description="make and
deploy war">
		<echo level="info">Beginning (re)deployment of servlet at
${webserver.tests.url}</echo>
		<property name="servlet.deploy.maxwait" value="30000" />

		<delete file="${autodeploy.dir}/${war.file.name}" failonerror="false" />
		<echo level="info">Waiting for servlet to be undeployed...</echo>
		<waitfor maxwait="${servlet.deploy.maxwait}"
timeoutproperty="servlet.deploy.error">
			<not>
				<http url="${webserver.tests.url}" />
			</not>
		</waitfor>

		<fail if="servlet.deploy.error">Unable to undeploy previous servlet</fail>

		<copy file="${war.file}" todir="${autodeploy.dir}" overwrite="true" />

		<echo level="info">Waiting for servlet to be deployed...</echo>
		<waitfor maxwait="${servlet.deploy.maxwait}"
timeoutproperty="servlet.deploy.error">
			<http url="${webserver.tests.url}" />
		</waitfor>

		<fail if="servlet.deploy.error">Unable to deploy servlet</fail>
	</target>



Any help I could get concerning this would be most appreciated.
Google, and posting and searching various java forums hasn't gotten me
any useful answers. For that matter, just letting me know if you've
had similar difficulties, or no difficulties with the same task would
be useful, as it'd give a hint as to whether I'm missing something
obvious. Thanks.


{'source': 'Apache Software Foundation Public Mail Archives'}