How to use Cactus ServletTestCase for Servlets having service methods

L

LuckyBoy

Hi,
I have servlets in a web app having just synchronized service() method
having all the functionality to deal with Request. I want to know if
it is possible (or relevant) to write Cactus ServletTestCases for this
and if yes then how ?
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

LuckyBoy said:
I have servlets in a web app having just synchronized service() method
having all the functionality to deal with Request. I want to know if
it is possible (or relevant) to write Cactus ServletTestCases for this
and if yes then how ?

It is (almost) always relevant to unit test.

I would assume you just write a normal ServletTestCase
(it is relative easy in newer versions of Cactus).

It is still HTTP requests calling your service method right ?

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top