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:

  1. Create User

  2. Get Users

  3. Create Group

  4. Add User into Group

  5. Get Group Members

  6. Create Category

  7. Create Topic

  8. Get latest Topics

  9. Get Topic in Category

  10. Delete Topic

  11. Delete Category

  12. Delete Group

  13. 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

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

 

 

 

 

 

 

Â