rps runner type in rally
I've modified the runner type from "constant" to "rps" and i have provided the following values in my JSON file:
"runner": {
}
},
=======
I'm getting an error when i execute the benchmark scenario. Error is as shown below:
Reason:
Additional properties are not allowed ('anyOf' was unexpected)
Failed validating 'additionalProp
{'$schema': 'http://
'additiona
'properties': {'max_concurrency': {'minimum': 1, 'type': 'integer'},
'required': ['type', 'times', 'rps'],
'type': 'object'}
On instance:
{'anyOf': {'end': 12, 'start': 1, 'step': 2},
'rps': 2,
'times': 10,
'type': 'rps'}`
=======
I modified the json file with :
1. "properties" instead of "anyOf", but with no luck.
2. specified "step","start" and "end" within "rps" as hash-of-hash and it didnt work as well
I want to know how to specify "start","end" and "step" values for "rps" runner type?
from the plugin reference, i can see that these values can be used for rps config:
class RPSScenarioRunn
"""Scenario runner that does the job with specified frequency.
Every single benchmark scenario iteration is executed with specified
frequency (runs per second) in a pool of processes. The scenario will be
launched for a fixed number of times in total (specified in the config).
An example of a rps scenario is booting 1 VM per second. This
execution type is thus very helpful in understanding the maximal load that
a certain cloud can handle.
"""
CONFIG_SCHEMA = {
"type": "object",
"$schema": consts.JSON_SCHEMA,
"type": {
},
},
"rps": {
],
},
},
},
}
},
"required": ["type", "times", "rps"],
}
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Rally Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrey Kurilin
- Solved:
- Last query:
- Last reply: