This directory contains example configurations for common testing scenarios.
A comprehensive web application load test that coordinates:
- Web server monitoring
- Multiple load generators
- Performance monitoring
Components:
web_server.cfg- The server under testload_generator1.cfg- First load generatormonitor.cfg- Monitoring node
Usage:
# Start players on each machine
player web_server.cfg # On web server
player load_generator1.cfg # On load gen 1
player monitor.cfg # On monitor
# Run test from conductor
conduct web_load_test.cfgTests database performance with multiple concurrent clients.
Components:
database_server.cfg- Database server configurationdatabase_client1.cfg- First database clientdatabase_client2.cfg- Second database client
Features:
- Connection pool testing
- Query performance monitoring
- Transaction throughput measurement
Measures network latency and throughput between nodes.
Use Cases:
- Datacenter connectivity testing
- WAN link performance
- Network troubleshooting
Tests a complete distributed system with multiple components.
Includes:
- Load balancer configuration
- Multiple application servers
- Database cluster
- Cache servers
-
Normal Commands - Wait for completion
step1 = echo "This runs and waits"
-
Spawn Commands - Run in background
spawn1 = tail -f /var/log/app.log -
Timeout Commands - Run with time limit
timeout60 = stress --cpu 4 --timeout 60
- Always include cleanup in the Reset phase
- Create result directories in Startup phase
- Use spawn for monitoring commands
- Collect logs and metrics in Collect phase
- Test locally first with localhost configurations
[Run]
spawn1 = vmstat 1 > /tmp/vmstat.log
spawn2 = iostat -x 1 > /tmp/iostat.log
spawn3 = top -b -d 1 > /tmp/top.log[Run]
timeout5 = curl -f http://localhost/health || echo "Failed"[Collect]
step1 = mkdir -p /tmp/results
step2 = cp /var/log/app.log /tmp/results/
step3 = tar -czf /tmp/results.tgz /tmp/results/To customize these examples for your environment:
- Update IP addresses in the [Coordinator] section
- Modify commands for your specific applications
- Adjust timeouts based on your test duration
- Add more steps as needed
To create a new test configuration:
- Copy an example that's similar to your use case
- Update the [Coordinator] section with your network details
- Modify the phases (Startup, Run, Collect, Reset)
- Test with a single client first
- Scale up to multiple clients
If examples don't work:
- Check network connectivity between conductor and players
- Verify ports 6970/6971 are open
- Ensure commands exist on player machines
- Check file permissions for output directories
- Review player output for error messages
For more help, see the Installation Guide.