This is the snipped of the create/update/search/read test
#
# The Grinder version 3.0-beta27
#
# Script recorded by the TCPProxy at Sep 29, 2005 1:41:54 PM
#
from struts_sm_rcru_tests import *
from net.grinder.script.Grinder import grinder
from org.apache.regexp import RE
from java.util impor
You might want to take a look at HtmlUnit. It's a little bit higher
level than HttpUnit so if what you are trying to test is workflows and
other high level functionality, it may be worth a look.
HtmlUnit gives lets you work with the returned documents as DOM trees
(effectively) so you don't have
Thank for the link Konstatine, I will difently look into it. It would inded
be cool if I could do both functional and peformance testing with the same
tool, whihc it appears Grinder does allow me to do. If you could please
post the example of how to generate random values per invoation as well a
HttpUnit is too low level. In fact Grinder drives httpunit via Jython script.
See a very simplistic usage example here
http://sandbox.sourcelabs.com/kosta/web_ui_compare/readme/tests/technology.html
It does not use java Random to generate unique values per invocation and does
not employ REgexp fo
Thanks Konstantin and Adam for your help. I was indeed trying to do Unit
Testing, not performance testing so I'll check out HttpUnit.
Thanks Again,
Asim
On 3/20/06, Adam Zimowski <[EMAIL PROTECTED]> wrote:
>
> Grinder is used for performance testing. He's not asking for that. He
> wants a tool s
Grinder is most useful for functional testing becuse testing script skeleton
can be written automatically in seconds and then edited to incorporate any kind
of checks and alterations with power of Java and Jython combined.
It is good for performance testing too.
Adam Zimowski <[EMAIL PROTECTE
Grinder is used for performance testing. He's not asking for that. He
wants a tool similar to JUnit to test Tapestry pages.
Try HttpUnit: http://httpunit.sourceforge.net/
Adam
On 3/20/06, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
> TheGrinder3 is the best way to test IMO. http://grinder.so
TheGrinder3 is the best way to test IMO. http://grinder.sourceforge.net/
Next would be Selenium. http://www.openqa.org/selenium/
Asim Khaja <[EMAIL PROTECTED]> wrote: Hello All,
What is the best way to unit test each Tapestry page? Is there a way to
easily integrate Jakarata Cactus in it?
Thx,