This repository has been archived by the owner on Jan 7, 2020. It is now read-only.
MAID-2577 test/Soak-test: Create a first draft of a soak test for safe_app_nodejs package #219
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To run the soak test:
# npm run soak_test ['number of iterations (default: 246)' ['number of steps per iterations: 1 to 17 (default: 17)'] ]
Default number of steps is 246 as it's the maximum number of steps that can be executed before running out of credit with mock routing and with current set of steps.
To run the test an auth URI needs to be generated and replace the one in L5, or the MockVault uploaded with this PR can be used which let the test to work out of the box.
E.g. to run 124 iterations with all 17 steps:
# npm run soak_test 124 17