Skip to content

Commit

Permalink
chore: update spikeTest
Browse files Browse the repository at this point in the history
  • Loading branch information
junha-ahn committed Oct 29, 2023
1 parent f7dab89 commit a542e1d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/performanceTest/scripts/spikeTest/spikeTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const options = {
scenarios: {
contacts: {
executor: 'per-vu-iterations',
vus: 2000,
vus: 1000,
iterations: 1,
maxDuration: '1m',
},
Expand Down Expand Up @@ -57,6 +57,5 @@ export default function () {
check(req.getEvent(eventId), {"EVENT 98 maxAttendees = 191": (r) => r.json().data.maxAttendees === 191})

const res = req.createReservation(generator.Reservation(eventId))
check(res, {"Success Reservation": isSuccess});
check(res, {"Already reserved": isAlreadReservedAll});
check(res, {"Success Reservation": (r) => isSuccess(r) || isAlreadReservedAll(r)});
}

0 comments on commit a542e1d

Please sign in to comment.