Testing a GLOBAL_ERROR
I'm trying to test if I got an Global Error with the following code in my JSP: logic:present name=org.apache.struts.action.ERROR property=org.apache.struts.action.GLOBAL_ERROR test /logic:present Is this correct? This does not print the test and I'm sure I have a Global Error? Thanks
Re: Testing a GLOBAL_ERROR
You might want to try logic:messagesPresent tag instead. ATTA - Original Message - From: Joao Batistella [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:59 PM Subject: Testing a GLOBAL_ERROR I'm trying to test if I got an Global Error with the following code in my JSP: logic:present name=org.apache.struts.action.ERROR property=org.apache.struts.action.GLOBAL_ERROR test /logic:present Is this correct? This does not print the test and I'm sure I have a Global Error? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
testing for presence of GLOBAL_ERROR
Hi, I know that you can test for the presence of actionErrors with the following. logic:present name=org.apache.struts.action.ERROR But how can I test specifically for the presence of a GLOBAL_ERROR? Many thanks, al
Re: testing for presence of GLOBAL_ERROR
logic:present name=org.apache.struts.action.ERROR property=org.apache.struts.action.GLOBAL_ERROR - Original Message - From: mucus snot [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 4:51 PM Subject: testing for presence of GLOBAL_ERROR Hi, I know that you can test for the presence of actionErrors with the following. logic:present name=org.apache.struts.action.ERROR But how can I test specifically for the presence of a GLOBAL_ERROR? Many thanks, al - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: testing for presence of GLOBAL_ERROR
Sorry, I meant to put the logic:messagesPresent tag and you don't need to specify the name, it defaults to the Globals.ERROR_KEY For messages stored under Globals.ERROR_KEY logic:messagesPresent property=org.apache.struts.action.GLOBAL_ERROR For messages stored under Globals.MESSAGE_KEY logic:messagesPresent message=true property=org.apache.struts.action.GLOBAL_ERROR Niall - Original Message - From: Niall Pemberton [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 12, 2004 5:36 PM Subject: Re: testing for presence of GLOBAL_ERROR logic:present name=org.apache.struts.action.ERROR property=org.apache.struts.action.GLOBAL_ERROR - Original Message - From: mucus snot [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 4:51 PM Subject: testing for presence of GLOBAL_ERROR Hi, I know that you can test for the presence of actionErrors with the following. logic:present name=org.apache.struts.action.ERROR But how can I test specifically for the presence of a GLOBAL_ERROR? Many thanks, al - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing DispatchAction with StrutsTestCase
Hi: I am working working on a Struts based web-app that uses DispatchAction to club the methods belonging to each entity in one Action class. I would like to know how to test such an action class using struts test case. Thanks in advance for the help. __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Testing DispatchAction with StrutsTestCase
Al, I just set the appropriate request parameter. If the parameter is 'method' and the method I want to test is 'get', it would look like this: addRequestParameter(method, get); On 2004-Feb-02 10:02, Al Rathon wrote: Hi: I am working working on a Struts based web-app that uses DispatchAction to club the methods belonging to each entity in one Action class. I would like to know how to test such an action class using struts test case. Thanks in advance for the help. __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Nick Heudecker System Mobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[REPOST] Struts throws exception during load testing
Hello All, I had posted this yesterday, but didn't receive any response so far. This error is coming more and more frequently when we increase the load on struts. Worst thing is that the stack trace shows that this error is not originated from any of my source. It seems to be an error being thrown by struts. The error is coming only during load testing. It doesn't come during a single user testing. I am using struts 1.1 on BEA weblogic 8.1 on HP-UX 11i. Can anyone who is an expert on struts internals have a look at this and tell me what is going wrong? Thanks for your help in advance.[Sorry for reposting this... But since using struts was my idea, now I am being questioned... And I have no clue about why this error comes] Here is the stack trace : Jan 15, 2004 10:02:28 PM IST Error HTTP BEA-101020 [ServletContext(id=28318025,name=testWebApp,context-path=/testWebApp)] Servlet failed with Exception java.lang.NullPointerException at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle tStubImpl.java:1053) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :387) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :305) at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis patcherImpl.java:382) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp l.java:286) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 69) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso r.java:274) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces sor.java:455) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ estProcessor.java:320) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle tStubImpl.java:1053) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :387) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W ebAppServletContext.java:6310) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:3622) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :2569) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) Regards, Abhishek. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [REPOST] Struts throws exception during load testing
Actually, the NPE is being thrown from a class/method internal to WebLogic. You need to address this with BEA support, not struts-user. -Original Message- From: Abhishek Srivastava [mailto:[EMAIL PROTECTED] Hello All, I had posted this yesterday, but didn't receive any response so far. This error is coming more and more frequently when we increase the load on struts. Worst thing is that the stack trace shows that this error is not originated from any of my source. It seems to be an error being thrown by struts. The error is coming only during load testing. It doesn't come during a single user testing. I am using struts 1.1 on BEA weblogic 8.1 on HP-UX 11i. Can anyone who is an expert on struts internals have a look at this and tell me what is going wrong? Thanks for your help in advance.[Sorry for reposting this... But since using struts was my idea, now I am being questioned... And I have no clue about why this error comes] Here is the stack trace : Jan 15, 2004 10:02:28 PM IST Error HTTP BEA-101020 [ServletContext(id=28318025,name=testWebApp,context-path=/testWebApp)] Servlet failed with Exception java.lang.NullPointerException at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se rvle tStubImpl.java:1053) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java :387) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java :305) at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Reques tDis patcherImpl.java:382) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bjec t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118 ) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche rImp l.java:286) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav a:10 69) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc esso r.java:274) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr oces sor.java:455) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles Requ estProcessor.java:320) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 279) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se rvle tStubImpl.java:1053) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java :387) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java :305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r un(W ebAppServletContext.java:6310) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bjec t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118 ) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl etCo ntext.java:3622) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl. java :2569) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) Regards, Abhishek. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts throws exception during load testing
Hello All, My application works fine when I test it with my browser. But if I run load test on it (25 parallel users) I start getting this exception periodically. However in the stack trace I cannot see any of my code. Why is the struts code generating this exception? That too only under minor loaded conditions? I am using struts 1.1 on BEA weblogic 8.1 Thanks for your help in advance. Here is the stack trace : Jan 15, 2004 10:02:28 PM IST Error HTTP BEA-101020 [ServletContext(id=28318025,name=testWebApp,context-path=/web samWebApp)] Servlet failed with Exception java.lang.NullPointerException at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle tStubImpl.java:1053) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :387) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :305) at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis patcherImpl.java:382) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp l.java:286) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 69) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso r.java:274) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces sor.java:455) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ estProcessor.java:320) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle tStubImpl.java:1053) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :387) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W ebAppServletContext.java:6310) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:3622) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :2569) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) Regards, Abhishek. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing iterator quantity
Using JSTL tags and assuming you have a collection of elements named elements in some scope: table ... c:forEach var=element items=${elements} varStatus=status c:if test=${(status.index % 10 == 0) !status.first}/tr/c:ifc:if test=${status.index % 10 == 0}tr/c:if td!-- put data here --/td c:if test=${status.last}/tr/c:if /c:forEach /table robert -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 10:58 PM To: [EMAIL PROTECTED] Subject: Testing iterator quantity Is there a way to know how many times i've iterated over a collection, using struts tags ? for instance: i have an iterator with 100 elements. I want to put each 10 elements in a different row of a table. Does anybody have an idea? thanks Otávio Augusto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reducing JSP Testing Time
Hello, Ive been using Struts for a little one now. My views consist of traditional JSP code. Note: My question is about the web page development cycle and relates to JSP rather than Struts itself. Since lots of you guys are coding JSP, Im still wanna raise the issue described below in this mailing list. Im using Eclipse for coding JSPs (I mean here HTML pages that include JSP tags, no tag libraries). In order to test the visual aspects of my JSPs, I then build a war archive and deploy it to my web container. Nothing original here. Since HTML pages that include JSP tags are VERY long to open through the browser on the first request (because of initial JSP compilation I guess), the testing time is rather long. And I really get fed up with this now. Therefore Im wondering f there is a ** magic ** tool that would allow me to code a web page that includes JSP tags in a VISUAL environment (like MS FrontPage does for HTML for instance). The idea here would be to be able to include JSP tags in a VISUAL manner (such as a html:text for instance) in order to actually seeA CODING TIME the result on the screen BEFORE actual deployment in the container. Does such a tool exist ? Do you have any recommendation for reducing this testing time for Web pages that include JSP tags ? Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reducing JSP Testing Time
[EMAIL PROTECTED] wrote: Do you have any recommendation for reducing this testing time for Web pages that include JSP tags ? Im using Eclipse for coding JSPs (I mean here HTML pages that include JSP tags, no tag libraries). In order to test the visual aspects of my JSPs, I then build a war archive and deploy it to my web container. Nothing original here. Above is what I do when I tag a CVS release about once a week. But.. for day to day devlopment, I edit JSP and actions live. I point my Resin and Tomcat configuration for document root to where my eclipse project files are, which are structured in a war like directories. As soon as I change a JSP I can refresh a page and see it. As soon as I change a anction or a formbean, I can refresh the page in Resin and see it. (Tomcat has a Eclipse plug in, but requires a restart and a patch to server.xml not to complain about session formbeans, which takes about 5 seconds as opposed to Resin, which is instant. Just saving in Eclipse auto compiles and Resin can tell a class file changed, and reloads the class). .the testing time is rather long. And I really get fed up with this now. Before I even start development, I make sure that ALL the forms (html pages) reports and outputs are mocked up in HTML. (no need to start writing formbean before we know what the client wants). Once that is done, I just write struts mappings to those html files, and a simple action and a formbean (since now I know the proerites) so I have a prototype based on the mock up. Note how I have the UI done 1st before construction. The UI developers can use any HTML tool they like. FrontPage, DreamWeaver, Vi I do not care, but I do know once they mock it up I can make it a prototype. *I just don't code utill I have requirments. * Since there is a mock up and a prototype, changes to formbeans and actions are minimal, the navigation is lready decided by the client. And last phase is DAO, which is not a problem, I can do any SQL join they want to see. (Some people code backwards, they look at data they have in tables, and they show those records to the client. How this aproach ties into requirments I have no idea, so client makes them go back to mess with each page over and over. Why they just don't use a formBean for what it's meant for- and interface- I have no idea. See- formal training helps.) Therefore Im wondering f there is a ** magic ** tool that would allow me to code a web page that includes JSP tags in a VISUAL environment (like MS FrontPage does for HTML for instance). The idea here would be to be able to include JSP tags in a VISUAL manner (such as a html:text for instance) in order to actually seeA CODING TIME the result on the screen BEFORE actual deployment in the container. Does such a tool exist ? Camino, M7, ExaStruts Studio, etc. Most are linked of the baseBeans cheat sheet page (but I am in the middle of redoing the site). But... I think Java developers like me, should do Java, and let UI developers use any UI tool they like. I do not know fonts, collors, spaceing, etc. .V Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reducing JSP Testing Time
You can improve greatly the development/testing cycle by doing the following: 1. Use ant for your build. 2. Precompile your jsp before viewing them. 3. Develop inside an unpacked war. 4. Use xdoclet 5. Use testing tools such as http://maxq.tigris.org, and testing frameworks such as http://jwebunit.sf.net and http://strutstestcase.sourceforge.net/ On 日, 2003-12-28 at 12:39, [EMAIL PROTECTED] wrote: Hello, Ive been using Struts for a little one now. My views consist of traditional JSP code. Note: My question is about the web page development cycle and relates to JSP rather than Struts itself. Since lots of you guys are coding JSP, Im still wanna raise the issue described below in this mailing list. Im using Eclipse for coding JSPs (I mean here HTML pages that include JSP tags, no tag libraries). In order to test the visual aspects of my JSPs, I then build a war archive and deploy it to my web container. Nothing original here. Since HTML pages that include JSP tags are VERY long to open through the browser on the first request (because of initial JSP compilation I guess), the testing time is rather long. And I really get fed up with this now. Therefore Im wondering f there is a ** magic ** tool that would allow me to code a web page that includes JSP tags in a VISUAL environment (like MS FrontPage does for HTML for instance). The idea here would be to be able to include JSP tags in a VISUAL manner (such as a html:text for instance) in order to actually seeA CODING TIME the result on the screen BEFORE actual deployment in the container. Does such a tool exist ? Do you have any recommendation for reducing this testing time for Web pages that include JSP tags ? Fred -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing iterator quantity
Is there a way to know how many times i've iterated over a collection, using struts tags ? for instance: i have an iterator with 100 elements. I want to put each 10 elements in a different row of a table. Does anybody have an idea? thanks Otávio Augusto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
OpenSTA/JUnitPerf/etc. - automated testing info
Can anyone direct me to some good mailing list(s)/forum(s)/book(s)/periodical(s) (all of the above) for doing unit testing, performance analysis, automated testing through Ant, site monitoring, etc. for JSP/Servlet/Struts/Tiles/J2EE-ish sites? I know so little about this particular aspect, yet I really believe it to be important, especially in maintaining and extending our current infrastructure - I just don't know where to start!!! I'd like some resources that I can start getting a grasp of the extent that I can test/automate/monitor our infrastructure as well as some resources that I can go to for assistance when things aren't working Quite Right(tm) Thanks! -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE:[OT] OpenSTA/JUnitPerf/etc. - automated testing info
Hi ! I actually have the same issue as you around here ! We tried to use the fitnesse tool (www.fitnesse.org) but it dosen't test dynamic content, so its not good enough for struts, but there is a extension of the junit specially design for struts (search at the mailing list history) and we always have the cactus framework... If you find anything else please let me know ! Regards José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: terça-feira, 2 de dezembro de 2003 12:04 To: Struts Users Mailing List Subject: OpenSTA/JUnitPerf/etc. - automated testing info Can anyone direct me to some good mailing list(s)/forum(s)/book(s)/periodical(s) (all of the above) for doing unit testing, performance analysis, automated testing through Ant, site monitoring, etc. for JSP/Servlet/Struts/Tiles/J2EE-ish sites? I know so little about this particular aspect, yet I really believe it to be important, especially in maintaining and extending our current infrastructure - I just don't know where to start!!! I'd like some resources that I can start getting a grasp of the extent that I can test/automate/monitor our infrastructure as well as some resources that I can go to for assistance when things aren't working Quite Right(tm) Thanks! -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
Martin Gainty [EMAIL PROTECTED] wrote: Modify Artur's TestCase generator http://wttools.sourceforge.net/unittestsgen/package.html to handle StrutsTestCase and this could be automated... beautiful, Funny you should bring this up. I just spent Wednesday working with StrutsTestCase and UnitTestsGen and talking with Artur Hefczyc. UnitTestsGen isn't being maintained anymore, but he's more than willing to let someone else become a project member and take it over. However, the templates are currently written in Java C code statements. I spent Thursday looking at JUnitDoclet which offers all of the same functionality plus a little bit more and is actively maintained. I'd recommend you take a look at this instead. It's a bit more work to get it set up and going than UnitTestsGen, but most of that can be fixed by helping create better documentation (which is what I plan to submit to JunitDoclet after posting this message). -Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tools for Testing
If the struts example could come with examples on how test cases could be written, that will help novices like us. Will having test cases within struts example be beyond the scope? -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:29 PM To: 'Struts Users Mailing List' Subject: RE: Tools for Testing Also Canoo WebTest is a free open source tool for automated testing of web applications. http://webtest.canoo.com/webtest/manual/WebTestHome.html I am not sure how that compares with HtmlUnit? I had a quick look at StrutsTestCase but (as a novice) could not see how to use it to develop the Struts layer of my application test-first. Shane -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 3:22 p.m. To: Struts Users Mailing List Subject: Re: Tools for Testing Adam Hardy wrote: OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results? Do you scan the returned page? If you're after validating the contents of the returned page, take a look at htmlunit at SourceForge. It turns the response into a sort of DOM that makes finding things pretty easy, and lets you modify field values and click the submit button, and review the result, to simulate a multi-request user interaction. Adam Craig On 10/09/2003 03:58 AM Vic Cekvenich wrote: I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results? Do you scan the returned page? Adam On 10/09/2003 03:58 AM Vic Cekvenich wrote: I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
Dirk Behrendt wrote: There are tools for automatic testing the Struts application? As mentioned the Struts TestCase on SourceForge is a Struts specific tool. It does a good job of directly testing the Struts internals, but to test it all you sometimes need to get Cactus running as well. Not a big deal, but it's one more thing to do. (We should really integrate this with the Struts core one of these days, so Daryl would have to scramble so hard to keep up, and Cactus would be less of an issue.) Though, my favorite approach is to do conventional unit testing of the business objects, and then use Canoo WebTest http://canoo.webtest.com on the front end. Canoo can't dig deep into the Struts internals the way Struts TestCase can, but it can test that you're pages are rendering and that the pages you expect render, all at the same time. It does need to key on more of the UI artifacts than Struts TestCase, but since it's configured from an XML file, it's much easier to keep it up to date. You need to have a web server running, but the tests execute *very* quickly. If you're using Struts as an thin adaptor between your business layer and server pages, then JUnit and Canoo may be all you need. Though, complex Struts applications can still benefit from Struts TestCase. HTH, Ted. -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
http://webtest.canoo.com/ - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 5:29 AM Subject: Re: Tools for Testing Dirk Behrendt wrote: There are tools for automatic testing the Struts application? As mentioned the Struts TestCase on SourceForge is a Struts specific tool. It does a good job of directly testing the Struts internals, but to test it all you sometimes need to get Cactus running as well. Not a big deal, but it's one more thing to do. (We should really integrate this with the Struts core one of these days, so Daryl would have to scramble so hard to keep up, and Cactus would be less of an issue.) Though, my favorite approach is to do conventional unit testing of the business objects, and then use Canoo WebTest http://canoo.webtest.com on the front end. Canoo can't dig deep into the Struts internals the way Struts TestCase can, but it can test that you're pages are rendering and that the pages you expect render, all at the same time. It does need to key on more of the UI artifacts than Struts TestCase, but since it's configured from an XML file, it's much easier to keep it up to date. You need to have a web server running, but the tests execute *very* quickly. If you're using Struts as an thin adaptor between your business layer and server pages, then JUnit and Canoo may be all you need. Though, complex Struts applications can still benefit from Struts TestCase. HTH, Ted. -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tools for Testing
-Original Message- Though, my favorite approach is to do conventional unit testing of the business objects, and then use Canoo WebTest http://canoo.webtest.com on the front end. I think you meant: http://webtest.canoo.com/ It looks interesting, thanks for the info. Cheers, Van Mike Van Riper mailto:[EMAIL PROTECTED] http://www.baychi.org/bof/struts/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
Adam Hardy wrote: OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results? Do you scan the returned page? If you're after validating the contents of the returned page, take a look at htmlunit at SourceForge. It turns the response into a sort of DOM that makes finding things pretty easy, and lets you modify field values and click the submit button, and review the result, to simulate a multi-request user interaction. Adam Craig On 10/09/2003 03:58 AM Vic Cekvenich wrote: I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tools for Testing
Also Canoo WebTest is a free open source tool for automated testing of web applications. http://webtest.canoo.com/webtest/manual/WebTestHome.html I am not sure how that compares with HtmlUnit? I had a quick look at StrutsTestCase but (as a novice) could not see how to use it to develop the Struts layer of my application test-first. Shane -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 3:22 p.m. To: Struts Users Mailing List Subject: Re: Tools for Testing Adam Hardy wrote: OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results? Do you scan the returned page? If you're after validating the contents of the returned page, take a look at htmlunit at SourceForge. It turns the response into a sort of DOM that makes finding things pretty easy, and lets you modify field values and click the submit button, and review the result, to simulate a multi-request user interaction. Adam Craig On 10/09/2003 03:58 AM Vic Cekvenich wrote: I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
Modify Artur's TestCase generator http://wttools.sourceforge.net/unittestsgen/package.html to handle StrutsTestCase and this could be automated... beautiful, -Martin - Original Message - From: Shane Mingins [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:29 PM Subject: RE: Tools for Testing Also Canoo WebTest is a free open source tool for automated testing of web applications. http://webtest.canoo.com/webtest/manual/WebTestHome.html I am not sure how that compares with HtmlUnit? I had a quick look at StrutsTestCase but (as a novice) could not see how to use it to develop the Struts layer of my application test-first. Shane -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 3:22 p.m. To: Struts Users Mailing List Subject: Re: Tools for Testing Adam Hardy wrote: OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results? Do you scan the returned page? If you're after validating the contents of the returned page, take a look at htmlunit at SourceForge. It turns the response into a sort of DOM that makes finding things pretty easy, and lets you modify field values and click the submit button, and review the result, to simulate a multi-request user interaction. Adam Craig On 10/09/2003 03:58 AM Vic Cekvenich wrote: I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tools for Testing
I am not sure if this is useful for Struts apps, but Robert C. Martin son Micah have written Fitnesse - The fully integrated standalone wiki, and acceptance testing framework. And it has FIT behind it http://fit.c2.com/ in some capacity. For anyone interested. http://fitnesse.org -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 3:47 p.m. To: Struts Users Mailing List Subject: Re: Tools for Testing Modify Artur's TestCase generator http://wttools.sourceforge.net/unittestsgen/package.html to handle StrutsTestCase and this could be automated... beautiful, -Martin - Original Message - From: Shane Mingins [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:29 PM Subject: RE: Tools for Testing Also Canoo WebTest is a free open source tool for automated testing of web applications. http://webtest.canoo.com/webtest/manual/WebTestHome.html I am not sure how that compares with HtmlUnit? I had a quick look at StrutsTestCase but (as a novice) could not see how to use it to develop the Struts layer of my application test-first. Shane -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 3:22 p.m. To: Struts Users Mailing List Subject: Re: Tools for Testing Adam Hardy wrote: OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results? Do you scan the returned page? If you're after validating the contents of the returned page, take a look at htmlunit at SourceForge. It turns the response into a sort of DOM that makes finding things pretty easy, and lets you modify field values and click the submit button, and review the result, to simulate a multi-request user interaction. Adam Craig On 10/09/2003 03:58 AM Vic Cekvenich wrote: I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: struts-user- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools for Testing
I just switched to openSTA.sf.net (on a client tip ;-) Nguyen, Hien wrote: Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tools for Testing
Hello! There are tools for automatic testing the Struts application? Dirk
RE: Tools for Testing
Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: testing
test2 Emerson Cargnin wrote: just testing... -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
testing
just testing... -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie question: Testing if collection is != null before iterating
How can I test if a collection is not null before iterating through it? Does the logic:iterate tag do this ckeck and skip the iteration if the collection is null? Thanks a lot, Todor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question: Testing if collection is != null before iterating
Check logic:notEmpty tag -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todor Sergueev Petkov Sent: Saturday, August 09, 2003 12:32 PM To: Struts Users Mailing List Subject: Newbie question: Testing if collection is != null before iterating How can I test if a collection is not null before iterating through it? Does the logic:iterate tag do this ckeck and skip the iteration if the collection is null? Thanks a lot, Todor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
testing, Please ignore
This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
RE: Testing Struts-Config
An additional useful test would be whether all the referenced classes actually exist in your webapp (form beans, actions, ...). Of course, that probably ought to be a configurable startup feature for Struts itself. This would be perfect...if you need any help let me know. -James Craig Edgar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Struts-Config
IBM's Websphere Studio Application Developer, version 5, has a good struts UI. It does quite a bit of validation, a lot of what is being mentioned here. My one complaint though is that I get a warning for every time I use a tiles definition though. It doesn't hurt anything, it's just so ugly... - Keith -Original Message- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 9:57 PM To: '[EMAIL PROTECTED]' Subject: Testing Struts-Config Does anyone know of a tool that just tests the struts-config for 'class correctness'? The situation I find myself in is I have a large project, which was heavily refactored (unfortunately w/o adequate struts tests), and I need to debug the struts-config. Thanks in advance. Edgar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing Struts-Config
Does anyone know of a tool that just tests the struts-config for 'class correctness'? The situation I find myself in is I have a large project, which was heavily refactored (unfortunately w/o adequate struts tests), and I need to debug the struts-config. Thanks in advance. Edgar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Testing Struts-Config
Edgar Dollin wrote: Does anyone know of a tool that just tests the struts-config for 'class correctness'? The situation I find myself in is I have a large project, which was heavily refactored (unfortunately w/o adequate struts tests), and I need to debug the struts-config. This may help you, though I haven't used it: http://sourceforge.net/projects/strutstestcase/ Thanks in advance. Edgar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Rob Leland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Struts-Config
If you use Struts Console it will tell you of any problems your config file has with respect to validating against the Struts Config DTD. http://www.jamesholmes.com/struts/ However, Struts Console will not tell you things like the fact that you have 2 form beans with the same name. I have this type of functionality on my todo list though. -James -Original Message- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 8:57 PM To: '[EMAIL PROTECTED]' Subject: Testing Struts-Config Does anyone know of a tool that just tests the struts-config for 'class correctness'? The situation I find myself in is I have a large project, which was heavily refactored (unfortunately w/o adequate struts tests), and I need to debug the struts-config. Thanks in advance. Edgar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Struts-Config
On Thu, 24 Jul 2003, James Holmes wrote: Date: Thu, 24 Jul 2003 23:18:40 -0400 From: James Holmes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Testing Struts-Config If you use Struts Console it will tell you of any problems your config file has with respect to validating against the Struts Config DTD. http://www.jamesholmes.com/struts/ However, Struts Console will not tell you things like the fact that you have 2 form beans with the same name. I have this type of functionality on my todo list though. An additional useful test would be whether all the referenced classes actually exist in your webapp (form beans, actions, ...). Of course, that probably ought to be a configurable startup feature for Struts itself. -James Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Online Multiple Choice Testing System--Struts will be considered...
I'm going to design a web application. I'll call the great project Online Multiple Choice Testing System, that could be deployed in my LAN-ed campus. There will be at least three types of users: guest, tester, testee. Guest is able to see general information. Testee is able to log in and do a test of her choice. Tester is able to create, edit, delete, and manage test. Tester can have more than one set of test. Tester is also able to make her test as active meaning that it can be used by testee; as disabled meaning that the test is inactive-inaccessible by testee; as active for certain time and date period meaning that the test can only be done only at predertermined time period. Tester is also able to analyze her test items, such as statistical analysis. Maybe the fourth type of user will be better, i.e., admin with task to manage the system such as limiting number of test that can be created by the tester. Other possibilities may occur later. Questions are: How should I implement the above project (using Java technology) with regard to should I use struts or not? What will be the benefits of each approach-with or without struts? With regard to ease of implementation, because I'm new to web application, which one will be easier-with or without struts (for a newbie-r)? why? However, I'm tempted to use struts. When I use struts, what simple steps should I do to finish the project? Are there similar examples (using struts) found at the Net that I can cusomize to my purpose? In this case, I'm going to use MySQL as database engine. Thanks for your suggestions and opinions. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Online Multiple Choice Testing System--Struts will be considered...
Hi, I did this (more or less) using Struts and Hibernate an it worked very well. You may have a look at http://it-performance.net using gast/gast as login. Sincerly, -Ursprüngliche Nachricht- Von: nurkhamid [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Juli 2003 09:17 An: [EMAIL PROTECTED] Betreff: Online Multiple Choice Testing System--Struts will be considered... I'm going to design a web application. I'll call the great project Online Multiple Choice Testing System, that could be deployed in my LAN-ed campus. There will be at least three types of users: guest, tester, testee. Guest is able to see general information. Testee is able to log in and do a test of her choice. Tester is able to create, edit, delete, and manage test. Tester can have more than one set of test. Tester is also able to make her test as active meaning that it can be used by testee; as disabled meaning that the test is inactive-inaccessible by testee; as active for certain time and date period meaning that the test can only be done only at predertermined time period. Tester is also able to analyze her test items, such as statistical analysis. Maybe the fourth type of user will be better, i.e., admin with task to manage the system such as limiting number of test that can be created by the tester. Other possibilities may occur later. Questions are: How should I implement the above project (using Java technology) with regard to should I use struts or not? What will be the benefits of each approach-with or without struts? With regard to ease of implementation, because I'm new to web application, which one will be easier-with or without struts (for a newbie-r)? why? However, I'm tempted to use struts. When I use struts, what simple steps should I do to finish the project? Are there similar examples (using struts) found at the Net that I can cusomize to my purpose? In this case, I'm going to use MySQL as database engine. Thanks for your suggestions and opinions. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Online Multiple Choice Testing System--Struts will be considered...
All web based projects of a reasonable size require a good MVC framework. Without a framework you'll have to write a lot more code and the app is likely to be unmaintainable. So, I encourage you to use Struts (or any framework you like better). By the way, any database that doesn't support foreign keys or views isn't worth using :-). David I'm going to design a web application. I'll call the great project Online Multiple Choice Testing System, that could be deployed in my LAN-ed campus. There will be at least three types of users: guest, tester, testee. Guest is able to see general information. Testee is able to log in and do a test of her choice. Tester is able to create, edit, delete, and manage test. Tester can have more than one set of test. Tester is also able to make her test as active meaning that it can be used by testee; as disabled meaning that the test is inactive-inaccessible by testee; as active for certain time and date period meaning that the test can only be done only at predertermined time period. Tester is also able to analyze her test items, such as statistical analysis. Maybe the fourth type of user will be better, i.e., admin with task to manage the system such as limiting number of test that can be created by the tester. Other possibilities may occur later. Questions are: How should I implement the above project (using Java technology) with regard to should I use struts or not? What will be the benefits of each approach-with or without struts? With regard to ease of implementation, because I'm new to web application, which one will be easier-with or without struts (for a newbie-r)? why? However, I'm tempted to use struts. When I use struts, what simple steps should I do to finish the project? Are there similar examples (using struts) found at the Net that I can cusomize to my purpose? In this case, I'm going to use MySQL as database engine. Thanks for your suggestions and opinions. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online Multiple Choice Testing System--Struts will be considered...
- Original Message - From: nurkhamid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 14, 2003 2:16 AM Subject: Online Multiple Choice Testing System--Struts will be considered... I'm going to design a web application. I'll call the great project Online Multiple Choice Testing System, that could be deployed in my LAN-ed campus. Such multiple choice testing system is a sample in the Carrier User's Guide at http://www.netspread.com There will be at least three types of users: guest, tester, testee. Guest is able to see general information. Testee is able to log in and do a test of her choice. Tester is able to create, edit, delete, and manage test. You could define a user group for testers and another group for testees. Anonymous guest is supported in Carrier too. The testers can be assigned to be the owners of some item and action mapping categories. They are responsible to compose testing web forms. Tester can have more than one set of test. Tester is also able to make her test as active meaning that it can be used by testee; as disabled meaning that the test is inactive-inaccessible by testee; as active for certain time and date period meaning that the test can only be done only at predertermined time period. Tester is also able to analyze her test items, such as statistical analysis. In Carrier, action mappings (logic web forms) and item forms can be published and withdrawn. They are available to use only when they are published by testers. In the sample, once a testing is started, it is in a workflow process, called inbox process. It then be moved from stage to stage by the testee or the tester (who is responsible for grading) You could write time control codes for the testing stage to limit the total duration the testees could have. An very important feature is that testers can replay the testing web forms submitted in the inbox process. And on the testing web forms, testers could also specify certain area reserved for instructor only. You'll find it in the sample. In that area, tester give their grades or comments to the testees. Maybe the fourth type of user will be better, i.e., admin with task to manage the system such as limiting number of test that can be created by the tester. Carrie supports this feature too. Other possibilities may occur later. Questions are: How should I implement the above project (using Java technology) with regard to should I use struts or not? What will be the benefits of each approach-with or without struts? Carrier is built on top of Struts and a virtuall free Internet IDE. One CPU license could support thousands of testers and testees on Internet. You then focus on the socre evaluation engine, testing workflow design, testing template design, analysis, etc, if you use Carrier as your platform. With regard to ease of implementation, because I'm new to web application, which one will be easier-with or without struts (for a newbie-r)? why? However, I'm tempted to use struts. When I use struts, what simple steps should I do to finish the project? Are there similar examples (using struts) found at the Net that I can cusomize to my purpose? In this case, I'm going to use MySQL as database engine. MySQL is not recommended. We support Oracle database. If you do not have Oracle resources, you send email directly to me to schedule a live demo for Carrier on Internet at our site. You will find as a tester, you are able to compose live testing web forms in our site completely on Internet. The software can be downloaded at http://www.netspread.com/downloads/instructions.html With the Oracle database, Carrier is able to manage thousands of testing web forms without any problem. Thanks for your suggestions and opinions. Jing Netspread Carrier http://www.netspread.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Frameworks - experience/recommendation
Thanks to both Erik and Simon for the excellent advice/links, Regards, Brian -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 17:11 To: Struts Users Mailing List Subject: Re: Testing Frameworks - experience/recommendation Brian McSweeney wrote: Hi all, I know this has been discussed previously, but Id like some user feedback. Im going to start writing test cases soon, and Id like to know peoples experience using the various frameworks available. First off, my environment: Im using Struts talking to ejbs (session façade to entity beans). So to test, Id like to test both functionality, and performance under load. My understanding is about the frameworks available is that they pretty much all use Junit. I know that strutstestcase is recommended a lot, but it doesnt seem obvious to me how to do load testing with it, like I could with JunitPerf. Anyones experience, advice would be very much appreciated, Not specific to load or performance testing, but I found the following article helpful in testing some parts of my model/domain code: http://www-106.ibm.com/developerworks/library/j-mocktest.html The only problem is that if you are using ServiceLocator pattern, and you wish to subclass the ServiceLocator to override its behavior (so that you can have it provide mock objects instead of actual database connections or EJB handles, etc), static methods are not inherited in subclasses. For instance, I am using a static method to access the ServiceLocator singleton instance Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing Frameworks - experience/recommendation
Hi all, I know this has been discussed previously, but Id like some user feedback. Im going to start writing test cases soon, and Id like to know peoples experience using the various frameworks available. First off, my environment: Im using Struts talking to ejbs (session façade to entity beans). So to test, Id like to test both functionality, and performance under load. My understanding is about the frameworks available is that they pretty much all use Junit. I know that strutstestcase is recommended a lot, but it doesnt seem obvious to me how to do load testing with it, like I could with JunitPerf. Anyones experience, advice would be very much appreciated, Thanks, Brian
RE: Testing Frameworks - experience/recommendation
Brian, I'm currently trying JMeter (also a Jakarta project) and am finding it very useful. It has the advantage that it is possible to record web sessions and play them back in testing mode. This eliminates the need for coding of tests. The tools that extend Junit typically require coding, so they take more time. If you have the time, you might want to consider a combination of JMeter and the HttpUnit/JUnitPerf. I was unable to get StrutsTestCase working on my W2K box (it worked on my Mac OS X box), so I've decided not to use it on this iteration of testing. I'll come back to it in the spring. Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 Never give in - never, never, never, never, in nothing great or small, large or petty, never give in except to convictions of honor and good sense. - Sir Winston Churchill -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: Testing Frameworks - experience/recommendation Hi all, I know this has been discussed previously, but I'd like some user feedback. I'm going to start writing test cases soon, and I'd like to know people's experience using the various frameworks available. First off, my environment: I'm using Struts talking to ejbs (session façade to entity beans). So to test, I'd like to test both functionality, and performance under load. My understanding is about the frameworks available is that they pretty much all use Junit. I know that strutstestcase is recommended a lot, but it doesn't seem obvious to me how to do load testing with it, like I could with JunitPerf. Anyone's experience, advice would be very much appreciated, Thanks, Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Testing Frameworks - experience/recommendation
Brian McSweeney wrote: Hi all, I know this has been discussed previously, but Id like some user feedback. Im going to start writing test cases soon, and Id like to know peoples experience using the various frameworks available. First off, my environment: Im using Struts talking to ejbs (session faade to entity beans). So to test, Id like to test both functionality, and performance under load. My understanding is about the frameworks available is that they pretty much all use Junit. I know that strutstestcase is recommended a lot, but it doesnt seem obvious to me how to do load testing with it, like I could with JunitPerf. Anyones experience, advice would be very much appreciated, Not specific to load or performance testing, but I found the following article helpful in testing some parts of my model/domain code: http://www-106.ibm.com/developerworks/library/j-mocktest.html The only problem is that if you are using ServiceLocator pattern, and you wish to subclass the ServiceLocator to override its behavior (so that you can have it provide mock objects instead of actual database connections or EJB handles, etc), static methods are not inherited in subclasses. For instance, I am using a static method to access the ServiceLocator singleton instance Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts, Junit testing
Hi, I'm am working through the Struts Kick Start book by Turner/Bedell and can't get Junit testing working with the Sample app as described in Chapter 20. I have ant 1.5, Junit 3.7, Tomcat 4.1.18, JDK 1.3.1_04. Here is my section of the build.xml file for Junit: target name=struts-tests depends=build junit printsummary=yes classpath pathelement location=${object.home}/ pathelement location=${build.home}/ pathelement location=${build.home}/WEB-INF/classes/ path refid=compile.classpath/ /classpath formatter type=plain / test name=ch20.hello.mocktest.TestHelloAction / !-- test name=ch20.hello.mocktest.TestHelloActionMultiple / -- /junit /target here is my output from the test: Testsuite: ch20.hello.mocktest.TestHelloAction Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.397 sec - Standard Error - 0 [main] INFO servletunit.ServletContextSimulator - ActionServlet: init 150 [main] INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 150 [main] INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 3075 [main] INFO util.PropertyMessageResources - Initializing, config='ch20.hello.ApplicationResources', returnNull=true - --- Testcase: testNoParameters took 4.397 sec Caused an ERROR null java.lang.NullPointerException at servletunit.struts.Common.getActionConfig(Common.java:221) at servletunit.struts.Common.findForward(Common.java:216) at servletunit.struts.Common.verifyForwardPath(Common.java:139) at servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java: 462) at ch20.hello.mocktest.TestHelloAction.testNoParameters(TestHelloAction.java:14 ) Testcase: testNoParameters My struts-config.xml file is in the {build.home}/WEB-INF directory. Does anyone have any ideas on what the problem is or where I should look? Thanks in advance Jim Nielsen EDS [EMAIL PROTECTED] phone: (810) 234-4025 (8-394) AOL IM: JimRNielsenEDS GLTC-B 4100 S. Saginaw., MC: 485-303-321 Flint, MI 48557 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
exceptions during load testing
Hi all, I did some load testing with my struts application (with tomcat) with around 40 simulated concurrent users. The following exception occurs in the tomcat log for the app. When there is only one or a few users, this exception doesn't pop up. 2003-06-19 14:34:38 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1190) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.sun.ace.runtime.client.jspbean.AceGenericFilter.doFilter(AceGenericFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) - Root Cause - java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1188) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.sun.ace.runtime.client.jspbean.AceGenericFilter.doFilter(AceGenericFilter.java:49
Re: exceptions during load testing
Oh, forgot to post the actual question. Did anyone experienced this before when they are doing load testing with their application ? Louis Leung wrote: Hi all, I did some load testing with my struts application (with tomcat) with around 40 simulated concurrent users. The following exception occurs in the tomcat log for the app. When there is only one or a few users, this exception doesn't pop up. 2003-06-19 14:34:38 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1190) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.sun.ace.runtime.client.jspbean.AceGenericFilter.doFilter(AceGenericFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) - Root Cause - java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1188) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
Testing the performance of Struts
Chaps I have developed a BIG Struts app, and want to test load, performance blah blah blah... while users are all playing nicely at the same time. What's a good tool to use? Regards Jason Meredith *** The e-mail and any attachments are confidential. They may contain privileged information and are intended for the named addressee(s) only. If you are not the intended recipient, please notify us immediately and do not disclose, distribute, or retain this e-mail or any part of it. Unless expressly stated, opinions in this e-mail are those of the individual sender and not of the FIMAT Group. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking. The FIMAT Group reserve the right to monitor e-mail communications through its networks. Where this communication constitutes a financial promotion it is issued and approved by Fimat International Banque S.A. (UK Branch) and is only intended for persons of a kind described in article 19(5) of the Financial Services and Markets Act 2000 (Financial Promotion) Order 2001. This information is not intended to be distributed to UK Private Customers (as defined by the Financial Services Authority). Fimat International Banque S.A. (UK Branch) whose registered branch in England is at SG House, 41 Tower Hill, London EC3N 4SG is authorised by the Commission Bancaire in France and by the UK Financial Services Authority; regulated by the Financial Services Authority for the conduct of UK Business and is entered in the Financial Services Authority's register (Register Number 183415), access to which can be gained via the following link: www.fsa.gov.uk/register/ Member and a SETS Participant of the London Stock Exchange (LSE). Where this communication is confirming an on exchange transaction (as defined by the LSE),the transaction is subject to the rules of the LSE. Any information, opinions, estimates and forecasts contained in this document have been arrived at or obtained from public sources believed to be reliable and in good faith which has not been independently verified and no warranty, express or implied, is made as to their accuracy, completeness or correctness. This document is not an offer to sell or a solicitation to acquire or dispose of an interest in financial instruments. If you have received this transmission in error, please telephone +44 020 7676 8999 immediately so that we can arrange for its return. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SOLVED Re: [OT] unit testing something that uses JNDI
Erik Price wrote: Hi, I would like to write some unit tests for some classes. Unfortunately the classes use some JNDI data so they need to be run from within my app server (Tomcat in this case) in order to get the JNDI data from the web.xml. Any suggestions on a good way to go about this? The solution is to use mock objects, though it will require a small refactoring made to the original code: If I move the code that calls JNDI to its own method (called getJndiData or something), then I can write an anonymous subclass of my class in the unit test and override this method to return a predetermined (non-JNDI) mock value to use in the unit test. This obviously doesn't do anything to assure that the JNDI call works, but it means I can write my unit test now instead of waiting until my webapp is at a point where it is assembled enough to deploy and test in the container. Someone else recommended Cactus, it is on my to-do list to learn how to use it but for right now I can use JUnit + the mock object. Just thought I'd share this cool method. Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Unit Testing
There are many test tools to stuff: struts Test Cactus HttpUnit but none of them seem to do what I want. I want to set up a test to load the request with data to test that my page renders ok, just now I am using a scriptlet in the jsp. Is there any way I can move this out to a class which launches the JSp in a bowser with the data on the request. Ta John Tesco Personal Finance Limited is a joint venture between The Royal Bank of Scotland plc and Tesco PLC. Tesco Personal Finance Limited is registered in Scotland No 173199. Registered Office: 42 St Andrew Square, Edinburgh EH2 2YE. This e-mail message is confidential and for use by the addressee only. If you are not the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Tesco Personal Finance Limited does not accept responsibility for changes made to this message after it was sent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Unit Testing
On Wed, 2003-04-02 at 04:41, McRobb, John wrote: There are many test tools to stuff: struts Test Cactus HttpUnit but none of them seem to do what I want. I want to set up a test to load the request with data to test that my page renders ok, just now I am using a scriptlet in the jsp. Is there any way I can move this out to a class which launches the JSp in a bowser with the data on the request. While not *actually* launching a browser, the Cactus testing framework (w/ HTTPUnit) allows you to test your JSPs as if they were rendered on a browser. It actually goes a few steps beyond just calling a JSP, because in the beginXXX method you can setup the request (adding cookies, headers, etc), then in the testXXX method, you can forward to your JSP, then in endXXX you can get the results of the rendered JSP as a WebResponse. I've used a few variations of these methods to write the cactus tests for the core taglibs (although not finished yet). Check out the source distribution to see examples of how I've setup testing for the taglibs. Ta John Tesco Personal Finance Limited is a joint venture between The Royal Bank of Scotland plc and Tesco PLC. Tesco Personal Finance Limited is registered in Scotland No 173199. Registered Office: 42 St Andrew Square, Edinburgh EH2 2YE. This e-mail message is confidential and for use by the addressee only. If you are not the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Tesco Personal Finance Limited does not accept responsibility for changes made to this message after it was sent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- James Mitchell Software Developer/Struts Evangelist http://www.open-tools.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing your Struts Application
Can anybody point out some good automated testing strategies for Struts-based applications? Ideally, I'd like to run automated tests that simulate an end user: 1) filling out a form and testing for success and expected failure 2) clicking on a url that brings up a result set I know I could unit test some of my business and data layers, but that leaves out potential run-time errors that may exist in the JSP pages (like a typo for an html:text property=naame / tag). I'm really interested to know what automated testing is working for people, especially for larger web applications with more moving parts. Aaron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Testing your Struts Application
several previous posts refer to this - might check it out: http://strutstestcase.sourceforge.net/ -jeff On Saturday, March 15, 2003, at 04:02 PM, Aaron O'Hara wrote: Can anybody point out some good automated testing strategies for Struts-based applications? Ideally, I'd like to run automated tests that simulate an end user: 1) filling out a form and testing for success and expected failure 2) clicking on a url that brings up a result set I know I could unit test some of my business and data layers, but that leaves out potential run-time errors that may exist in the JSP pages (like a typo for an html:text property=naame / tag). I'm really interested to know what automated testing is working for people, especially for larger web applications with more moving parts. Aaron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] ignore. Testing.
-- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stress Testing Struts apps
if you want a free solution, you can always use apache benchmark to hit your application with multiple requests. this is a cheap but flimsy option. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stress Testing Struts apps
I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stress Testing Struts apps
Do you have an Ant task that does that, or do you just use java, exec, or something like that? Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stress Testing Struts apps
http://www.programmerplanet.org/ant-jmeter/ Joe -Original Message- From: Tim Shadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Stress Testing Struts apps Do you have an Ant task that does that, or do you just use java, exec, or something like that? Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stress Testing Struts apps
the power of google never fails to amaze. how about this one? http://www.osdl.org/projects/performance/ i have never used it but i might look into it too. -Original Message- From: Joseph Fifield [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:16 PM To: 'Struts Users Mailing List' Subject: RE: Stress Testing Struts apps http://www.programmerplanet.org/ant-jmeter/ Joe -Original Message- From: Tim Shadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Stress Testing Struts apps Do you have an Ant task that does that, or do you just use java, exec, or something like that? Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stress Testing Struts apps
Great post Joseph. .V Joseph Fifield wrote: http://www.programmerplanet.org/ant-jmeter/ Joe -Original Message- From: Tim Shadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Stress Testing Struts apps Do you have an Ant task that does that, or do you just use java, exec, or something like that? Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stress Testing Struts apps
That's cool. Thanks! Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* http://www.programmerplanet.org/ant-jmeter/ Joe -Original Message- From: Tim Shadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Stress Testing Struts apps Do you have an Ant task that does that, or do you just use java, exec, or something like that? Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stress Testing Struts apps
I remember back in the day when i was programming my own version of pong on my Atari 2600 using the Game Programmer cartridge. Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Tim Shadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 1:39 PM To: Struts Users Mailing List Subject: Re: Stress Testing Struts apps That's cool. Thanks! Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* http://www.programmerplanet.org/ant-jmeter/ Joe -Original Message- From: Tim Shadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Stress Testing Struts apps Do you have an Ant task that does that, or do you just use java, exec, or something like that? Tim Joseph Fifield wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* I've been doing this with JMeter, and I'm pretty happy with it. I have an ant script running my test plans nightly and generating a report (similar to junit+junitreport). Joe -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:17 PM To: Struts User List Subject: Stress Testing Struts apps I need some automated tools that I can stress test my struts app with. Any suggestions? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Ancient Computing (was RE: Stress Testing Struts apps)
Brandon wrote: I remember back in the day when i was programming my own version of pong on my Atari 2600 using the Game Programmer cartridge. I used to type in hundreds of lines of BASIC (I think...) code from magazines into my Timex Sinclair 1000, only to lose it all if someone bumped the table and moved the wires ever so slightly. Then I graduated to my Commodore 64, and repeated the process, typing in hundreds of lines of (what I now know is) hexadecimal numbers. But first you had to type in the program for what was basically a hex editor, which would calculate the checksum and match it against the last two digits on each line of the code in the magazine saving you hours of double checking every character to see where you messed up. But now, now I could save it all on my cassete tape drive! (And later, a 5 1/4 floppy disk drive.) -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management
RE: [OT]Testing ... Testing ... 1 2 3
I'll get you! And your little dog, too! (Long time, no see) Mark (thought the dog's name was ToTo) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 1:18 AM Ignore the man behind the curtain! ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing ... Testing ... 1 2 3
Ignore the man behind the curtain! ;-) -- Eddie Bush - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing I18n.
Hi, I am using Win2kServer using English version. I wanna test the i18n support from struts. I want to create an app using Chinese and German language. How to emulate it using struts? I mean how to make struts to think that this application runs on Chinese/German locale. Regards, === Meriahkan Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman yang Anda kasihi ! Kepada para pengguna TELKOMSave, lakukan pergantian kartu lama Anda segera ! http://www.telkomsave.com === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Testing I18n.
Struts can detect the client's prefered language by using the accept-languages header value. You can do this on IE by selecting ToolsInternet OptionsLanguages and choosing Chinese as your preferred language. Then from within an action you can retrieve the locale with getLocale(req). Note that i18n in struts is different from swing in that you must always tell the java.text and util classes which locale to use. The default locale of the server may not be what the user wants. Is that what you meant by make struts to think that this application runs on Chinese/German locale? Taylor Cowan - Original Message - From: joni santoso [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 9:00 PM Subject: Testing I18n. Hi, I am using Win2kServer using English version. I wanna test the i18n support from struts. I want to create an app using Chinese and German language. How to emulate it using struts? I mean how to make struts to think that this application runs on Chinese/German locale. Regards, === Meriahkan Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman yang Anda kasihi ! Kepada para pengguna TELKOMSave, lakukan pergantian kartu lama Anda segera ! http://www.telkomsave.com === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Testing I18n.
Joni, if you want to change the locale depending on the user logging in to the application, you can use the setLocale (javax.servlet.http.HttpServletRequest request, java.util.Locale locale) in your Struts action class. This overrides the default locale of the browser. Regards, Bernhard -Ursprüngliche Nachricht- Von: Taylor Cowan Gesendet: Mittwoch, 5. Februar 2003 09:42 An: Struts Users Mailing List Betreff: Re: Testing I18n. Struts can detect the client's prefered language by using the accept-languages header value. You can do this on IE by selecting ToolsInternet OptionsLanguages and choosing Chinese as your preferred language. Then from within an action you can retrieve the locale with getLocale(req). Note that i18n in struts is different from swing in that you must always tell the java.text and util classes which locale to use. The default locale of the server may not be what the user wants. Is that what you meant by make struts to think that this application runs on Chinese/German locale? Taylor Cowan - Original Message - From: joni santoso To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 9:00 PM Subject: Testing I18n. Hi, I am using Win2kServer using English version. I wanna test the i18n support from struts. I want to create an app using Chinese and German language. How to emulate it using struts? I mean how to make struts to think that this application runs on Chinese/German locale. Regards, === Meriahkan Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman yang Anda kasihi ! Kepada para pengguna TELKOMSave, lakukan pergantian kartu lama Anda segera ! http://www.telkomsave.com === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error in testing a Custom Tag
Hi Elma, You probably need to give folks more background then this (e.g. we are running under weblogic). From what I can tell it looks like your application is not properly deployed. If you are still having problems, stop by and we can chat about it. Charles Fineman Systems Architect Princeton eCom 609 606 3084 |-+ | | EMilitante@prince| | | tonecom.com | | || | | 01/09/2003 10:03 | | | PM | | | Please respond to| | | Struts Users| | | Mailing List| | || |-+ --| | | | To: Struts-User (E-mail) [EMAIL PROTECTED] | | cc: | | Subject: Error in testing a Custom Tag | --| I'm not sure if this is related to custom tags, but when I created a TLD file and it's associated objects(class,jsp and updated web.xml), I get the following error: Jan 9, 2003 9:51:46 PM EST Error HTTP HttpServer(6804417,null default ctx,emilitanServer) found no context for /wrox-struts/xxx.jsp. This request does not match the context path for any installed web applications and there is no default web application configured. It doesn't seem to be related to the xxx.jsp file. Can someone help with this??? Thanks. CONFIDENTIAL MATERIAL. This electronic message contains information from Princeton eCom Corporation, is confidential and may be privileged. It is intended for the use of the addressee only. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), any disclosure, copy, distribution or use of the contents of this message is prohibited. Please destroy this message and notify us immediately if this is the case by sending a reply to this message or by sending an e-mail to [EMAIL PROTECTED] and by destroying all copies of this message and any attachments. Thank you. For more information about Princeton eCom Corporation, please visit us at http://www.princetonecom.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] CONFIDENTIAL MATERIAL. This electronic message contains information from Princeton eCom Corporation, is confidential and may be privileged. It is intended for the use of the addressee only. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), any disclosure, copy, distribution or use of the contents of this message is prohibited. Please destroy this message and notify us immediately if this is the case by sending a reply to this message or by sending an e-mail to [EMAIL PROTECTED] and by destroying all copies of this message and any attachments. Thank you. For more information about Princeton eCom Corporation, please visit us at http://www.princetonecom.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error in testing a Custom Tag
I'm not sure if this is related to custom tags, but when I created a TLD file and it's associated objects(class,jsp and updated web.xml), I get the following error: Jan 9, 2003 9:51:46 PM EST Error HTTP HttpServer(6804417,null default ctx,emilitanServer) found no context for /wrox-struts/xxx.jsp. This request does not match the context path for any installed web applications and there is no default web application configured. It doesn't seem to be related to the xxx.jsp file. Can someone help with this??? Thanks. CONFIDENTIAL MATERIAL. This electronic message contains information from Princeton eCom Corporation, is confidential and may be privileged. It is intended for the use of the addressee only. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), any disclosure, copy, distribution or use of the contents of this message is prohibited. Please destroy this message and notify us immediately if this is the case by sending a reply to this message or by sending an e-mail to [EMAIL PROTECTED] and by destroying all copies of this message and any attachments. Thank you. For more information about Princeton eCom Corporation, please visit us at http://www.princetonecom.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Testing an action
Hi, Is there any way that we can test an action? We usually use a jsp, and a form which submit to action. Alireza. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Testing an action
Alireza, I highly recommend StrutsTestCase, which makes use of JUnit and the Jakarta Cactus framework: http://strutstestcase.sourceforge.net - rdo -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Vote] Wouldn't it be nice to have a testing framework like Strut sTestCase as part of the Struts distribution?
JUnit? -Original Message- From: Trieu, Danny [mailto:DTrieu;downeysavings.com] Sent: Thursday, October 31, 2002 12:57 PM I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Struts' distribution. Thanks, danny -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [Vote] Wouldn't it be nice to have a testing framework like S trut sTestCase as part of the Struts distribution?
Yes, both framework are Junit. -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 10:25 AM To: 'Struts Users Mailing List' Subject: RE: [Vote] Wouldn't it be nice to have a testing framework like S trut sTestCase as part of the Struts distribution? JUnit? -Original Message- From: Trieu, Danny [mailto:DTrieu;downeysavings.com] Sent: Thursday, October 31, 2002 12:57 PM I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Struts' distribution. Thanks, danny -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
[Vote] Wouldn't it be nice to have a testing framework like StrutsTestCase as part of the Struts distribution?
Hi all, I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Struts' distribution. Thanks, danny
testing your Struts JSPs
What JUnit extension or JUnit-like tools do folks use to test their JSPs? I am aware of StrutsTestCase but in this instance I need to test form validation on an action that uses an ActionForward directly (no associated Action class). So direct JSP testing makes more sense. -a -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: testing your Struts JSPs
Cactus might do this. David From: Andy Kriger [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: testing your Struts JSPs Date: Tue, 22 Oct 2002 12:33:15 -0400 What JUnit extension or JUnit-like tools do folks use to test their JSPs? I am aware of StrutsTestCase but in this instance I need to test form validation on an action that uses an ActionForward directly (no associated Action class). So direct JSP testing makes more sense. -a -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
[TESTING] Testing for thread-safeness
Using Struts 1.0.2 Do you have any recommendations for testing a Struts-based application for thread-safeness? In particular, I want to ensure that my design of using local (on stack) business delegates to service the business logic won't get trampled on in a typical production environment with several concurrent users. Sri
Unit testing a struts application
Hi all, I am searching for possible improvements on my development process. One of greatest things i've found is XP. I liked it very much. One of XP rules is about unit testing. So follows my question : How can i unit test a struts app? I heard about Cactus (another Jakarta project). Does someone here have experience using it? All kind of use cases would be a plus. Best regards, Daniel. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Unit testing a struts application
Cactus works great with Struts. Just go to there web page http://jakarta.apache.org/cactus/index.html and check out the documentation examples. Join their user list, check the archives and if you still have questions ask the Cactus user group. You will also need to know all about JUnit - http://junit.org/index.htm Jim From: Daniel H. F. e Silva [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Unit testing a struts application Date: Thu, 26 Sep 2002 06:14:13 -0700 (PDT) Hi all, I am searching for possible improvements on my development process. One of greatest things i've found is XP. I liked it very much. One of XP rules is about unit testing. So follows my question : How can i unit test a struts app? I heard about Cactus (another Jakarta project). Does someone here have experience using it? All kind of use cases would be a plus. Best regards, Daniel. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Jim Young Northern Objects Inc. 905 781-7019 _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Unit testing a struts application
Also for unit testing actions out-of-container, take a look at StrutsTestCase : http://strutstestcase.sourceforge.net/. One approach that is also commendable for unit testing - regardless of servlet framework used - is to keep as much code as possible out of container-dependent objects. For instance, if you can have a Struts Action class delegate work to a regular java object with non-container parameters passed, rather than doing that work in the action itself, than the code that does the work can be more easily tested with vanilla Junit. For in-container testing, which we have used a lot for acceptance tests as opposed to unit tests, Cactus as recommended by Jim comes up a lot. We use HttpUnit: http://httpunit.sourceforge.net/. We also ended up wrapping HttpUnit with a somewhat simpler API that is on sourceforge as well: http://jwebunit.sourceforge.net/. Jim Weaver Software Developer - ThoughtWorks Jim Young northernobjects@hTo: [EMAIL PROTECTED] otmail.com cc: Subject: Re: Unit testing a struts application 09/26/2002 06:28 AM Please respond to Struts Users Mailing List Cactus works great with Struts. Just go to there web page http://jakarta.apache.org/cactus/index.html and check out the documentation examples. Join their user list, check the archives and if you still have questions ask the Cactus user group. You will also need to know all about JUnit - http://junit.org/index.htm Jim From: Daniel H. F. e Silva [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Unit testing a struts application Date: Thu, 26 Sep 2002 06:14:13 -0700 (PDT) Hi all, I am searching for possible improvements on my development process. One of greatest things i've found is XP. I liked it very much. One of XP rules is about unit testing. So follows my question : How can i unit test a struts app? I heard about Cactus (another Jakarta project). Does someone here have experience using it? All kind of use cases would be a plus. Best regards, Daniel. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Jim Young Northern Objects Inc. 905 781-7019 _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Unit testing a struts application
I totally agree with this approach. Here is how I abstract Struts away from http: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40143.html This way, I can test as close to the protocol as possible, allowing me to remove the protocol-specific issues. Then if a bug comes up, I can determine if its in the JSP/field bindings/HTML, the action logic, or the business tier using my various tests to quickly narrow down the issue. You can then supplement with in-container testing as desired. James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 9:47 AM To: Struts Users Mailing List Subject: Re: Unit testing a struts application Also for unit testing actions out-of-container, take a look at StrutsTestCase : http://strutstestcase.sourceforge.net/. One approach that is also commendable for unit testing - regardless of servlet framework used - is to keep as much code as possible out of container-dependent objects. For instance, if you can have a Struts Action class delegate work to a regular java object with non-container parameters passed, rather than doing that work in the action itself, than the code that does the work can be more easily tested with vanilla Junit. For in-container testing, which we have used a lot for acceptance tests as opposed to unit tests, Cactus as recommended by Jim comes up a lot. We use HttpUnit: http://httpunit.sourceforge.net/. We also ended up wrapping HttpUnit with a somewhat simpler API that is on sourceforge as well: http://jwebunit.sourceforge.net/. Jim Weaver Software Developer - ThoughtWorks Jim Young northernobjects@hTo: [EMAIL PROTECTED] otmail.com cc: Subject: Re: Unit testing a struts application 09/26/2002 06:28 AM Please respond to Struts Users Mailing List Cactus works great with Struts. Just go to there web page http://jakarta.apache.org/cactus/index.html and check out the documentation examples. Join their user list, check the archives and if you still have questions ask the Cactus user group. You will also need to know all about JUnit - http://junit.org/index.htm Jim From: Daniel H. F. e Silva [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Unit testing a struts application Date: Thu, 26 Sep 2002 06:14:13 -0700 (PDT) Hi all, I am searching for possible improvements on my development process. One of greatest things i've found is XP. I liked it very much. One of XP rules is about unit testing. So follows my question : How can i unit test a struts app? I heard about Cactus (another Jakarta project). Does someone here have experience using it? All kind of use cases would be a plus. Best regards, Daniel. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Jim Young Northern Objects Inc. 905 781-7019 _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL
Testing ...
Hi .. I've posted about 12 questions in the last week. Answered about 5-6 .. is this getting through ... I get no reponses. Not even a 'get lost' ;) D. -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: September 25, 2002 4:34 PM To: 'Struts Users Mailing List' Subject: [AGAIN] DynaActionForm This should be an easy one ... What types can a DynaActionForm support? ( ie. String, Integer, BigDecimal, etc) - I assume anything that can be converted to a String ( toString ) If I have a DynaActionForm form-property as follows form-property name=marketingToolId type=java.lang.Integer/ how do I get that to display in a text field? .. like html:text property=marketingToolId size=16 maxlength=16/ further .. how can I access this? ... like ... (Integer)form.get(marketingToolId) Thanks. Darren. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Testing ...
get lost :) sorry couldnt resist :) Not an expert, but I think the dynaActionForm uses the commons beanutil package and there is a list of converters and you can create you own and register them, i read this awhile ago in the api, http://jakarta.apache.org/commons/beanutils/api/index.html hope it helps, if it doesnt I will get lost :) tiago At 04:50 PM 9/25/2002 -0400, you wrote: Hi .. I've posted about 12 questions in the last week. Answered about 5-6 .. is this getting through ... I get no reponses. Not even a 'get lost' ;) D. -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: September 25, 2002 4:34 PM To: 'Struts Users Mailing List' Subject: [AGAIN] DynaActionForm This should be an easy one ... What types can a DynaActionForm support? ( ie. String, Integer, BigDecimal, etc) - I assume anything that can be converted to a String ( toString ) If I have a DynaActionForm form-property as follows form-property name=marketingToolId type=java.lang.Integer/ how do I get that to display in a text field? .. like further .. how can I access this? ... like ... (Integer)form.get(marketingToolId) Thanks. Darren. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Testing ...
If you had searched the archive you would see what Papa Strut says about using DynaActionForm and why you would always use String. Please STFA more thoroughly before 'getting lost' ;) James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 4:51 PM To: 'Struts Users Mailing List' Subject: Testing ... Hi .. I've posted about 12 questions in the last week. Answered about 5-6 .. is this getting through ... I get no reponses. Not even a 'get lost' ;) D. -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: September 25, 2002 4:34 PM To: 'Struts Users Mailing List' Subject: [AGAIN] DynaActionForm This should be an easy one ... What types can a DynaActionForm support? ( ie. String, Integer, BigDecimal, etc) - I assume anything that can be converted to a String ( toString ) If I have a DynaActionForm form-property as follows form-property name=marketingToolId type=java.lang.Integer/ how do I get that to display in a text field? .. like html:text property=marketingToolId size=16 maxlength=16/ further .. how can I access this? ... like ... (Integer)form.get(marketingToolId) Thanks. Darren. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Automated Site testing
Check this out ... http://strutstestcase.sourceforge.net/ Darren. -Original Message- From: gautam [mailto:[EMAIL PROTECTED]] Sent: September 19, 2002 2:14 AM To: Struts Users Mailing List Subject: RE: Automated Site testing Check out Cactus. http://jakarta.apache.org/cactus/ Regards, Gautam Satpathy -Original Message- From: Sean Gay [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:13 AM To: Struts-Users Subject: Automated Site testing Hey All, I was hoping that someone of the list would be able to help me out. Our company currently uses JUnit to perform automated tests on the back end of our sites, and was wondering if something similar existed for doing tests on the front end. I have looked into httpunit but that doesn't seem to be able to adequately do what we are after, or provide further benefit than performing JUnit tests on our actions? If anyone has any tried suggestions I would be most appreciative. Thanks in advance, Sean -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Automated Site testing
You did not explain what kind of features you are exactly looking for, but this might be the right tool for you: http://www.opensta.org/ Regards, Martin Hey All, I was hoping that someone of the list would be able to help me out. Our company currently uses JUnit to perform automated tests on the back end of our sites, and was wondering if something similar existed for doing tests on the front end. I have looked into httpunit but that doesn't seem to be able to adequately do what we are after, or provide further benefit than performing JUnit tests on our actions? If anyone has any tried suggestions I would be most appreciative. Thanks in advance, Sean -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Automated Site testing
Depends on what you are after. HttpUnit and HtmlUnit will both allow you to create programmatic tests against a deployed application. They are logically combined with JUnit to automate them as tests and provide assertions. Both of these are open source and free, but require a developer to create the tests. It sounds like you might be looking for a commercial solution that uses test scripts? There are also some opensource extensions of HttpUnit: Web Application Testing Framwork (watf) at http://watf.sourceforge.net/ (main deal seems to be adding javascript support, but HttpUnit is in process adding that itself) and recently one we developed within our company and put up on sourceforge under open source license: jWebUnit http://jwebunit.sourceforge.net/. This guy basically just provides a very simple, flatter API than HttpUnit and combines it with JUnit for you (provides web-testing specific assertions). Also is made to get its expecteds from resource bundles (Struts property files). Jimbo Sean Gay [EMAIL PROTECTED]To: Struts-Users [EMAIL PROTECTED] om.au cc: Subject: Automated Site testing 09/19/2002 12:43 AM Please respond to Struts Users Mailing List Hey All, I was hoping that someone of the list would be able to help me out. Our company currently uses JUnit to perform automated tests on the back end of our sites, and was wondering if something similar existed for doing tests on the front end. I have looked into httpunit but that doesn't seem to be able to adequately do what we are after, or provide further benefit than performing JUnit tests on our actions? If anyone has any tried suggestions I would be most appreciative. Thanks in advance, Sean -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Automated Site testing
Hey All, I was hoping that someone of the list would be able to help me out. Our company currently uses JUnit to perform automated tests on the back end of our sites, and was wondering if something similar existed for doing tests on the front end. I have looked into httpunit but that doesn't seem to be able to adequately do what we are after, or provide further benefit than performing JUnit tests on our actions? If anyone has any tried suggestions I would be most appreciative. Thanks in advance, Sean
RE: Automated Site testing
Check out Cactus. http://jakarta.apache.org/cactus/ Regards, Gautam Satpathy -Original Message- From: Sean Gay [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:13 AM To: Struts-Users Subject: Automated Site testing Hey All, I was hoping that someone of the list would be able to help me out. Our company currently uses JUnit to perform automated tests on the back end of our sites, and was wondering if something similar existed for doing tests on the front end. I have looked into httpunit but that doesn't seem to be able to adequately do what we are after, or provide further benefit than performing JUnit tests on our actions? If anyone has any tried suggestions I would be most appreciative. Thanks in advance, Sean -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[OT] Load-Testing
I know different solutions have been presented for this ... and I keep all messages from the list ... but I can't seem to find any of them right now :-( Could someone rehash for me on what's available for load-testing? The MS tool springs to mind as somthing I should examine, but I can't find the danged thing. Thanks! Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [OT] Load-Testing
Eddie, Take a look at the performance chapter from my book. I list many of the tools and give links to them. Chuck I know different solutions have been presented for this ... and I keep all messages from the list ... but I can't seem to find any of them right now :-( Could someone rehash for me on what's available for load-testing? The MS tool springs to mind as somthing I should examine, but I can't find the danged thing. Thanks! Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Load-Testing
The MS one is the Microsoft Web Application Stress Tool - not bad for client side simulation load testing. http://webtool.rte.microsoft.com/ -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 9:03 AM To: Struts Users List Subject: [OT] Load-Testing I know different solutions have been presented for this ... and I keep all messages from the list ... but I can't seem to find any of them right now :-( Could someone rehash for me on what's available for load-testing? The MS tool springs to mind as somthing I should examine, but I can't find the danged thing. Thanks! Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [OT] Load-Testing
Thanks, Chuck - will do! (I guess I must have *embarrassed look* missed that part) [EMAIL PROTECTED] wrote: Eddie, Take a look at the performance chapter from my book. I list many of the tools and give links to them. Chuck I know different solutions have been presented for this ... and I keep all messages from the list ... but I can't seem to find any of them right now :-( Could someone rehash for me on what's available for load-testing? The MS tool springs to mind as somthing I should examine, but I can't find the danged thing. Thanks! Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[logic]Testing for null value
Using Struts 1.0.2 on Tomcat 4.0.2 I see that the logic:empty is only available in Struts 1.1 How does one test for a null value using Struts 1.0 tags? logic:equal property=foo value=%=null% %-- do something --% /logic:equal will not work since deep in the bowels of the logic:equal it does a value.length() and barfs on the null. An ugly workaround is for the form bean to have an isNull() method for the property foo. Sri