Description

This method sets the values of one or more Receiver parameters by passing a map of propertyKeyName/value pairs.


Exceptions

The following GenRocket exceptions may be thrown by this method:  

  • If the runtime instance is currently running another Scenario.
  • If the requested attributeName is not found.
  • If the requested receiverName is not found.
  • If the requested propertyKeyName is not found.


Runtime Method Signature

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


public void receiverPropertyKeyValuesSet(String attributeName, String receiverName, Map<String, String> propertyKeyMap)


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": "receiverPropertyKeyValueSet",
  "parameters": {
    "attributeName": "",
    "receiverName": "",
    "propertyKeyMap": {
        "parameterName1": "",
        "parameterName2": "",
        "parameterName3": ""
    }
  }
}


REST/Socket Payload Successful Payload Response

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


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