myDict = {'itemkey1':'itemvalue1', 'itemkey2':'itemkey2','itemkey3':'itemvalue3','itemkey4':'itemvalue4'};
event = portTest.event(myDict);
I am getting the following error
Aborted run: Jython exception: TypeError:arg can't be coerced to java.util.List
myDict
is the array of key values.
i hope i am passing the correct syntax in myDict
for keyvalue[]
datalist as it just got key value pair.
public Response event(KeyValue[] dataList)
I am calling the event function in java from jython script using grinder tool.