API Examples and Methods

The GenRocket runtime application interface allows programmers to access the GenRocket runtime directly create scenarios from their own programs.

Runtime Application Interface (API) Overview
Definition The GenRocket runtime application interface (API) allows programmers to access the GenRocket runtime to directly modify and create scenarios fro...
Sat, 28 Oct, 2023 at 9:58 AM
Curl Commands for accessing the GenRocket Artifacts
Description CURL Commands can be used to do the following in the REST API:  Login API CURL to get the list of Scenario Chains CURL to Download Scenario...
Sat, 28 Oct, 2023 at 9:57 AM
Index Of API Methods
Attribute API Methods public List<String> attributes(String domainName) public String attributeGenrocketName(String attributeName) public St...
Sat, 28 Oct, 2023 at 9:58 AM
API Groovy Interface
The following code defines the Groovy Interface for the GenRocket API.  The Groovy source code is compiled into a Java Binary.  A detailed description of ea...
Tue, 24 Dec, 2019 at 1:25 AM
API Payload Formats for REST & Socket Engines
This section describes the three API JSON payload request and response formats for communication with either the GenRocket REST Engine or GenRocket Socket E...
Mon, 2 Jan, 2017 at 11:30 AM
API Example - Minimum Scenario
This a Groovy example that shows how to use the GenRocket API to build an absolute minimum Scenario from scratch and output one row to an XML file. Acti...
Tue, 4 Feb, 2020 at 5:10 AM
API Example - Modifying Scenario Conditions
Description This is an example of how the conditions of a Scenario can be modified, using the GenRocket API, prior to running the Scenario. The User Doma...
Mon, 6 Apr, 2020 at 11:17 AM
API Example - Generate 10,000 Users
This a Groovy code example that shows how to use the GenRocket API to build a scenario from scratch to generate a 10,000 Users and output to an XML file. ...
Tue, 10 Aug, 2021 at 9:59 PM
API Example - Testing ATM Account Transactions
This example shows a complete end to end test of an ATM Banking Application. By Writing a simple Groovy script with less than 175 lines of code, we will exe...
Wed, 5 Jul, 2017 at 1:21 PM
API Example - Modify GenRocket Scenario at Runtime in Java
Prerequisites: Java (See GenRocket Runtime Overview for Supported Versions) GenRocket Runtime GenRocket UserProfile Sample Independent Java C...
Fri, 4 Oct, 2024 at 9:42 AM