What is GenRocket Runtime? 

The GenRocket Runtime is required to use the GenRocket engine that is used to generate test data, performing tasks like masking, subsetting, or any other GenRocket functions. Runtime is a set of JAVA Jars downloaded from GenRocket Cloud and installed on a user's local machine, servers, or virtual machines, wherever test data generation is required (in the customer environment, as shown in the blue box in the diagram below). 




In This Article



GenRocket Jars

The GenRocket Runtime consists of the following set of jars: 


GenRocket Jar NameDescription
genrocket.jarInterprets command line input, user license check, and launches the GenRocket engine.
gr-engine.jarCore engine that runs GenRocket Scenarios and support for other ancillary components like GenRocket Multi-User Server (GMUS)
gr-generators.jar

GenRocket Generator classes

gr-receivers.jarGenRocket Receiver classes
gr-grepository-servers.jarCreates and runs a G-Repository Server
gr-grepository-clients.jarCreates a G-Repository Client



Where can GenRocket Runtime be set up?

GenRocket Runtime should be installed as close to the destination where the synthetic data is needed. You can also use the GenRocket Docker Image to generate test data with Runtime in a Docker environment.  


Runtime setup requires access to the firewall for license verification. Errors may occur if encrypted, secure storage or a virtual drive is used that does not have appropriate access permissions. 


MethodDescription
Local User MachineTo generate test data on the user's local machine.
Shared Central MachineSet up in a shared location on a machine (local, remote, or virtual) where multiple users log into that one machine to generate their test data.
Local or Remote ServerSet up on a local or remote server that users can access or one used for automated testing (CI/CD integration).   



HardwareDetails
Operating System (64-bit)Linux (Recommended), Mac OS, or Windows 
CPUMinimum of 4 CPUs
MemoryMinimum 8GB RAM (Recommended 16GB RAM) 
Hard DriveMinimum 500GB SSD



Software Requirements

SoftwareDetails
Internet Browser

The GenRocket Web Platform is used to "Model" and "Design" the GenRocket Test Data Project. Use any of the commercially supported versions of these Internet browsers listed below:

  • Chrome
  • Microsoft Edge
  • Firefox
  • Safari
Java Version

The GenRocket Runtime Engine supports the following commercially maintained Oracle Java Versions (including OpenJDK) but may also work with open JDK provided by other providers such as Amazon, Redhat, etc.: 

  • 1.8 (except 1.8u20)
  • 1.11
  • 1.17
  • 1.21

Need to know your Java Version? 

Enter this command in a Command Prompt or Terminal window: java -version



Environment Variables (New Setup)

Some Environment Variables have to be configured for Runtime to work. Specific values based on the operating system are defined in the detailed Runtime setup article. Admin rights are required for environment variables.


Environment VariableDescription
GENROCKET_HOME 
Environment Variable
 
Defines the path (location) for the "genrocket" folder created during the initial setup. The variable should point to your home directory. For local installs, this is a user variable. When installed in a shared location, it will be a system variable.
PATH Environment Variable Must add "GEN_ROCKET_HOME" to the PATH variable. For local installs, this is a user variable. When installed in a shared location, it will be a system variable. 
JAVA_HOME 
System Environment Variable
This variable is already set in most instances if JAVA is installed. If more than one version is being used, the path can sometimes be invalid, resulting in an error during the setup. Verifying the path is recommended.
JAVA_OPTS 
System Environment Variable
This system variable will require a value when using Java Versions greater than 1.8. Some Generators use memory to maintain the uniqueness of the random data being generated. An optional value can also be added when generating a large amount of data. This can improve performance and resolve memory issues.  


User/Server Profiles

GenRocket Runtime requires a User Profile or a Server Profile, depending on how it is being set up. The profile file (*.grp) is downloaded from the GenRocket cloud and links the user (or server) executing Runtime to their GenRocket user (or server) license. An Organization Admin must first provision the user (or server) on GenRocket cloud. Details on downloading and linking the user profile to .genrocket folder are provided here.

Profile TypeDescription
User ProfileRequired for every user to use GenRocket Runtime. It matches the Scenario to your organization and verifies that the user has an enabled, active account to run the Scenario on their local machine, workstation, or a shared machine.
Server Profile

Required for any server or machine that does not have specific users tied to it. It is typically used for servers in an automated test environment, such as integration into CI/CD tools. Click here to learn more.


Prerequisites for a New Runtime Setup

The following prerequisite steps must be performed before GenRocket Runtime can be set up on your machine: 

#Prerequisite
1Verify access to the GenRocket Web Platform and active user license.
  • Ensure you can access the GenRocket cloud URL from within your organization. URL and/or IP whitelisting may be required. The URLs and IP are covered in the Components and Ports guide. Contact your Org Admin for further information about your GenRocket account.
(note: Accessing GenRocket cloud may differ if your organization is set up for SSO, MFA, or other authorization and authentication methods. Contact your Org Admin for details)
2Enable necessary ports through firewalls. The default port for Runtime is port 443.
  • Click here to learn how to check for this port. If port 443 is unavailable, you can use GenRocket in 'offline mode'
  • For additional port information, please see the Components and Ports guide. 
3Admin rights for local or server machine to be able to change environment variables, install Runtime, and JAVA.
4Install Java on the machine (local or remote) where Runtime will be installed. 


GenRocket Runtime New Setup vs. Update

Once GenRocket Runtime is installed, it should be regularly updated for the latest jar files and functionality. Runtime and JAR updates are announced through release notes. Users are notified of updated releases through a pop-up modal when they log in after an update has been released to production (Release notes are also published on the GenRocket Knowledge Base).

Refer to the  Release notes to determine if: 1) Full Runtime Update or 2) Jar update is required: 

Type of InstallDescription
New SetupInstructions for a new setup can be found here:
Runtime UpdateIf an update has a new Runtime Jar, a full Runtime update is needed by completely replacing the old genrocket folder with the newly downloaded Runtime file. For complete instructions, click here.
GenRocket Jar Update
If only a Jar update is required, these files can be updated from the command line. Downloading Runtime from GenRocket Cloud may not be necessary. For complete instructions, click here


Additional Runtime Articles

Topic
How to Verify Port 443 is Open for GenRocket RuntimeUsing an Offline Certificate for Corporate Environments
Linux Server (Local or Remote) Runtime SetupHow Do I Change Resource Values and Download My User Profile?
Linux/Mac OS (Local User's Machine or Central Machine) Runtime SetupHow to update GenRocket Runtime
Windows (Local User's Machine, Central Machine, or Server) Runtime SetupHow to Update GenRocket Jar Files
GenRocket Runtime Dockerization for Executing ScenariosUsing CURL Commands to Download GenRocket Runtime, Jars, and Server/User Profile
How to Create a Custom Docker Image
How do I view a list of GenRocket Runtime Commands?
GenRocket Runtime Setup Warnings and Errors How do I override the .genrocket folder path?
How do I use the Proxy Setting for GenRocket Runtime?
Does GenRocket support Logging?