Re: Grinder script execution error
Chanduram Dowlathram <[email protected]> Fri, 5 Sep 2014 15:24:35 -0400
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAP7Ca_=_=rVbsWa5uk9xF6bv3-=H+6a8BNGGF8wzpFTCLrK=BA@mail.gmail.com> |
thanks it worked On Fri, Sep 5, 2014 at 3:34 AM, Joan Picanyol i Puig < [email protected]> wrote: > Self is an implicit argument in python so it should not be passed. > > try > > result = ls.page1() > > qvb > -- > pica > > * Chanduram Dowlathram <[email protected]> [20140904 20:02]: > > Can someone tell me how to fix this execution error : > > > > thread-0 [ run-0 ]: aborted run - Jython exception, <type > > 'exceptions.TypeError'>: page1() takes exactly 1 argument (2 given) > > [calling TestRunner] > > net.grinder.scriptengine.jython.JythonScriptExecutionException: <type > > 'exceptions.TypeError'>: page1() takes exactly 1 argument (2 given) > > result = ls.page1(self) > > File "./csaTest.py", line 30, in grinder_pt > > self.grinder_pt() > > File "./csaTest.py", line 51, in __call__ > > > > > > Here are my source files : > > > > > > ------------------------------------------------------------------------------ > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > > _______________________________________________ > > grinder-use mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/grinder-use > > > -- > pica > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use