jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Barber" <Scott.Bar...@benefitfocus.com>
Subject Cactus / StrutsTestCase / Ant client / Weblogic
Date Sun, 27 Jul 2003 15:30:29 GMT
I'm hoping someone can assist me with some unusual test results.  I have a TestCase which authenticates
a user and asserts a couple of values.  The problem is the test case fails the first time
it is run after redeploying the test WAR file.  If I run the test again after the failure
without redeploying the WAR file the test now succeeds.  Any ideas would be appreciated.

Below is the client and server output.  This is happening with both the jakarta-cactus-1.5-beta1-src
and jakarta-cactus-13-20030726 versions.

Thanks,
Scott

<client output>
$ ant -Dapp=hradmin build.cactus deploy.cactus test.cactus -DcompileJSP=false
Buildfile: build.xml

build.cactus:
[cactifywar] Analyzing war: C:\_projects\current\4x\jar\hradmin.war
[cactifywar] Building war: C:\_projects\current\4x\jar\hradmintest.war
    [unjar] Expanding: C:\_projects\current\4x\jar\hradmintest.war into C:\_projects\current\4x\jar\hradmintest
     [copy] Copying 1 file to C:\_projects\current\4x\jar\hradmintest\WEB-INF\classes
     [copy] Copying 3 files to C:\_projects\current\4x\jar\hradmintest\WEB-INF\lib
      [jar] Building jar: C:\_projects\current\4x\jar\hradmintest.war
   [delete] Deleting directory C:\_projects\current\4x\jar\hradmintest

deploy.cactus:
     [copy] Copying 1 file to C:\bea\wlserver6.1\config\mydomain\applications

test.cactus:
   [cactus] -----------------------------------------------------------------
   [cactus] Running tests against localhost
   [cactus] -----------------------------------------------------------------
   [cactus] Creating new ThreadManager Thread[main,5,main]
   [cactus] Running bf.web.hradmin.action.SponsorAdminCactusTest
   [cactus] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.814 sec
   [cactus] Testsuite: bf.web.hradmin.action.SponsorAdminCactusTest
   [cactus] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.814 sec

   [cactus] Testcase: testLogin took 2.804 sec
   [cactus]     Caused an ERROR
   [cactus] Failed to get the test results at [http://localhost:7001/hradmintest/ServletRedirectorSecure]
   [cactus] org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results
at [http://localhost:7001/hra
dmintest/ServletRedirectorSecure]
   [cactus]     at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest$ajcPostAround7(DefaultHttpClient.jav
a;org/apache/cactus/util/log/LogAspect.aj(1k):131)
   [cactus]     at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/ca
ctus/util/log/LogAspect.aj(1k):1240)
   [cactus]     at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java
;org/apache/cactus/util/log/LogAspect.aj(1k):334)
   [cactus]     at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.
java;org/apache/cactus/util/log/LogAspect.aj(1k):282)
   [cactus]     at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java;or
g/apache/cactus/util/log/LogAspect.aj(1k):257)
   [cactus]     at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:289)
   [cactus]     at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:251)
   [cactus]     at org.apache.cactus.integration.ant.CactusTask.executeInContainer(CactusTask.java:412)
   [cactus]     at org.apache.cactus.integration.ant.CactusTask.execute(CactusTask.java:250)
   [cactus] org.apache.cactus.client.ParsingException: Not a valid response [302 Moved Temporarily]
   [cactus]     at org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(DefaultHttpClient.java;org/ap
ache/cactus/util/log/LogAspect.aj(1k):249)
   [cactus]     at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest$ajcPostAround7(DefaultHttpClient.jav
a;org/apache/cactus/util/log/LogAspect.aj(1k):126)
   [cactus]     at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/ca
ctus/util/log/LogAspect.aj(1k):1240)
   [cactus]     at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java
;org/apache/cactus/util/log/LogAspect.aj(1k):334)
   [cactus]     at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.
java;org/apache/cactus/util/log/LogAspect.aj(1k):282)
   [cactus]     at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java;or
g/apache/cactus/util/log/LogAspect.aj(1k):257)
   [cactus]     at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:289)
   [cactus]     at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:251)
   [cactus]     at org.apache.cactus.integration.ant.CactusTask.executeInContainer(CactusTask.java:412)
   [cactus]     at org.apache.cactus.integration.ant.CactusTask.execute(CactusTask.java:250)

   [cactus] Testcase: testLogin
   [cactus] TEST bf.web.hradmin.action.SponsorAdminCactusTest FAILED

BUILD FAILED
file:c:/_projects/current/4x/webapps/build/build.xml:482: No message

Total time: 2 minutes 49 seconds
</client output>

<server output>
072703 11:23:53.264 [INFO ] [jsp.securityError.jsp] MDC[userid=, server=] JSESSION = 1juD7NmeSnf2MGwcYtkkGhIegH6C0uuW1Xp
mdgwZfJTv8CET6THE!-1986505555!-1062731369!7001!7002!1059319427725
072703 11:23:53.284 [WARN ] [bf.web.common.Session] MDC[userid=, server=] privateLabel object
not in session, returning
DefaultPrivateLabel
072703 11:24:00.555 [DEBUG] [org.apache.cactus.server.ServletTestRedirector] MDC[userid=,
server=] <doGet([Http Request:
 /hradmintest/ServletRedirectorSecure], [weblogic.servlet.internal.ServletResponseImpl@397214])
072703 11:24:00.565 [DEBUG] [org.apache.cactus.server.ServletTestRedirector] MDC[userid=,
server=] <doPost([Http Request
: /hradmintest/ServletRedirectorSecure], [weblogic.servlet.internal.ServletResponseImpl@397214])
072703 11:24:00.565 [DEBUG] [org.apache.cactus.server.ServletTestRedirector] MDC[userid=,
server=] ------------- Start S
ervlet service
072703 11:24:00.585 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] <setHttpServletReque
st([Http Request: /hradmintest/ServletRedirectorSecure])
072703 11:24:00.585 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] >setHttpServletReque
st
072703 11:24:00.585 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] <setHttpServletRespo
nse([weblogic.servlet.internal.ServletResponseImpl@397214])
072703 11:24:00.585 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] >setHttpServletRespo
nse
072703 11:24:00.585 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] <setServletContext([
WebAppServletContext(1961586,hradmintest,/hradmintest)])
072703 11:24:00.585 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] >setServletContext
072703 11:24:00.595 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] <setServletConfig([S
ervletStub(ServletRedirectorSecure,org.apache.cactus.server.ServletTestRedirector)])
072703 11:24:00.595 [DEBUG] [org.apache.cactus.server.ServletImplicitObjects] MDC[userid=,
server=] >setServletConfig
072703 11:24:00.625 [DEBUG] [org.apache.cactus.server.ServletTestController] MDC[userid=,
server=] <handleRequest([org.a
pache.cactus.server.ServletImplicitObjects@7088e8])
072703 11:24:00.635 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_Service])
072703 11:24:00.635 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [CAL
L_TEST]
072703 11:24:00.635 [DEBUG] [org.apache.cactus.server.AbstractWebTestController] MDC[userid=,
server=] Service to call =
 CALL_TEST
072703 11:24:00.665 [DEBUG] [org.apache.cactus.ServiceEnumeration] MDC[userid=, server=] <valueOf([CALL_TEST])
072703 11:24:00.675 [DEBUG] [org.apache.cactus.ServiceEnumeration] MDC[userid=, server=] >valueOf
= [CALL_TEST]
072703 11:24:00.675 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_TestClass])
072703 11:24:00.675 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [bf.
web.hradmin.action.SponsorAdminCactusTest]
072703 11:24:00.675 [DEBUG] [org.apache.cactus.server.AbstractWebTestCaller] MDC[userid=,
server=] Class to call = [bf.w
eb.hradmin.action.SponsorAdminCactusTest]
072703 11:24:00.685 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_WrappedTestClass])
072703 11:24:00.685 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:00.685 [DEBUG] [org.apache.cactus.server.AbstractWebTestCaller] MDC[userid=,
server=] No wrapped test class

072703 11:24:00.685 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_TestMethod])
072703 11:24:00.685 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [tes
tLogin]
072703 11:24:00.685 [DEBUG] [org.apache.cactus.server.AbstractWebTestCaller] MDC[userid=,
server=] Method to call = test
Login
072703 11:24:00.695 [DEBUG] [org.apache.cactus.util.ClassLoaderUtils] MDC[userid=, server=]
<loadClass([bf.web.hradmin.a
ction.SponsorAdminCactusTest], [class org.apache.cactus.server.ServletTestCaller])
072703 11:24:00.705 [DEBUG] [org.apache.cactus.util.ClassLoaderUtils] MDC[userid=, server=]
<loadClassFromWebappClassLoa
der([bf.web.hradmin.action.SponsorAdminCactusTest], [class org.apache.cactus.server.ServletTestCaller])
072703 11:24:00.865 [DEBUG] [org.apache.cactus.util.ClassLoaderUtils] MDC[userid=, server=]
>loadClassFromWebappClassLoa
der = [class bf.web.hradmin.action.SponsorAdminCactusTest]
072703 11:24:00.865 [DEBUG] [org.apache.cactus.util.ClassLoaderUtils] MDC[userid=, server=]
>loadClass = [class bf.web.h
radmin.action.SponsorAdminCactusTest]
072703 11:24:00.965 [DEBUG] [org.apache.cactus.internal.client.WebClientTestCaseDelegate]
MDC[userid=, server=] <setDele
gatedTest([testLogin(bf.web.hradmin.action.SponsorAdminCactusTest)])
072703 11:24:00.965 [DEBUG] [org.apache.cactus.internal.client.WebClientTestCaseDelegate]
MDC[userid=, server=] >setDele
gatedTest
072703 11:24:00.965 [DEBUG] [org.apache.cactus.internal.client.WebClientTestCaseDelegate]
MDC[userid=, server=] <setWrap
pedTest([testLogin(bf.web.hradmin.action.SponsorAdminCactusTest)])
072703 11:24:00.965 [DEBUG] [org.apache.cactus.internal.client.WebClientTestCaseDelegate]
MDC[userid=, server=] >setWrap
pedTest
072703 11:24:00.975 [DEBUG] [org.apache.cactus.internal.client.WebClientTestCaseDelegate]
MDC[userid=, server=] <setConf
iguration([org.apache.cactus.configuration.ServletConfiguration@4a3650])
072703 11:24:00.975 [DEBUG] [org.apache.cactus.internal.client.WebClientTestCaseDelegate]
MDC[userid=, server=] >setConf
iguration
072703 11:24:00.985 [DEBUG] [org.apache.cactus.internal.server.ServerTestCaseDelegate] MDC[userid=,
server=] <setDelegat
edTest([testLogin(bf.web.hradmin.action.SponsorAdminCactusTest)])
072703 11:24:00.985 [DEBUG] [org.apache.cactus.internal.server.ServerTestCaseDelegate] MDC[userid=,
server=] >setDelegat
edTest
072703 11:24:00.985 [DEBUG] [org.apache.cactus.internal.server.ServerTestCaseDelegate] MDC[userid=,
server=] <setWrapped
Test([testLogin(bf.web.hradmin.action.SponsorAdminCactusTest)])
072703 11:24:00.985 [DEBUG] [org.apache.cactus.internal.server.ServerTestCaseDelegate] MDC[userid=,
server=] >setWrapped
Test
Creating new ThreadManager Thread[ExecuteThread: '13' for queue: 'default',5,Thread Group
for Queue: 'default']
072703 11:24:01.146 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <loadFromRequest([Http
Request: /hradmi
ntest/ServletRedirectorSecure])
072703 11:24:01.156 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_URL_Protocol])
072703 11:24:01.156 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:01.166 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_URL_Server])
072703 11:24:01.176 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:01.176 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_URL_ContextPath])
072703 11:24:01.176 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:01.176 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_URL_ServletPath])
072703 11:24:01.176 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:01.186 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_URL_PathInfo])
072703 11:24:01.186 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:01.186 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_URL_QueryString])
072703 11:24:01.186 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [nul
l]
072703 11:24:01.186 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] Undefined
simulation URL
072703 11:24:01.186 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >loadFromRequest
= [null]
072703 11:24:01.206 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] <getQueryStringParameter([Cactu
s_TestMethod=testLogin&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus
_Service=CALL_TEST], [Cactus_AutomaticSession])
072703 11:24:01.206 [DEBUG] [org.apache.cactus.server.ServletUtil] MDC[userid=, server=] >getQueryStringParameter
= [tru
e]
072703 11:24:01.206 [DEBUG] [org.apache.cactus.server.AbstractWebTestCaller] MDC[userid=,
server=] Auto session is true
072703 11:24:01.216 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Entering setUp()
072703 11:24:01.236 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <setProtocol([http])
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >setProtocol
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <setServerName([localhost])
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >setServerName
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <setContextPath([/hradmintest])
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >setContextPath
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <setServletPath([/ServletRedirectorSecu
re])
072703 11:24:01.246 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >setServletPath
072703 11:24:01.256 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <setPathInfo([null])
072703 11:24:01.256 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >setPathInfo
072703 11:24:01.256 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] <setQueryString([Cactus_TestMethod=test
Login&Cactus_TestClass=bf.web.hradmin.action.SponsorAdminCactusTest&Cactus_AutomaticSession=true&Cactus_Service=CALL_TES
T])
072703 11:24:01.256 [DEBUG] [org.apache.cactus.ServletURL] MDC[userid=, server=] >setQueryString
072703 11:24:01.266 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Exiting setUp()
072703 11:24:01.266 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Entering getSession()
072703 11:24:01.266 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Exiting getSession()
072703 11:24:01.266 [DEBUG] [bf.web.common.ActionFrameListener] MDC[userid=, server=] bf.web.common.ActionFrameListener.
setupActionFrame(HttpServletRequest): Entered Method
072703 11:24:01.296 [DEBUG] [bf.web.common.ActionFrameListener] MDC[userid=, server=] Setup
actionFrame = weblogic.rmi.i
nternal.LocalServerRef@26a - jvmid: '8275110801781577018S:192.168.1.151:[7001,7001,7002,7002,7001,7002,-1]:mydomain:myse
rver', oid: '618', JSESSIONID = bf.web.hradmin.action.SponsorAdminCactusTest
072703 11:24:01.296 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Entering setRequestPathInfo(
) : pathInfo = /collectAddEmployee
072703 11:24:01.306 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Entering setRequestPathInfo(
) : moduleName = , pathInfo = /collectAddEmployee
072703 11:24:01.316 [DEBUG] [servletunit.struts.Common] MDC[userid=, server=] Entering stripActionPath()
: path = /colle
ctAddEmployee
072703 11:24:01.316 [DEBUG] [servletunit.struts.Common] MDC[userid=, server=] Exiting stripActionPath()
- returning path
 = /collectAddEmployee
072703 11:24:01.316 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
setRequestPathInfo() : setti
ng request attribute - name = not.used.at.all, value =
072703 11:24:01.316 [DEBUG] [servletunit.struts.StrutsRequestWrapper] MDC[userid=, server=]
<setAttribute([not.used.at.a
ll], [])
072703 11:24:01.316 [DEBUG] [org.apache.cactus.server.HttpServletRequestWrapper] MDC[userid=,
server=] <setAttribute([no
t.used.at.all], [])
072703 11:24:01.326 [DEBUG] [org.apache.cactus.server.HttpServletRequestWrapper] MDC[userid=,
server=] >setAttribute
072703 11:24:01.326 [DEBUG] [servletunit.struts.StrutsRequestWrapper] MDC[userid=, server=]
>setAttribute
072703 11:24:01.326 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Exiting setRequestPathInfo()

072703 11:24:01.326 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Exiting setRequestPathInfo()

072703 11:24:01.326 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Entering addRequestParameter
() : paramaterName = org.apache.struts.taglib.html.TOKEN, parameterValue = MockToken
072703 11:24:01.326 [DEBUG] [servletunit.struts.StrutsRequestWrapper] MDC[userid=, server=]
<getParameter([org.apache.st
ruts.taglib.html.TOKEN])
072703 11:24:01.336 [DEBUG] [org.apache.cactus.server.HttpServletRequestWrapper] MDC[userid=,
server=] <getParameter([or
g.apache.struts.taglib.html.TOKEN])
072703 11:24:01.336 [DEBUG] [org.apache.cactus.server.HttpServletRequestWrapper] MDC[userid=,
server=] >getParameter = [
null]
072703 11:24:01.336 [DEBUG] [servletunit.struts.StrutsRequestWrapper] MDC[userid=, server=]
>getParameter = [null]
072703 11:24:01.336 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Exiting addRequestParameter(
)
072703 11:24:01.376 [DEBUG] [bf.web.hradmin.action.SponsorAdminCactusTest] MDC[userid=, server=]
putting user in session

072703 11:24:01.386 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Entering getRequest()
072703 11:24:01.386 [DEBUG] [servletunit.struts.CactusStrutsTestCase] MDC[userid=, server=]
Exiting getRequest()
072703 11:24:01.396 [DEBUG] [org.apache.cactus.server.AbstractWebTestCaller] MDC[userid=,
server=] Test result : [Test f
ailed, Exception message = [null]]
072703 11:24:01.396 [DEBUG] [org.apache.cactus.server.AbstractWebTestCaller] MDC[userid=,
server=] Result saved in conte
xt scope
072703 11:24:01.396 [DEBUG] [org.apache.cactus.server.ServletTestController] MDC[userid=,
server=] >handleRequest
072703 11:24:01.396 [DEBUG] [org.apache.cactus.server.ServletTestRedirector] MDC[userid=,
server=] >doPost
072703 11:24:01.396 [DEBUG] [org.apache.cactus.server.ServletTestRedirector] MDC[userid=,
server=] >doGet
</server output>

Mime
View raw message