Re: Issues in Struts2 unit testing

2014-06-13 Thread Krishnaraj A
hat > condition is being tested. If possible, take some time to determine when > that condition is being set before your invocation. > > > Cheers, > Paul > > > On Fri, Jun 13, 2014 at 8:25 AM, Krishnaraj A < > akrajmscjavaquest...@gmail.com> wrote: > > > Hi T

Re: Issues in Struts2 unit testing

2014-06-13 Thread Krishnaraj A
Hi Team, Is any help for the above issue Thanks Krishna raj On Thu, Jun 12, 2014 at 9:05 PM, Krishnaraj A < akrajmscjavaquest...@gmail.com> wrote: > Hi Dave, > > I added my struts code. > > Junit Code: > > public class AdminValidation extends StrutsTestCase { >

Re: Issues in Struts2 unit testing

2014-06-12 Thread Krishnaraj A
en executed. > > > Cheers, > Paul > > > On Thu, Jun 12, 2014 at 10:15 AM, Dave Newton > wrote: > > > Without knowing what's in your interceptor stack it's impossible to help. > > > > Dave > > > > > > On Thu, Jun 12, 2014 at 1

Re: Issues in Struts2 unit testing

2014-06-12 Thread Krishnaraj A
bug the application by placing the break point. When the control go to " return invocation.invoke();" it throws error. java.lang. IllegalStateException: Action has already executed Thanks, Krishnaraj On Thu, Jun 12, 2014 at 8:45 PM, Dave Newton wrote: > Without knowing what&

Issues in Struts2 unit testing

2014-06-12 Thread Krishnaraj A
Hi Team, Iam new to using Struts2 unit testing. Iam using the Struts 2 JUnit plugin . The normal actions which is working fine. But I have issue when I am testing the action which has interceptor. /MainAdmin.jsp