diff --git a/src/server/schema-validator/scenario-schema.ts b/src/server/schema-validator/scenario-schema.ts index 9070d732..29ce25f9 100644 --- a/src/server/schema-validator/scenario-schema.ts +++ b/src/server/schema-validator/scenario-schema.ts @@ -75,6 +75,7 @@ export const updateScenarioSchema = { standardDeviation: Joi.boolean().required(), min: Joi.boolean().required(), max: Joi.boolean().required(), + p50: Joi.boolean().required(), p90: Joi.boolean().required(), p95: Joi.boolean().required(), p99: Joi.boolean().required(), diff --git a/src/tests/integration/scenario.spec.ts b/src/tests/integration/scenario.spec.ts index 202cb125..78303a02 100644 --- a/src/tests/integration/scenario.spec.ts +++ b/src/tests/integration/scenario.spec.ts @@ -83,6 +83,7 @@ describe("Scenario", () => { avg: true, min: true, max: true, + p50: true, p90: true, p95: true, p99: true, @@ -139,6 +140,7 @@ describe("Scenario", () => { avg: true, min: true, max: true, + p50: true, p90: true, p95: true, p99: true,