-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LoadTest] Revamp load test suite #1002
base: main
Are you sure you want to change the base?
Changes from all commits
6015f30
d5a16e2
d572521
c7aab5a
3ce7c0a
19fab60
e0a70fe
1f6e1a8
75e5b59
51c72c2
565075d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,16 @@ | |
# It is intended to target a remote environment, such as a devnet or testnet. | ||
is_ephemeral_chain: false | ||
|
||
# testnet_node is the URL of the node that the load test will use to query the | ||
# pocket_node is the URL of the node that the load test will use to query the | ||
# chain and submit transactions. | ||
testnet_node: https://devnet-sophon-validator-rpc.poktroll.com | ||
pocket_node: https://devnet-sophon-validator-rpc.poktroll.com | ||
|
||
# The service ID to request relays from. | ||
service_id: "anvil" | ||
|
||
# The address of the account that will be used to fund the application accounts | ||
# so that they can stake on the network. | ||
funding_account_address: pokt1awtlw5sjmw2f5lgj8ekdkaqezphgz88rdk93sk # address for faucet account | ||
funding_account_address: pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw # address for faucet account | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #PUC which network this is the faucet on. Alpha? Beta? Local? |
||
|
||
# In non-ephemeral chains, the gateways are identified by their address. | ||
gateways: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,16 @@ | |
|
||
is_ephemeral_chain: true # This should be `true` for LocalNet as it is an ephemeral network | ||
|
||
# pocket_node is the URL of the node that the load test will use to query the | ||
# chain and submit transactions. | ||
pocket_node: http://localhost:26657 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
|
||
# The service ID to use for the load test. | ||
service_id: anvil | ||
|
||
# The address of the account that will be used to fund the application, | ||
# gateway and supplier accounts so that they can stake on the network. | ||
funding_account_address: pokt1awtlw5sjmw2f5lgj8ekdkaqezphgz88rdk93sk # address for faucet account | ||
funding_account_address: pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw # address for faucet account | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
|
||
# List of pre-provisioned suppliers used for load testing. | ||
# These suppliers will be progressively staked during the load test, according | ||
|
@@ -48,12 +52,12 @@ gateways: | |
|
||
# Gateway 1; http://localhost:10350/r/gateway1/overview | ||
- address: pokt15vzxjqklzjtlz7lahe8z2dfe9nm5vxwwmscne4 | ||
exposed_url: http://anvil.localhost/v1:3000 # The gateway url that the user sends relays to (e.g. curl) | ||
exposed_url: http://anvil.localhost:3000/v1 # The gateway url that the user sends relays to (e.g. curl) | ||
|
||
# Gateway 2; http://localhost:10350/r/gateway2/overview | ||
- address: pokt15w3fhfyc0lttv7r585e2ncpf6t2kl9uh8rsnyz | ||
exposed_url: http://anvil.localhost/v1:3001 | ||
exposed_url: http://anvil.localhost:3001/v1 | ||
|
||
# Gateway 3; http://localhost:10350/r/gateway3/overview | ||
- address: pokt1zhmkkd0rh788mc9prfq0m2h88t9ge0j83gnxya | ||
exposed_url: http://anvil.localhost/v1:3002 | ||
exposed_url: http://anvil.localhost:3002/v1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,12 @@ Feature: Loading gateway server with relays | |
| gateway | 1 | 10 | 3 | | ||
| supplier | 1 | 10 | 3 | | ||
When a load of concurrent relay requests are sent from the applications | ||
Then the correct pairs count of claim and proof messages should be committed on-chain | ||
Then the number of failed relay requests is "0" | ||
# TODO_FOLLOWUP(@red-0ne): Implement the following steps | ||
# Then "0" over servicing events are observed | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you describe (for future implementation potential by an AI agent):
|
||
# And "0" slashing events are observed | ||
# And "0" expired claim events are observed | ||
# And there is as many reimbursement requests as the number of settled claims | ||
# And the number of claims submitted and claims settled is the same | ||
# And the number of proofs submitted and proofs required is the same | ||
# And the actors onchain balances are as expected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this to
full_node
orrpc_node
?