Oleksii Zhurba | 4be2832 | 2019-04-18 18:07:35 -0500 | [diff] [blame] | 1 | {% set concurrency = 10 %} |
| 2 | {% set ops_times = 100 %} |
| 3 | {% set validate_times = 1000 %} |
| 4 | {% set users = 5 %} |
| 5 | {% set tenants = 10 %} |
| 6 | |
| 7 | {% set rps_tiny = 10 %} |
| 8 | {% set rps_xsmall = 15 %} |
| 9 | {% set rps_small = 20 %} |
| 10 | {% set rps_medium = 25 %} |
| 11 | {% set rps_high = 30 %} |
| 12 | {% set rps_xhigh = 35 %} |
| 13 | {% set rps_huge = 40 %} |
| 14 | |
| 15 | {% set rps_times = 30000 %} |
| 16 | |
| 17 | { |
| 18 | "Authenticate.validate_cinder": [ |
| 19 | { |
| 20 | "args": { |
| 21 | "repetitions": 2 |
| 22 | }, |
| 23 | "runner": { |
| 24 | "type": "constant", |
| 25 | "times": {{validate_times}}, |
| 26 | "concurrency": {{concurrency}} |
| 27 | }, |
| 28 | "context": { |
| 29 | "users": { |
| 30 | "users_per_tenant": {{users}}, |
| 31 | "tenants": {{tenants}} |
| 32 | }, |
| 33 | "api_versions": { |
| 34 | "cinder": { |
| 35 | "version": 2, |
| 36 | "service_name": "cinderv2", |
| 37 | # "service_type": "volumev2" |
| 38 | } |
| 39 | } |
| 40 | }, |
| 41 | "sla": { |
| 42 | "failure_rate": { |
| 43 | "max": 0 |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | ], |
| 48 | "Authenticate.validate_glance": [ |
| 49 | { |
| 50 | "args": { |
| 51 | "repetitions": 2 |
| 52 | }, |
| 53 | "runner": { |
| 54 | "type": "constant", |
| 55 | "times": {{validate_times}}, |
| 56 | "concurrency": {{concurrency}} |
| 57 | }, |
| 58 | "context": { |
| 59 | "users": { |
| 60 | "users_per_tenant": {{users}}, |
| 61 | "tenants": {{tenants}} |
| 62 | } |
| 63 | }, |
| 64 | "sla": { |
| 65 | "failure_rate": { |
| 66 | "max": 0 |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 | ], |
| 71 | "Authenticate.validate_heat": [ |
| 72 | { |
| 73 | "args": { |
| 74 | "repetitions": 2 |
| 75 | }, |
| 76 | "runner": { |
| 77 | "type": "constant", |
| 78 | "times": {{validate_times}}, |
| 79 | "concurrency": {{concurrency}} |
| 80 | }, |
| 81 | "context": { |
| 82 | "users": { |
| 83 | "users_per_tenant": {{users}}, |
| 84 | "tenants": {{tenants}} |
| 85 | } |
| 86 | }, |
| 87 | "sla": { |
| 88 | "failure_rate": { |
| 89 | "max": 0 |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 | ], |
| 94 | "Authenticate.validate_nova": [ |
| 95 | { |
| 96 | "args": { |
| 97 | "repetitions": 2 |
| 98 | }, |
| 99 | "runner": { |
| 100 | "type": "constant", |
| 101 | "times": {{validate_times}}, |
| 102 | "concurrency": {{concurrency}} |
| 103 | }, |
| 104 | "context": { |
| 105 | "users": { |
| 106 | "users_per_tenant": {{users}}, |
| 107 | "tenants": {{tenants}} |
| 108 | } |
| 109 | }, |
| 110 | "sla": { |
| 111 | "failure_rate": { |
| 112 | "max": 0 |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | ], |
| 117 | "Authenticate.validate_neutron": [ |
| 118 | { |
| 119 | "args": { |
| 120 | "repetitions": 2 |
| 121 | }, |
| 122 | "runner": { |
| 123 | "type": "constant", |
| 124 | "times": {{validate_times}}, |
| 125 | "concurrency": {{concurrency}} |
| 126 | }, |
| 127 | "context": { |
| 128 | "users": { |
| 129 | "users_per_tenant": {{users}}, |
| 130 | "tenants": {{tenants}} |
| 131 | } |
| 132 | }, |
| 133 | "sla": { |
| 134 | "failure_rate": { |
| 135 | "max": 0 |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | ], |
| 140 | "KeystoneBasic.authenticate_user_and_validate_token": [ |
| 141 | { |
| 142 | "args": {}, |
| 143 | "context": { |
| 144 | "users": { |
| 145 | "tenants": {{ tenants }}, |
| 146 | "users_per_tenant": {{users}} |
| 147 | } |
| 148 | }, |
| 149 | "runner": { |
| 150 | "type": "rps", |
| 151 | "rps": {{rps_tiny}}, |
| 152 | "times": {{rps_times}} |
| 153 | }, |
| 154 | "sla": { |
| 155 | "failure_rate": { |
| 156 | "max": 0 |
| 157 | } |
| 158 | } |
| 159 | }, |
| 160 | { |
| 161 | "args": {}, |
| 162 | "context": { |
| 163 | "users": { |
| 164 | "tenants": {{ tenants }}, |
| 165 | "users_per_tenant": {{users}} |
| 166 | } |
| 167 | }, |
| 168 | "runner": { |
| 169 | "type": "rps", |
| 170 | "rps": {{rps_xsmall}}, |
| 171 | "times": {{rps_times}} |
| 172 | }, |
| 173 | "sla": { |
| 174 | "failure_rate": { |
| 175 | "max": 0 |
| 176 | } |
| 177 | } |
| 178 | }, |
| 179 | { |
| 180 | "args": {}, |
| 181 | "context": { |
| 182 | "users": { |
| 183 | "tenants": {{ tenants }}, |
| 184 | "users_per_tenant": {{users}} |
| 185 | } |
| 186 | }, |
| 187 | "runner": { |
| 188 | "type": "rps", |
| 189 | "rps": {{rps_small}}, |
| 190 | "times": {{rps_times}} |
| 191 | }, |
| 192 | "sla": { |
| 193 | "failure_rate": { |
| 194 | "max": 0 |
| 195 | } |
| 196 | } |
| 197 | }, |
| 198 | { |
| 199 | "args": {}, |
| 200 | "context": { |
| 201 | "users": { |
| 202 | "tenants": {{ tenants }}, |
| 203 | "users_per_tenant": {{users}} |
| 204 | } |
| 205 | }, |
| 206 | "runner": { |
| 207 | "type": "rps", |
| 208 | "rps": {{rps_medium}}, |
| 209 | "times": {{rps_times}} |
| 210 | }, |
| 211 | "sla": { |
| 212 | "failure_rate": { |
| 213 | "max": 0 |
| 214 | } |
| 215 | } |
| 216 | }, |
| 217 | { |
| 218 | "args": {}, |
| 219 | "context": { |
| 220 | "users": { |
| 221 | "tenants": {{ tenants }}, |
| 222 | "users_per_tenant": {{users}} |
| 223 | } |
| 224 | }, |
| 225 | "runner": { |
| 226 | "type": "rps", |
| 227 | "rps": {{rps_high}}, |
| 228 | "times": {{rps_times}} |
| 229 | }, |
| 230 | "sla": { |
| 231 | "failure_rate": { |
| 232 | "max": 0 |
| 233 | } |
| 234 | } |
| 235 | }, |
| 236 | { |
| 237 | "args": {}, |
| 238 | "context": { |
| 239 | "users": { |
| 240 | "tenants": {{ tenants }}, |
| 241 | "users_per_tenant": {{users}} |
| 242 | } |
| 243 | }, |
| 244 | "runner": { |
| 245 | "type": "rps", |
| 246 | "rps": {{rps_xhigh}}, |
| 247 | "times": {{rps_times}} |
| 248 | }, |
| 249 | "sla": { |
| 250 | "failure_rate": { |
| 251 | "max": 0 |
| 252 | } |
| 253 | } |
| 254 | }, |
| 255 | { |
| 256 | "args": {}, |
| 257 | "context": { |
| 258 | "users": { |
| 259 | "tenants": {{ tenants }}, |
| 260 | "users_per_tenant": {{users}} |
| 261 | } |
| 262 | }, |
| 263 | "runner": { |
| 264 | "type": "rps", |
| 265 | "rps": {{rps_huge}}, |
| 266 | "times": {{rps_times}} |
| 267 | }, |
| 268 | "sla": { |
| 269 | "failure_rate": { |
| 270 | "max": 0 |
| 271 | } |
| 272 | } |
| 273 | } |
| 274 | ], |
| 275 | "KeystoneBasic.add_and_remove_user_role": [ |
| 276 | { |
| 277 | "runner": { |
| 278 | "type": "constant", |
| 279 | "times": {{ops_times}}, |
| 280 | "concurrency": {{concurrency}} |
| 281 | }, |
| 282 | "context": { |
| 283 | "users": { |
| 284 | "tenants": {{tenants}}, |
| 285 | "users_per_tenant": {{users}} |
| 286 | } |
| 287 | }, |
| 288 | "sla": { |
| 289 | "failure_rate": { |
| 290 | "max": 0 |
| 291 | } |
| 292 | } |
| 293 | } |
| 294 | ], |
| 295 | "KeystoneBasic.create_tenant_with_users": [ |
| 296 | { |
| 297 | "args": { |
| 298 | "users_per_tenant": 10 |
| 299 | }, |
| 300 | "runner": { |
| 301 | "type": "constant", |
| 302 | "concurrency": {{concurrency}}, |
| 303 | "times": {{ops_times}} |
| 304 | }, |
| 305 | "sla": { |
| 306 | "failure_rate": { |
| 307 | "max": 0 |
| 308 | } |
| 309 | } |
| 310 | } |
| 311 | ], |
| 312 | "KeystoneBasic.create_add_and_list_user_roles": [ |
| 313 | { |
| 314 | "runner": { |
| 315 | "type": "constant", |
| 316 | "times": {{ops_times}}, |
| 317 | "concurrency": {{concurrency}} |
| 318 | }, |
| 319 | "context": { |
| 320 | "users": { |
| 321 | "tenants": {{tenants}}, |
| 322 | "users_per_tenant": {{users}} |
| 323 | } |
| 324 | }, |
| 325 | "sla": { |
| 326 | "failure_rate": { |
| 327 | "max": 0 |
| 328 | } |
| 329 | } |
| 330 | } |
| 331 | ], |
| 332 | "KeystoneBasic.create_and_delete_role": [ |
| 333 | { |
| 334 | "runner": { |
| 335 | "type": "constant", |
| 336 | "times": {{ops_times}}, |
| 337 | "concurrency": {{concurrency}} |
| 338 | }, |
| 339 | "sla": { |
| 340 | "failure_rate": { |
| 341 | "max": 0 |
| 342 | } |
| 343 | } |
| 344 | } |
| 345 | ], |
| 346 | "KeystoneBasic.create_and_delete_service": [ |
| 347 | { |
| 348 | "args": { |
| 349 | "service_type": "Rally_test_type", |
| 350 | "description": "test_description" |
| 351 | }, |
| 352 | "runner": { |
| 353 | "type": "constant", |
| 354 | "times": {{ops_times}}, |
| 355 | "concurrency": {{concurrency}} |
| 356 | }, |
| 357 | "sla": { |
| 358 | "failure_rate": { |
| 359 | "max": 0 |
| 360 | } |
| 361 | } |
| 362 | } |
| 363 | ], |
| 364 | "KeystoneBasic.create_and_list_users": [ |
| 365 | { |
| 366 | "args": {}, |
| 367 | "runner": { |
| 368 | "type": "constant", |
| 369 | "times": {{ops_times}}, |
| 370 | "concurrency": {{concurrency}} |
| 371 | }, |
| 372 | "sla": { |
| 373 | "failure_rate": { |
| 374 | "max": 0 |
| 375 | } |
| 376 | } |
| 377 | } |
| 378 | ], |
| 379 | "KeystoneBasic.create_update_and_delete_tenant": [ |
| 380 | { |
| 381 | "args": {}, |
| 382 | "runner": { |
| 383 | "type": "constant", |
| 384 | "times": {{ops_times}}, |
| 385 | "concurrency": {{concurrency}} |
| 386 | }, |
| 387 | "sla": { |
| 388 | "failure_rate": { |
| 389 | "max": 0 |
| 390 | } |
| 391 | } |
| 392 | } |
| 393 | ], |
| 394 | "KeystoneBasic.get_entities": [ |
| 395 | { |
| 396 | "runner": { |
| 397 | "type": "constant", |
| 398 | "times": {{ops_times}}, |
| 399 | "concurrency": {{concurrency}} |
| 400 | }, |
| 401 | "sla": { |
| 402 | "failure_rate": { |
| 403 | "max": 0 |
| 404 | } |
| 405 | } |
| 406 | } |
| 407 | ] |
| 408 | } |