Gábor
unread,May 22, 2013, 11:30:34 AM5/22/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zaproxy...@googlegroups.com
Hi,
Could someone please let me know how to access max index of actual history table?
Here's what I do in Jython:
import org.parosproxy.paros.db.TableHistory as th
idx = th.lastIndex()
I'm getting the following message:
TypeError: lastIndex(): expected 1 args; got 0 in <script> at line number
I checked the source of TableHistory.java
Method lastIndex() is defined without arguments.
Not much I know about Java, just started with Jython to make scripts for ZAP.
Got some exposure to Python, though.
Maybe I'm missing some very basic thing.
Regards,
Gábor