In This Article
- When Should Organization Resources be Used?
- What Types of Resources Can Be Created?
- Default Organization Resources
- How do Organization Resources Work?
- What Resources Need to be Configured Before a User Can Run Scenarios?
- Can I Use the Same Path for Every Resource?
- What Should I Do When a Displayed Resource is Not Needed?
- Usage Example
- Additional Information
When Should Organization Resources be Used?
What Types of Resources Can Be Created?
- User Resources
- Server Resources (Org Admin)
Default Organization Resources
The following three resources are available, by default, for every Organization.
- resource.home.directory - defines the user's home directory path, where GenRocket Runtime will look for required test data generation items such as Scenarios and G-Cases at the time of test data generation.
- resource.jdbc.directory - defines the location of config.properties file(s) used for database connections.
- resource.output.directory - defines where generated output files will be saved.
In the example below, the user will be generating test data on their local computer, running the Windows OS:
Note: Org Admins can set up additional resources (user and server) within the GenRocket web platform as needed. General users can only alter a resource's value and select Server Resources (when available).
How do Organization Resources Work?
What Resources Need to be Configured Before a User Can Run Scenarios?
- Query from or Insert into a Database
- Generate Data on a Server Resource
- Add the Server Resource
- Set up Server Resources (they have the same three default resources)
Can I Use the Same Path for Every Resource?
- No, it is not recommended to use the same path for all resources. This could result in an error during test data generation and potentially slow the process down.
- For the resource.home.directory resource, the user should enter their home directory:
- Windows - C:\Users\username
- Mac OSx or Linux - /Users/Username
- For other resources, it is recommended to add an additional subdirectory (e.g., output, databases, etc.)
What Should I Do When a Displayed Resource is Not Needed?
All added resources for the organization will appear here but may not be necessary for every GenRocket user. If additional Organization Resources are present and not needed by a user, then a N/A can be entered as the value.
This will allow users to configure their resources appropriately and download their GenRocket User Profile (my profile.prg) to run Scenarios and generate test data.
If no value is entered, the user will receive an error when downloading their profile in the GenRocket web platform.
|Connecting to Databases
|GenRocket can connect to most databases with an available JDBC Driver.
|How do I connect GenRocket Runtime to a Database?
|GenRocket Runtime can be used while connected to a secure network or offline. To use GenRocket Runtime offline, you must add an offline certificate to your .genrocket folder in your home directory.
|Using an Offline Certificate for Corporate Environments
|An alternative to the Offline Certificate that provides the same benefits and more. Users do not have to manage the downloading of files when set up, and organizations gain access to additional reporting features.