
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@increff/load-runner
Advanced tools
A powerful CLI wrapper around k6 for load testing with JSON configuration, variable substitution, custom ramping patterns, and comprehensive logging
A powerful CLI wrapper around k6 for load testing with JSON configuration, variable substitution, custom ramping patterns, and comprehensive logging.
npm install -g load-runner-k6
Make sure you have k6 installed on your system.
# Run with JSON configuration
load-runner config test-config.json
# Run with custom ramping pattern
load-runner ramp test-config.json custom-ramp.json
# Run multiple scenarios in parallel
load-runner scenarios ./test-scenarios
# Get help
load-runner --help
Command | Description |
---|---|
config <file> | Run k6 using JSON configuration file |
ramp <config> <ramp-config> | Run with custom ramping pattern |
scenarios <folder> | Run multiple JSON files in parallel |
stages | List available test stages |
create-config | Create sample configuration file |
create-ramp | Create sample custom ramping configuration |
interactive | Interactive configuration mode |
Create sophisticated load testing patterns with custom ramping configurations:
{
"name": "Spike Testing Pattern",
"stages": [
{ "duration": "1m", "target": 10 },
{ "duration": "30s", "target": 100 },
{ "duration": "1m", "target": 100 },
{ "duration": "30s", "target": 10 },
{ "duration": "2m", "target": 0 }
]
}
{
"url": "https://api.example.com/users",
"method": "GET",
"request_headers": {
"Content-Type": "application/json",
"Authorization": "Bearer ${token}"
},
"variables": {
"token": "your-jwt-token-here"
},
"log_failed_responses": true
}
{
"url": "https://api.example.com/orders",
"method": "POST",
"request_headers": {
"Content-Type": "application/json"
},
"payload": {
"order_id": "${$randomInt}",
"timestamp": "${$timestamp}",
"items": ["item1", "item2"]
},
"variables": {
"customer_id": "12345"
}
}
Variable | Description | Example |
---|---|---|
${$timestamp} | Unix timestamp | 1703123456 |
${$randomString} | Random string | abc123def |
${$randomInt} | Random integer | 1234567 |
${$localDateTime} | Local datetime | 2025-08-27 10:30:45.123000 |
${$isoTimestamp} | ISO timestamp | 2025-08-27T10:30:45.123 |
Define your own stages in k6-config.json
:
{
"stages": {
"custom": [
{ "duration": "2m", "target": 10 },
{ "duration": "5m", "target": 10 },
{ "duration": "2m", "target": 0 }
]
}
}
Run multiple test scenarios simultaneously:
load-runner scenarios ./test-scenarios --max-parallel 5
Enable CSV output for detailed analysis:
{
"log_orders_to_csv": true,
"log_requests": true,
"log_failed_responses": true
}
Define performance thresholds:
{
"thresholds": {
"http_req_duration": ["p(95)<500"],
"http_req_failed": ["rate<0.01"]
}
}
git clone https://github.com/increff/load-runner.git
cd load-runner
npm install
# Run locally
node bin/load-runner.js --help
# Create sample files
node bin/load-runner.js create-config
node bin/load-runner.js create-ramp
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Increff
FAQs
A powerful CLI wrapper around k6 for load testing with JSON configuration, variable substitution, custom ramping patterns, and comprehensive logging
We found that @increff/load-runner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.