Re: Grinder script execution error
Joan Picanyol i Puig <[email protected]> Fri, 5 Sep 2014 09:34:30 +0200
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
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/