diff --git a/docs/TestScenarios.md b/docs/TestScenarios.md new file mode 100644 index 0000000000000000000000000000000000000000..e00bf22a4db72af7891b833c585acbe4cc6cf910 --- /dev/null +++ b/docs/TestScenarios.md @@ -0,0 +1,45 @@ +# Test Scenarios + +|author| +|------| +|Rowan Powell| + + +### Useful InfluxDB commands + +| Action | Command example | +| ------ | --------------- | +| get top 3 entries from a database testDB | ```influx -database='testDB' -execute='SELECT * FROM response LIMIT 3'``` | +| show all metrics for a database | ```influx -execute 'SHOW MEASUREMENTS ON testDB'``` | +| show all databases | ```inflix -execute 'SHOW DATABASES'``` | + + + +### Scenario 1 - Linear user load increase + + +Simulating data from during normal usage (Users already present) and linearly increasing users + +* Starting at 20 users and scaling up to 40 over the time period +* X% users using HD v Y% using SD +* A% using resource scream, B% using LegoStarWars + +| Data | Database | +| ---- | -------- | +| Client requests | request | +| Server responses | response | +| server VM network performance | network | +| mpeg_dash reports | mpegdash_service | +| server configuration events | host_resources | +| VM state events | vm_res_alloc | + + +This table is written in shorthand +* ~: proportional to +* #: number of + +| Measurement | Field | Relationships | +| ----------- | ----- | ------------- | +| response | cpuUsage | ~#clients | +| SF | avg_response_time | ~#requests and ~quality | +| SF | peak_repsonse_time | ~#requests and ~quality |