Share this page

# Known issues and tips for Java Vuser protocols

This section describes notes and limitations for the Java protocols.

Tip: For general troubleshooting and limitations, see Known issues.

- Java Record Replay and Java over HTTP protocols: When recording on Internet Explorer, you must first close all instances of IE, before VuGen opens a new IE instance for the recording session.

- VuGen provides a tool that enables you to convert a script created for web, into Java. For more information, see Convert a Web script into a Java Vuser script.

- Although .NET-based and Java protocols support creating threads, we recommend that you do not use background threads in real load testing scenarios because:

  - Threads can degrade tests scalability.

  - Threads can affect performance measurements.

  - The utility functions' behavior is undetermined if called from any thread except the Vuser main thread which runs the vuser_init, Action, and vuser_end actions. This applies to all functions named lr*.

- When you run a Java script, the replay status may be Script Not Run and some errors may appear in the mdrv.log file. However, due to Java internal architecture, these errors may not be included in the VuGen Output and Errors panes. This occurs when VuGen fails to initialize a Java Vuser, and JVM then terminates the replay process.

  Workaround: Look for errors directly in the mdrv.log file. If the entry in the log is due to a memory-related issue, try using different memory options for Java in the runtime settings.

- If a script contains XML tags, you can improve replay performance by enabling Java VM > Performance > Skip automatic parameter evaluation in the runtime settings. When this option is enabled, the script does not evaluate strings containing the format "<text>".

Back to top

See also:

- Known issues for Java over HTTP

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: