For network testing Caliper is used. Network should be configured and up.
To properly initialize the test, make sure that all files were generated (network.sh -m generate
).
To setup the test please issue
$ ./init.sh
After test execution generated report can be found in /reports
folder.
Next, please configure benchmark benchmark/test
folder:
add.js
andquery.js
- please speficy your chaincode name and version, function name and input/query parametersconfig.json
- test configurationfabric.json
- network configuration. All the parameters can be fetched from theartifacts/network-config.json
file.
$ ./start.sh
- automate
fabric.json
configuration - automate network deployment (executing network.sh from the framework)