Sorry, we didn't find any relevant articles for you.

Send us your queries using the form below and we will get back to you with a solution.

GMUS API: Run Multiple Scenarios/Chains/ChainSets with G-Repository

Run Multiple Scenario Chains

A request is made through GMUS to run multiple Scenario Chains from different repositories (see example below).

URL: http://<ipAddress>:<port>/rest/repoScenarios

Method Type: POST

Component value can be Scenario, ScenarioChain or ScenarioChainSet

Parameters (with example values):

{
  "clientAppId" : "XXXXXXXX-1e47-abcd-ba66-XXXXXXXXXXXX",
  "clientUserId": "XXXXXXXX-abcd-4284-aa45-XXXXXXXXXXXX",
  "username": "jane.doe@gmail.com",
  "debug": true,
  "scenarios": [
    {
      "scenario": "JSONScenarioChain",
      "repoName": "repo1",
      "component": "ScenarioChain",
      "api": [
        {
          "methodName": "domainSetLoopCount",
          "parameters": {
            "domainName": "User",
            "loopCount": "10"
          }
        }
      ]
    },
    {
      "scenario": "AllScenarioChain",
      "repoName": "repo2",
      "component": "ScenarioChainSet",
      "api": [
        {
          "methodName": "domainSetLoopCount",
          "parameters": {
            "domainName": "Address",
            "loopCount": "30"
          }
        }
      ]
    }
  ]
}