fix errors

Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
feature/add_multipart_support
Мария Малыгина 2023-07-18 13:01:53 +03:00
parent fa62446fba
commit bed778da1a
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ if (write_multipart_vu_count < 1) {
throw 'number of parts to upload in parallel should be greater than 0';
}
const write_vu_count = parseInt(__ENV.WRITERS || '0');
if (write_vu_count < 1) {
throw 'number of VUs performing write operations should be greater than 0';
}
if (write_vu_count > 0) {
scenarios.write = {
executor: 'constant-vus',