Unanswered question

Can we Invoke a userdefined method residing in userdefined Jar file from neo-load java script?

We want to invoke a userdefined method from a Jar file.
This has to be invoked from the java script in Neo load.

Todd F.
Todd F.

Todd F.

Level
0
10 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

JAVA code can be invoked from a NeoLoad Javascript using the full path of your method.

Here is an example of the syntax:

var sampleClient = Packages.com.neotys.test.rmi.client.SampleClient();

I would suggest you to look at that user guide from the NeoLoad documentation:

 

https://www.neotys.com/documents/doc/neoload/latest/en/html/index.html#1629.htm