def write_request_load_scenario(reactor, cluster, request_rate=10, sample_size=DEFAULT_SAMPLE_SIZE, timeout=45, tolerance_percentage=0.2):
 return RequestLoadScenario(reactor, WriteRequest(reactor, cluster.get_control_service(reactor)), request_rate=request_rate, sample_size=sample_size, timeout=timeout, tolerance_percentage=tolerance_percentage)

def write_request_load_scenario ( reactor , cluster , request_rate = 10 , sample_size = DEFAULT_SAMPLE_SIZE , timeout = 45 , tolerance_percentage = 0.2 ) : return RequestLoadScenario ( reactor , WriteRequest ( reactor , cluster . get_control_service ( reactor ) ) , request_rate = request_rate , sample_size = sample_size , timeout = timeout , tolerance_percentage = tolerance_percentage )
factory that will initialise and return a scenario that places load on the cluster by performing write requests at a specified rate .