Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 22265 invoked from network); 9 Dec 2003 10:19:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Dec 2003 10:19:06 -0000 Received: (qmail 19249 invoked by uid 500); 9 Dec 2003 10:18:19 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 19229 invoked by uid 500); 9 Dec 2003 10:18:19 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 19213 invoked from network); 9 Dec 2003 10:18:18 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.171) by daedalus.apache.org with SMTP; 9 Dec 2003 10:18:18 -0000 Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1ATewq-0003A9-00 for tomcat-user@jakarta.apache.org; Tue, 09 Dec 2003 11:18:32 +0100 Received: from [80.128.31.205] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1ATewp-0002a1-00 for tomcat-user@jakarta.apache.org; Tue, 09 Dec 2003 11:18:31 +0100 Message-ID: <3FD5A13E.8020509@cyberspaceroad.com> Date: Tue, 09 Dec 2003 11:17:34 +0100 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031103 X-Accept-Language: en, en-us, de-de MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Testing servlet for thread safety. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7be52423742ce504c1b541fa1f258887 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 12/09/2003 07:16 AM Antony Paul wrote: > Hi, > I asked this question as part of another mail but Mr. Tim Funk left it > unanswered. > How to test a servlet for thread safety. Antony, it might be the case that he didn't have time to answer, you know. Nobody on this list is obliged to answer any questions. Attempting to 'name and shame' someone into answering your questions is not going to make you popular and might backfire on you. In answer to your question, the best approach would be check first that you are not abusing any singletons, static methods or member variables in your servlets. Then you should set up tests using one of the testing frameworks available that allows you to submit real data and check the results. HTH Adam --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org