Description

The TestDataQueriesAdd method, adds a TestDataQuery to the current TestDataCase loaded within the given Scenario.


Exceptions

The following GenRocket exceptions may be thrown by this method:  

  • If the runtime instance is currently running another Scenario
  • If the file specified in the pathAndFilename is not found


Runtime Method Signature

Use this method signature when directly accessing the GenRocket binary runtime.

  • pathAndFileName - location and name of the TestDataQuery to add


public void testDataQueriesAdd(String pathAndFileName)


REST/Socket Payload Request

Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.


{
    "interfaceType": "Manual",
    "methodName": "testDataQueriesAdd",
    "parameters": {
        "pathAndFileName": ""
    }
}


REST/Socket Payload Successful Payload Response

The API JSON response payload for this method will be empty.


{
    "responseType": "OK",
    "data": ""
}