Skip to content

Commit

Permalink
Add command lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ausias-armesto committed Oct 21, 2024
1 parent 4807575 commit 55748c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k6/assets/nodes-uhttp.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
"name": "uhttp-green-node-1",
"url": "https://uhttp-green-node-1.uhttp.staging.hoprnet.link",
"enabled": true,
"isSender": true,
"isRelayer": true,
"isReceiver": true,
Expand All @@ -16,6 +17,7 @@
{
"name": "uhttp-green-node-2",
"url": "https://uhttp-green-node-2.uhttp.staging.hoprnet.link/",
"enabled": true,
"isSender": true,
"isRelayer": true,
"isReceiver": true,
Expand All @@ -29,6 +31,7 @@
{
"name": "uhttp-green-node-3",
"url": "https://uhttp-green-node-3.uhttp.staging.hoprnet.link/",
"enabled": true,
"isSender": true,
"isRelayer": true,
"isReceiver": true,
Expand All @@ -42,6 +45,7 @@
{
"name": "uhttp-green-node-4",
"url": "https://uhttp-green-node-4.uhttp.staging.hoprnet.link/",
"enabled": true,
"isSender": true,
"isRelayer": true,
"isReceiver": true,
Expand All @@ -56,6 +60,7 @@
{
"name": "uhttp-green-node-5",
"url": "https://uhttp-green-node-5.uhttp.staging.hoprnet.link/",
"enabled": true,
"isSender": true,
"isRelayer": true,
"isReceiver": true,
Expand Down
2 changes: 2 additions & 0 deletions k6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@
"test": "npm run test:local",
"test:local": "npm run webpack && K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run ./dist/send-messages.test.js",
"test:many2many": "npm run webpack && NODES=many2many K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"test:uhttp": "npm run webpack && NODES=uhttp K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"test:sender": "npm run webpack && NODES=sender K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"test:receiver": "npm run webpack && NODES=receiver K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"test:relayer": "npm run webpack && NODES=relayer K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"test:team": "npm run webpack && NODES=team K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"test:dufour": "npm run webpack && NODES=dufour K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM=true K6_OUT=xk6-prometheus-rw K6_PROMETHEUS_RW_SERVER_URL=https://prometheus.staging.hoprnet.link/api/v1/write ./k6 run --summary-export=test-execution-local.json --tag testid=local ./dist/send-messages.test.js",
"setup:rotsee": "npm run build && NODES=many2many node ./dist/setup-environment.js",
"setup:uhttp": "npm run build && NODES=uhttp node ./dist/setup-environment.js",
"setup:team": "npm run build && NODES=team node ./dist/setup-environment.js",
"parse:results": "node parse-results.js test-execution-20240522-113543.json many2many sanity-check 1 test-2.1.0 30"
},
Expand Down

0 comments on commit 55748c9

Please sign in to comment.