Skip to content

Commit 37498b0

Browse files
committed
fix load test
Signed-off-by: Patrick St-Louis <[email protected]>
1 parent 2fcc071 commit 37498b0

File tree

5 files changed

+490
-145
lines changed

5 files changed

+490
-145
lines changed

demo/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ Build Options:
113113
Load Test Options:
114114
-c, --count N Number of DIDs to create (default: 10)
115115
-u, --updates N Updates per DID (default: 2)
116+
-s, --server URL Server URL for load test (default: http://localhost:8000)
117+
Use this to test against an existing server instead of starting one
116118
--concurrent Run tests concurrently (faster)
117119
--agent Use agent provisioning instead of load test
118120
@@ -126,6 +128,8 @@ Server Options:
126128
Examples:
127129
./magic.sh # Quick start with defaults
128130
./magic.sh -c 50 --concurrent # 50 DIDs concurrently
131+
./magic.sh -s http://localhost:8000 # Test existing server (skip startup)
132+
./magic.sh -s https://did.example.com -c 20 # Test remote server
129133
./magic.sh --ngrok # Start with ngrok
130134
./magic.sh --agent --ngrok # Agent provisioning with ngrok
131135
./magic.sh --no-rebuild -c 20 # Skip rebuild, 20 DIDs

0 commit comments

Comments
 (0)