-
Notifications
You must be signed in to change notification settings - Fork 3
/
application.conf
executable file
·45 lines (41 loc) · 1.49 KB
/
application.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Config file format based on Typesafe config HOCON format
# https://github.com/typesafehub/config
# https://github.com/typesafehub/config/blob/master/HOCON.md
#
# Values can be overridden via Java command line arguments like:
# -Dauth.awsAccessKeyId=ABCDEFG
# Use temporary API keys for the AWS account.
auth {
awsAccessKeyId = "do-not-commit-to-git"
awsSecretAccessKey = "do-not-commit-to-git"
awsSessionToken = "do-not-commit-to-git"
}
# SageMaker endpoint to target:
sagemaker {
host = "runtime.sagemaker.us-west-2.amazonaws.com"
region = "us-west-2"
endpoint = "CPERF-model-sim-1"
}
# Traffic pattern to send:
scenario {
# The default scenario will start at rampStartTps and ramp up for rampMinutes minutes to
# steadyStateTps, then run at steadyStateTps for steadyStateMinutes.
rampStartTps = 0
rampMinutes = 1
steadyStateTps = 1
steadyStateMinutes = 10
# Array of files to use as request bodies for testing this endpoint.
# - There must be at least one file.
# - Each file has a path, which must point to a file that exists, and will be resolved as either
# an absolute path, a path relative to current working directory, or a path relative to the
# src/test/resources directory.
# - Each file must have a corresponding weight, which represents the percentage probability it
# will be used for a given request.
# - The sum of weights must equal 100.
requests = """[
{
"path": "bodies/model-sim/1/status-200.input.json",
"weight": 100
}
]"""
}