While running Java wrapper script from PC scenario, we are getting the below err

  • KM03034459
  • 05-Dec-2017
  • 05-Dec-2017

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Question

Warning: Extension java_int.dll reports error -1 on call to function ExtPerThreadInitialize [MsgId: MWAR-10485] Error: Vuser failed to initialize extension java_int.dll. [MsgId: MERR-10700]

Answer

*******************solution suggested*************************
Java vuser was failing on LG with this error:
Warning: Extension java_int.dll reports error -1 on call to function ExtPerThreadInitialize [MsgId: MWAR-10485]
Error: Vuser failed to initialize extension java_int.dll. [MsgId: MERR-10700]

[Solution]
It seems parameter was not being read when execution was done from LG. Code looks like:

String message = "my test prints for today";

To get parameter value updated, I change the string on this way:
String message = "my test prints "+ lr.eval_string("") +" for today";