Skip to content

Commit

Permalink
scenario settings schema extended to require median response time (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Sep 8, 2023
1 parent 4f0853b commit 7f6aaa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/server/schema-validator/scenario-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 2 additions & 0 deletions src/tests/integration/scenario.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ describe("Scenario", () => {
avg: true,
min: true,
max: true,
p50: true,
p90: true,
p95: true,
p99: true,
Expand Down Expand Up @@ -139,6 +140,7 @@ describe("Scenario", () => {
avg: true,
min: true,
max: true,
p50: true,
p90: true,
p95: true,
p99: true,
Expand Down

0 comments on commit 7f6aaa2

Please sign in to comment.