Oracle NCA > Code Generation Recording Options

These recording options enable VuGen to identify Oracle NCA Java objects by ID or by WebUtils name. WebUtil is an implementation on top of the standard communication that uses the Java object to send and receive messages, and cannot be handled as part of LoadRunner's synchronous script.

This feature enables adding Java objects that begin with webutil to an array in the header file. The array is called by the nca_java_set_area_class function before connecting to the server.

To access
Record > Recording Options > Oracle NCA > Code Generation
Important information
This node is available only for the Oracle NCA protocol. For a complete list of protocols and their associated nodes, see Protocol Compatibility Table.

User interface elements are described below:

UI Element
Description
Java Object configuration

Enables Java object configuration.

Default: Selected

Generate nca_java_set_area_class

During recording, creates an array of Java objects that is added to the script's header file.

The array is then called by a nca_java_set_area_class step which is added to the script just before the nca_connect_server step.

This functionality replaces the need for nca_java_action steps throughout the script.

Default: Selected

Generate nca_java_set_area_class for objects with webutil name only

When selected, only the Java objects that begin with webutil are added to the array in the header file. Other Java objects are added to the script as default nca_java_action steps.

Note: If Generate nca_java_set_area_class is selected and this option is not selected, all identified Java objects are added to the array.

Default: Selected

Include nca_java_actions comments in the script

When selected, for each Java object added to the array in nca_java_set_area_class, VuGen also adds a commented out nca_java_action step in the expected place the script.

Tip: This is useful if you want to use a nca_java_action step instead of a call to the corresponding object item in the array. In this case, uncomment the nca_java_action action and comment out the corresponding item in array.

See also: