Share this page

# Aviator for Scripting

OpenText Performance Engineering Aviator is a generative Artificial Intelligence (AI) feature. Aviator for Scripting provides assistance with many aspects of the scripting process.

In this topic:

## Introducing Aviator

OpenText Core Performance Engineering Aviator is a cloud-based enterprise service. It delivers AI capabilities to extend functionality in OpenText Performance Engineering products connected to the service. Aviator uses AI, machine learning, and LLMs to simulate and interact with users in a human-like manner.

Aviator for Scripting is the implementation of Aviator in VuGen. It can assist with tasks such as selecting the best protocol for an application scripting session, error analysis and remediation, function and coding assistance, script optimization, and script summarizing. When combined, these assisted actions can yield significant time savings, while also reducing required scripting skill sets.

When troubleshooting runtime errors, Aviator uses details from the error logs and error definitions. You can also use Aviator to learn more about your replay and test runs.

Note: Aviator uses generative AI with LLMs. There is no guarantee about the accuracy or uniqueness of responses, nor about the rights to use AI-generated content. Apply your own judgment and review multiple sources before making decisions.

## Aviator benefits

Aviator can provide the following benefits when using it with VuGen:

Benefit | Description
--- | ---
Fast comprehension | Automatically breaks down a script by protocol, actions, calls, transactions, and core simulation points, enabling teams to quickly understand complex scripts.
Efficient knowledge sharing | Provides concise overviews of the script that can help with the onboarding of new team members, and facilitate cross-team collaboration.
Actionable enhancements | Recommends protocol-specific optimizations, for example, parameterization suggestions. By applying these optimizations, you can prepare your scripts for large-scale performance testing.
Robust, scalable performance | Makes suggestions to make your script more efficient, scalable, and stable for large test runs. It can also help you detect bottlenecks at an early stage.
Root-cause guidance | Analyzes logs and offers structured debug steps for common issues, such as failed correlations, network errors, and server faults.
Quicker resolution | Helps engineers isolate problems faster, thus reducing downtime and avoiding manual trial-and-error.
Better test configuration | Ability to recommend the most suitable protocol, by analyzing app/client/server tech stacks. This prevents protocol mismatch and ensures more accurate simulations.
Holistic consulting | Offers guidance across the performance testing lifecycle, from architecture analysis, goal setting, test planning, scripting, execution, monitoring, to final optimization.
Knowledge amplification | Acts as an on-call performance engineering consultant within reach, facilitating learning and decision-making.

## Aviator functionality

Functionality provided by Aviator in VuGen includes the following:

Functionality | Description
--- | ---
Summarize a script | Generates a summary of the script, including its type or protocol, the simulation it performs, the actions it contains, and the calls and transactions involved. It then provides an overall summary of the entire script. Aviator can also provide a descriptive summary of the parameters used in the script. (Enhanced ability supported from version 26.3.)
Optimize a script | Suggests concrete script optimizations for specific script types or protocols. For example, common optimizations are removing redundant calls, suggestions for parameterization, error handling, managing think time, reviewing of correlations, avoiding unnecessary content checks, and connection management.
Add new data files | Ability to create new data files and add them under the script folder. For example, request the creation of a new parameter file containing random values. (Enhanced ability supported from version 26.3.) Note: The new file does not overwrite an existing file. Rename the new file to replace the existing one.
Troubleshoot replay errors | Helps you resolve replay errors in your script. The log is the most significant source of information for identifying the root cause of errors. While VuGen can suggest a general approach for debugging, replay errors often result from common causes, such as correlation problems, network or connectivity issues, or server-side errors. Aviator also recommends debugging steps.
Suggest hosts to exclude | Identifies the hosts in the script that are not relevant for the AUT, and suggests methods to exclude them. This can help focus your performance analysis, and prevent external service response times from skewing the results.
Protocol adviser | Assists in identifying the appropriate protocol for your application. This requires input on the type of application, how the client communicates with the server, and the technologies used on both the client and server. Once these details are provided, Aviator can recommend the most suitable protocol.
General queries | Assists with any general query related to performance engineering such as: Understanding the application and architecture, defining performance goals, test planning and scripting, test execution and monitoring, and optimization and recommendations.
Chat management | Enables you to reopen previous conversations. You can also rename the conversations, and pin favorites. For details, see Chat management. (Supported from version 26.3)

## Set up Aviator

Aviator is delivered as a Software as a Service (SaaS) product. Once you are subscribed to the service, you can integrate your VuGen instance with the OpenText Core Performance Engineering Aviator tenant on SaaS.

You can also use the AI Usage report to gain aggregated visibility into AI query consumption at the tenant level. (Supported from version 26.3.)

For details on subscribing to the service, creating access keys, and viewing AI usage, see the Aviator documentation in the OpenText Core Performance Engineering Help Center.

To access Aviator in VuGen:

1. Click the Aviator button on the main toolbar.

2. In the displayed Connect to Aviator window, provide the required information.

   UI element | Description
   --- | ---
   Core Performance Engineering Platform URL | URL for the OpenText Core Performance Engineering Aviator tenant you are using. For example, https://platform-ams.loadrunner.saas.microfocus.com/
   Tenant ID | The ID number for the tenant you are using.
   Authentication Method | Select your preferred authentication method: Connect using client key & secret. Enter the client key and secret that are generated when you create your access key. Connect using browser. (Supported from version 26.3.) When you select this option, your default browser opens automatically, and you use your usual single sign-on process for authentication.
   Client Key | The Client ID that is generated when you create your access key.
   Client Secret | The Secret Key that is generated when you create your access key.

3. Click Sign in or Continue with browser, as relevant.

4. After successfully setting up the connection, you can access Aviator by again clicking the Aviator button on the toolbar. Aviator opens in a dedicated chat pane.

## Query using Aviator

Aviator can provide information and help for the currently open script and protocol, or provide more general information on scripts, products, and functionality for OpenText Performance Engineering solutions.

In the Aviator pane, you can select one of the predefined prompts (these vary, according to the context), or enter your own query in the chat box. You then view the generated response, and continue the conversation by entering more text in the chat box. Aviator maintains the context while you continue to work in the script.

To get the best results, phrase your questions clearly and concisely, providing specific context and using precise language. If you have a multi-step request, break it down into smaller, sequential questions.

The following options are also available:

UI element | Name | Description
--- | --- | ---
| View chats | Use to open the Chats view in the Aviator pane. For details, see Chat management. (Supported from version 26.3)
| Edit | Use to rephrase your query and generate an updated response.
| Copy | Use to copy your query, the response, or provided examples.
| Good/bad response | Use to give feedback on the quality of the response. Your feedback can help OpenText to improve Aviator performance.
| New topic | Use to begin a new conversation.

Usage examples:

Here are some ways you might use Aviator:

- The Replay Summary for your script reports a detected error. In the Aviator pane, you select the Troubleshoot replay error prompt. Aviator’s response provides a suggestion on how to fix the error.

- You type your question in the Aviator pane chat box, for example, "How can I add think time to my script". Aviator provides a response targeted to your specific request.

## Chat management

Note: This functionality is supported from version 26.3.

You can view chat history in the Aviator pane Chats view. Open the Chats view by clicking the View chats icon found in the top-right of the Aviator pane.

Chat history is maintained per user, and per script. There is also a chat history for queries made without an open script.

To rename, pin, or delete chats in the history, hover the cursor over a chat name and click the action button.

## See also

- VuGen user interface
- Aviator AI actions in the JavaScript editor

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 26.1-26.3 All View Local Help Center View Online Help Center Version: