Spaces:
Sleeping
Sleeping
Feat - More Users - Loads
Browse files- tests/api.py +2 -2
tests/api.py
CHANGED
|
@@ -294,9 +294,9 @@ async def main():
|
|
| 294 |
|
| 295 |
# Load test command
|
| 296 |
load_parser = subparsers.add_parser('load', help='Run a load test with multiple users')
|
| 297 |
-
load_parser.add_argument('--users', type=int, default=
|
| 298 |
help='Number of users to simulate (default: 10)')
|
| 299 |
-
load_parser.add_argument('--concurrency', type=int, default=
|
| 300 |
help='Maximum number of concurrent users (default: 5)')
|
| 301 |
|
| 302 |
# Custom user test command
|
|
|
|
| 294 |
|
| 295 |
# Load test command
|
| 296 |
load_parser = subparsers.add_parser('load', help='Run a load test with multiple users')
|
| 297 |
+
load_parser.add_argument('--users', type=int, default=100,
|
| 298 |
help='Number of users to simulate (default: 10)')
|
| 299 |
+
load_parser.add_argument('--concurrency', type=int, default=10,
|
| 300 |
help='Maximum number of concurrent users (default: 5)')
|
| 301 |
|
| 302 |
# Custom user test command
|