# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 # Usage: `artillery run loadtest.yml` (See CloudFormation/README.md for detailed instructions) config: target: 'https://.execute-api..amazonaws.com/' phases: - duration: 300 # Total time (in seconds) to run load test arrivalRate: 10 # Transactions per second defaults: headers: Authorization: 'Bearer ' scenarios: - flow: - post: url: '/get_game_connection'