Replies: 2 comments
-
This looks good so far. Missing some of the functionality in this ping pong test:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Added the idea of Tasks/tests are a type fo LoadTestBehavior, LoadTestController controls that. LoadTestConfig will be high level what params go into the test (ie iterations etc) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Motivation/Design Pattern
ie. SDK Agent and Router Agent shouldn't explicitly know about each other
Deterministic and Trackable build:
ex. I like https://www.srsran.com/performance
Nomenclature:
agent - an actor in the system, router or sdk(client), watchtower[future].
environment - the nxtp services (messaging etc) and external dependencies (chains, providers etc) that the tests run in.
task - a test task that defines some behaviors an agents should take. ex. ping↔pong
results - metrics that describe how the task ran across targets
targets - agents and chains that a task will be executed against to create results
Top Level Environment Configuration from envvars through to Agent specific opts.
needs more color
Top-level Environment configurations
CI: SECRETS.FUNDED_KEY
LOCAL: default 1337 sugar daddy
Configs to Override parts of the code that cant/shouldn't be tested
Individual Configs for Agent Type:
SDK Agent Config:
{menmonic/pk, derriveFromBaseMnemonic: ? }
Pusedo-code:
gets configs for agents and environment
instantiates and confirms them
metric callback f()
test task callback f()
main fn()
Example Test Run:
Beta Was this translation helpful? Give feedback.
All reactions