Performance Testing Plan
Do performance testing for both Discourse and NodeBB for commonly used APIs.
System Requirement:
NodeBB need less RAM but following System configuration should be sufficient enough for both Discourse and NodeBB.
OS: Ubuntu
Processor: Dual core, 64 bit
Disk Space: 10 GB disk space minimum
RAM: 2 GB
Test Script Execution Sequence:
Create User
Get Users
Create Group
Add User into Group
Get Group Members
Create Category
Create Topic
Get latest Topics
Get Topic in Category
Delete Topic
Delete Category
Delete Group
Delete User
Report by User Load:
Discourse:
Note: Configure Discourse to allow multiple API calls before running test scripts.
API | User load | Throughput | Error rate | Average | Min Response Time | Max Response Time | |
---|---|---|---|---|---|---|---|
1 | Create User | 1000 | Â | Â | Â | Â | Â |
2 | Â | Â | Â | Â | Â | Â | |
3 | Â | Â | Â | Â | Â | Â | |
4 | Get Users | Â | Â | Â | Â | Â | Â |
5 | Â | Â | Â | Â | Â | Â | |
6 | Â | Â | Â | Â | Â | Â | |
7 | Create Group | Â | Â | Â | Â | Â | Â |
8 | Â | Â | Â | Â | Â | Â | |
9 | Â | Â | Â | Â | Â | Â | |
10 | Add User into Group | Â | Â | Â | Â | Â | Â |
11 | Â | Â | Â | Â | Â | Â | |
12 | Â | Â | Â | Â | Â | Â | |
13 | Get Group Members | Â | Â | Â | Â | Â | Â |
14 | Â | Â | Â | Â | Â | Â | |
15 | Â | Â | Â | Â | Â | Â | |
16 | Create Category | Â | Â | Â | Â | Â | Â |
17 | Â | Â | Â | Â | Â | Â | |
18 | Â | Â | Â | Â | Â | Â | |
19 | Create Topic | Â | Â | Â | Â | Â | Â |
20 | Â | Â | Â | Â | Â | Â | |
21 | Â | Â | Â | Â | Â | Â | |
22 | Get latest Topics | Â | Â | Â | Â | Â | Â |
23 | Â | Â | Â | Â | Â | Â | |
24 | Â | Â | Â | Â | Â | Â | |
25 | Get Topic in Category | Â | Â | Â | Â | Â | Â |
26 | Â | Â | Â | Â | Â | Â | |
27 | Â | Â | Â | Â | Â | Â | |
28 | Delete Topic | Â | Â | Â | Â | Â | Â |
29 | Â | Â | Â | Â | Â | Â | |
30 | Â | Â | Â | Â | Â | Â | |
31 | Delete Category | Â | Â | Â | Â | Â | Â |
32 | Â | Â | Â | Â | Â | Â | |
33 | Â | Â | Â | Â | Â | Â | |
34 | Delete Group | Â | Â | Â | Â | Â | Â |
35 | Â | Â | Â | Â | Â | Â | |
36 | Â | Â | Â | Â | Â | Â | |
37 | Delete User | Â | Â | Â | Â | Â | Â |
38 | Â | Â | Â | Â | Â | Â | |
39 | Â | Â | Â | Â | Â | Â |
Â