| | 1 | = BluePrint: Load Test = |
| | 2 | [[TOC]] |
| | 3 | |
| | 4 | The tests are located in {{{modules/tests/load}}} |
| | 5 | |
| | 6 | == Load Test Parameters == |
| | 7 | Load Tests can be developed for different |
| | 8 | === Template === |
| | 9 | Which template is being tested |
| | 10 | |
| | 11 | === Number of Users === |
| | 12 | The number of simultaneous users who will be using the |
| | 13 | |
| | 14 | === Sessions === |
| | 15 | |
| | 16 | * 20% create_staff |
| | 17 | * 40% search_staff |
| | 18 | * 40% report_staff |
| | 19 | |
| | 20 | === Number of Records === |
| | 21 | |
| | 22 | === Server Being Testing === |
| | 23 | This should be defined in the Use Case file, but there should also be deployment setting which can be an override for ALL use cases. |
| | 24 | |
| | 25 | == Load Test Files == |
| | 26 | |
| | 27 | === Use Cases === |
| | 28 | {{{modules/tests/use_cases/}}} |
| | 29 | Load tests can be run for a number of different use cases. Each use case will specify the exact parameters for the load test |
| | 30 | |
| | 31 | === Template Helper Files === |
| | 32 | {{{modules/tests/helpers/templates/}}} |
| | 33 | These will be template specific files that record the template specific static files to be downloaded on each page. |
| | 34 | |
| | 35 | === Session Files === |
| | 36 | {{{modules/tests/sessions/}}} |
| | 37 | |
| | 38 | === Helper Files === |
| | 39 | {{{modules/tests/helpers/}}} |
| | 40 | Requests which will be common to many tests. [[BR]] |
| | 41 | These can be reused in multiple sessions.[[BR]] |
| | 42 | Example: |
| | 43 | * login requests will be common to all tests which require login |
| | 44 | |
| | 45 | === Data Files === |
| | 46 | {{{modules/tests/load/data}}} |
| | 47 | Scripts to create additional records to test the load with a large number of records. |
| | 48 | This will both add records directly to the database to test the server with a large number of records as well as create a CSV file of records which can be added by load tests. |
| | 49 | |
| | 50 | == Load Test Process == |
| | 51 | |
| | 52 | === 1. Config Load Test === |
| | 53 | |
| | 54 | === 2. Create Records === |
| | 55 | |
| | 56 | === 3. Run Load Tests === |
| | 57 | |
| | 58 | === 4. Report Results === |
| | 59 | |
| | 60 | ---- |
| | 61 | BluePrint |