Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
557 commits
Select commit Hold shift + click to select a range
b91deb4
Update host.csv
juthipaul Mar 11, 2021
da1947f
Update group-update-member.jmx
juthipaul Mar 11, 2021
66d34f2
Update run_scenario.sh
juthipaul Mar 11, 2021
3f658ce
Update send-telemetry.jmx
juthipaul Mar 11, 2021
48a7a7f
Update sokatest-autoscale-cluster1.jmx
juthipaul Mar 11, 2021
627c060
Update sokatest-autoscale-cluster3.jmx
juthipaul Mar 11, 2021
1cffee0
Update host.csv
juthipaul Mar 11, 2021
9fd0450
Update user-create-test-data.csv
juthipaul Mar 11, 2021
8cb02b1
Update run_scenario.sh
juthipaul Mar 11, 2021
9fb086d
Update run_scenario.sh
juthipaul Mar 11, 2021
bc6dfaa
added test result
juthipaul Mar 16, 2021
a19ac5d
Update README.md
juthipaul Mar 16, 2021
4626be4
test result added
juthipaul Mar 16, 2021
24544d5
Update README.md
juthipaul Mar 16, 2021
0c2407e
added test result
juthipaul Mar 16, 2021
b727889
added test scenario
juthipaul Mar 16, 2021
97a7f46
added test scenario and test result
juthipaul Mar 16, 2021
09c6a2a
added test result
juthipaul Mar 16, 2021
d6ab831
added test result
juthipaul Mar 16, 2021
4b47d3e
Added test result
juthipaul Mar 16, 2021
2abf162
added test result
juthipaul Mar 16, 2021
3645f87
added test result
juthipaul Mar 16, 2021
78acda1
Update README.md
juthipaul Mar 16, 2021
9f1d1fe
added test result
juthipaul Mar 16, 2021
32608b0
added test result
juthipaul Mar 16, 2021
4c56c27
added test result
juthipaul Mar 16, 2021
1bcc324
added test result
juthipaul Mar 16, 2021
5db91db
Update README.md
juthipaul Mar 16, 2021
033c9d7
Update README.md
juthipaul Mar 16, 2021
65159e1
Update README.md
juthipaul Mar 17, 2021
9104163
Update README.md
juthipaul Mar 17, 2021
33b6209
Update README.md
juthipaul Mar 17, 2021
7cb5bd8
Update README.md
juthipaul Mar 17, 2021
94754bd
Update README.md
juthipaul Mar 17, 2021
ac49e7c
Update README.md
juthipaul Mar 17, 2021
258e985
Update README.md
juthipaul Mar 17, 2021
8881d2f
Update README.md
juthipaul Mar 17, 2021
94f7a31
Update README.md
juthipaul Mar 17, 2021
f88f8b3
Update README.md
juthipaul Mar 18, 2021
69d833e
Update README.md
juthipaul Mar 18, 2021
745f9ac
Update README.md
juthipaul Mar 18, 2021
7ea7676
Update README.md
juthipaul Mar 18, 2021
dd031ba
Update README.md
juthipaul Mar 18, 2021
f717cee
Update README.md
juthipaul Mar 18, 2021
af5c4e8
Update README.md
juthipaul Mar 18, 2021
34d849a
Update README.md
juthipaul Mar 18, 2021
40065e0
Update README.md
juthipaul Mar 18, 2021
283af13
Update README.md
juthipaul Mar 18, 2021
b5ddc4d
Update README.md
juthipaul Mar 18, 2021
626caaf
Create README.md
juthipaul Mar 18, 2021
932e0d1
Update README.md
juthipaul Mar 18, 2021
3b45a13
Create README.md
juthipaul Mar 18, 2021
b9c5282
Update README.md
juthipaul Mar 18, 2021
c956a3b
Update README.md
juthipaul Mar 18, 2021
06701e2
Update README.md
juthipaul Mar 18, 2021
7c8ed62
Update README.md
juthipaul Mar 18, 2021
ab1a5de
Update README.md
juthipaul Mar 18, 2021
26067af
Create README.md
juthipaul Mar 18, 2021
1ce249b
Update README.md
juthipaul Mar 18, 2021
c13038c
Update README.md
juthipaul Mar 18, 2021
f4ecee0
Update README.md
juthipaul Mar 18, 2021
699c981
Update README.md
juthipaul Mar 18, 2021
37b994f
Update README.md
juthipaul Mar 18, 2021
ef93904
Update README.md
juthipaul Mar 18, 2021
dfbbbd4
Update README.md
juthipaul Mar 18, 2021
e0e3696
Update README.md
juthipaul Mar 18, 2021
ea0668a
Update README.md
juthipaul Mar 18, 2021
579c8ad
Update README.md
juthipaul Mar 18, 2021
af10135
Update README.md
juthipaul Mar 18, 2021
866e236
Update README.md
juthipaul Mar 18, 2021
d53d576
Update README.md
juthipaul Mar 18, 2021
e135281
Update README.md
juthipaul Mar 18, 2021
068f170
Update README.md
juthipaul Mar 18, 2021
c797818
Update README.md
juthipaul Mar 18, 2021
c4a8ae1
Update README.md
juthipaul Mar 18, 2021
ae09d8c
Update README.md
juthipaul Mar 18, 2021
7d4065e
Update README.md
juthipaul Mar 18, 2021
448f188
Update README.md
juthipaul Mar 18, 2021
d55d33d
Update README.md
juthipaul Mar 19, 2021
ccda5db
Update README.md
juthipaul Mar 19, 2021
5f5e93d
Update README.md
juthipaul Mar 19, 2021
d3c4d9d
Update README.md
juthipaul Mar 19, 2021
b7b71d1
Update README.md
juthipaul Mar 19, 2021
e1fb06d
Update README.md
juthipaul Mar 19, 2021
fccb534
Update README.md
juthipaul Mar 19, 2021
81496e8
Update README.md
juthipaul Mar 19, 2021
5b646dc
Update README.md
juthipaul Mar 19, 2021
3abe6b5
Update README.md
juthipaul Mar 19, 2021
28ea21a
Update README.md
juthipaul Mar 19, 2021
dc0064f
Update README.md
juthipaul Mar 19, 2021
a3415e0
Update README.md
juthipaul Mar 19, 2021
84f9478
Update README.md
juthipaul Mar 19, 2021
7f517a0
Update README.md
juthipaul Mar 19, 2021
6f14b69
Update README.md
juthipaul Mar 19, 2021
fca1ef7
Update README.md
juthipaul Mar 19, 2021
651e509
Update README.md
juthipaul Mar 19, 2021
dd73b53
Update README.md
juthipaul Mar 19, 2021
19e5b80
Update README.md
juthipaul Mar 19, 2021
47fa797
Update README.md
juthipaul Mar 19, 2021
f6a45ea
Update README.md
juthipaul Mar 19, 2021
c4d3192
Update README.md
juthipaul Mar 19, 2021
1933925
Update README.md
juthipaul Mar 19, 2021
c64be62
Update README.md
juthipaul Mar 19, 2021
0ca5c23
Update README.md
juthipaul Mar 19, 2021
dfdcb38
Update README.md
juthipaul Mar 19, 2021
5de8385
Update README.md
juthipaul Mar 19, 2021
a764313
Update README.md
juthipaul Mar 19, 2021
4bc0076
Update README.md
juthipaul Mar 19, 2021
94e5c8f
Update README.md
juthipaul Mar 19, 2021
68be8dc
Update README.md
juthipaul Mar 19, 2021
9b834b9
Update README.md
juthipaul Mar 19, 2021
1fde562
Update README.md
juthipaul Mar 19, 2021
55f9e53
Update README.md
juthipaul Mar 19, 2021
6d717c9
Update README.md
juthipaul Mar 19, 2021
88be0b1
Update README.md
juthipaul Mar 19, 2021
155c4f0
Update README.md
juthipaul Mar 19, 2021
956d3f9
Update README.md
juthipaul Mar 19, 2021
20688de
Update README.md
juthipaul Mar 19, 2021
97de408
Update README.md
juthipaul Mar 19, 2021
73df11e
Update README.md
juthipaul Mar 19, 2021
7e2bf8a
Update README.md
juthipaul Mar 19, 2021
499f17c
Update README.md
juthipaul Mar 19, 2021
d80326c
Update README.md
juthipaul Mar 19, 2021
906b45d
Update README.md
juthipaul Mar 19, 2021
996d5f5
Update README.md
juthipaul Mar 19, 2021
45ecab7
Update README.md
juthipaul Mar 19, 2021
f52b25f
Update README.md
juthipaul Mar 19, 2021
5ccd504
Update README.md
juthipaul Mar 19, 2021
019bf9b
Update README.md
juthipaul Mar 19, 2021
8d206db
Update README.md
juthipaul Mar 19, 2021
8d8779b
Update README.md
juthipaul Mar 19, 2021
da361bf
Update README.md
juthipaul Mar 19, 2021
f7e2ab4
Update README.md
juthipaul Mar 19, 2021
9da0e1c
Update README.md
juthipaul Mar 23, 2021
4c807f0
Update README.md
juthipaul Mar 23, 2021
db39687
Update README.md
juthipaul Mar 23, 2021
6f21c42
Update README.md
juthipaul Mar 23, 2021
fd5c7e4
Update README.md
juthipaul Mar 23, 2021
9e42a48
Update README.md
juthipaul Mar 23, 2021
22df841
Update README.md
juthipaul Mar 23, 2021
fd96d01
Update README.md
juthipaul Mar 23, 2021
d89df85
Update README.md
juthipaul Mar 23, 2021
d862bfe
Update README.md
juthipaul Mar 23, 2021
d37ce1f
Update README.md
juthipaul Mar 23, 2021
19d316a
Update README.md
juthipaul Mar 23, 2021
4066ab6
Update README.md
juthipaul Mar 23, 2021
938c55c
Update README.md
juthipaul Mar 23, 2021
db478b2
Update README.md
juthipaul Mar 23, 2021
eec6145
Update README.md
juthipaul Mar 23, 2021
f2b5a00
Update README.md
juthipaul Mar 23, 2021
356cf08
Update README.md
juthipaul Mar 23, 2021
3ba1c4a
Update README.md
juthipaul Mar 23, 2021
467beff
Update README.md
juthipaul Mar 23, 2021
636eb69
Update README.md
juthipaul Mar 23, 2021
54cdbb3
Update README.md
juthipaul Mar 23, 2021
46880b2
Update README.md
juthipaul Mar 23, 2021
6173331
Update README.md
juthipaul Mar 23, 2021
4becd71
Update README.md
juthipaul Mar 23, 2021
b82a7f3
Update README.md
juthipaul Mar 23, 2021
97bee8f
Update README.md
juthipaul Mar 23, 2021
a15dffd
Update README.md
juthipaul Mar 23, 2021
df2f7c4
Update README.md
juthipaul Mar 23, 2021
3817284
Update README.md
juthipaul Mar 23, 2021
6580371
Update README.md
juthipaul Mar 23, 2021
2cb3438
Update README.md
juthipaul Mar 23, 2021
21e6281
Update README.md
juthipaul Mar 23, 2021
c4a7724
Update README.md
juthipaul Mar 23, 2021
0c849d6
Update README.md
juthipaul Mar 23, 2021
2571cce
Update README.md
juthipaul Mar 23, 2021
ea498ea
Update README.md
juthipaul Mar 23, 2021
c6e5483
Update README.md
juthipaul Mar 23, 2021
fd25ecc
Update README.md
juthipaul Mar 23, 2021
9898d13
Update README.md
juthipaul Mar 23, 2021
37460cf
Update README.md
juthipaul Mar 23, 2021
31e9691
Update README.md
juthipaul Mar 23, 2021
0f7d47f
Update README.md
juthipaul Mar 23, 2021
e354908
Update README.md
juthipaul Mar 23, 2021
0abd7af
Update README.md
juthipaul Mar 23, 2021
3fa2020
Update README.md
juthipaul Mar 23, 2021
bfe8c2e
Update README.md
juthipaul Mar 23, 2021
c54e80b
Update README.md
juthipaul Mar 23, 2021
ca68f2f
Update README.md
juthipaul Mar 23, 2021
f2564b9
Update README.md
juthipaul Mar 23, 2021
edafcf9
Update README.md
juthipaul Mar 23, 2021
510aba4
Merge pull request #46 from juthipaul/groot-changes
gandham-santhosh Apr 19, 2021
1bd7ab7
Updated backend configuration details
juthipaul Apr 19, 2021
33c8fce
Update README.md
juthipaul Apr 19, 2021
ed1ec70
Update README.md
juthipaul Apr 19, 2021
d855fad
Update README.md
juthipaul Apr 22, 2021
01cddfe
Update README.md
juthipaul Apr 22, 2021
9ee0ee6
Update README.md
juthipaul Apr 22, 2021
08ecc52
Update README.md
juthipaul Apr 22, 2021
806e4c2
Update README.md
juthipaul Apr 22, 2021
0fb8167
Update README.md
juthipaul Apr 22, 2021
cb6280e
Update README.md
juthipaul Apr 22, 2021
46fa565
Update README.md
juthipaul Apr 22, 2021
c8a11bf
Update README.md
juthipaul Apr 22, 2021
0d9d148
Update README.md
juthipaul Apr 22, 2021
411bb6e
Update README.md
juthipaul Apr 23, 2021
f07068f
Update README.md
juthipaul Apr 23, 2021
6c768e3
Update README.md
juthipaul Apr 23, 2021
1532cbb
Update README.md
juthipaul Apr 23, 2021
e67a22a
Update README.md
juthipaul Apr 23, 2021
b971104
Update README.md
juthipaul Apr 23, 2021
f196005
Update README.md
juthipaul Apr 23, 2021
e3cbdaa
Update README.md
juthipaul Apr 23, 2021
c39fc7b
Update README.md
juthipaul Apr 23, 2021
6e67210
Update README.md
juthipaul Apr 23, 2021
cfa0cc2
Update README.md
juthipaul Apr 23, 2021
7a3437d
Update README.md
juthipaul Apr 23, 2021
0a7eda2
Update README.md
juthipaul Apr 23, 2021
035ec7f
Update README.md
juthipaul Apr 23, 2021
9f78bce
Update README.md
juthipaul Apr 23, 2021
6a981af
Update README.md
juthipaul Apr 23, 2021
4c31bf1
Update README.md
juthipaul Apr 23, 2021
158f64e
Update README.md
juthipaul Apr 23, 2021
d95ad02
Update README.md
juthipaul Apr 23, 2021
a2de288
Update README.md
juthipaul Apr 23, 2021
9350062
Update README.md
juthipaul Apr 23, 2021
56ad0b1
Update README.md
juthipaul Apr 23, 2021
8e3358d
Update README.md
juthipaul Apr 23, 2021
84bff13
Update README.md
juthipaul Apr 23, 2021
082007d
Update README.md
juthipaul Apr 23, 2021
2dc1dd7
Update README.md
juthipaul Apr 23, 2021
fb9ebc3
Update README.md
juthipaul Apr 23, 2021
e587279
Update README.md
juthipaul Apr 23, 2021
b957df2
Update README.md
juthipaul Apr 23, 2021
2edd09d
Update README.md
juthipaul Apr 23, 2021
a19056b
Update README.md
juthipaul Apr 23, 2021
e472454
Update README.md
juthipaul Apr 23, 2021
6e0db8d
Update README.md
juthipaul Apr 23, 2021
cdec233
Update README.md
juthipaul Apr 23, 2021
a03e51a
Update README.md
juthipaul Apr 23, 2021
e41b919
Update README.md
juthipaul Apr 23, 2021
3450c03
Update README.md
juthipaul Apr 23, 2021
b8b55ab
Update README.md
juthipaul Apr 23, 2021
5b29f3b
Update README.md
juthipaul Apr 23, 2021
9ba011e
Update README.md
juthipaul Apr 23, 2021
0345b7b
Update README.md
juthipaul Apr 23, 2021
ac82667
Update README.md
juthipaul Apr 23, 2021
868b0e3
Update README.md
juthipaul Apr 23, 2021
49b0e7a
Update README.md
juthipaul Apr 23, 2021
3f62e62
Update README.md
juthipaul Apr 23, 2021
0436d9d
Update README.md
juthipaul Apr 23, 2021
026d0ad
Update README.md
juthipaul Apr 23, 2021
7cd38f6
Update README.md
juthipaul Apr 23, 2021
c4c3b5b
Update README.md
juthipaul Apr 23, 2021
21e9c65
Update README.md
juthipaul Apr 23, 2021
a8c5fc2
Update README.md
juthipaul Apr 23, 2021
16f675d
Merge pull request #47 from juthipaul/groot-changes
gandham-santhosh Apr 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sunbird-analytics/device-register/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
run scenario:
66 changes: 62 additions & 4 deletions sunbird-platform/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,66 @@
The purpose of this document is to describe the steps required to perform a sunbird platform (learner service) load test.
The purpose of this document is to describe the steps required to perform a sunbird platform load test.
This folder consists of following APIs loadtest scripts.


| Folder Name | API End Point |
|----------------------------|----------------------------------------------|
| account-merge | /api/user/v1/account/merge |
| assign-role | /api/user/v1/role/assign |
| auth-token | /auth/realms/sunbird/protocol/openid-connect/token|
| cert-service-pdf-download | /api/certreg/v1/certs/download |
| cert-service-svg | /api/cert/v2/certs/generate |
| cert-service | /api/cert/v1/certs/generate |
| channel-read | /api/channel/v1/read |
|composite-search | /api/composite/v1/search |
| content-hierarchy | /api/course/v1/hierarchy |
| content-read | /api/content/v1/read |
|content-search | /api/content/v1/search |
|course-batch-enrol | /api/course/v1/enrol |
| device-profile |/api/v3/device/profile |
| device-register |/api/v3/device/register |
| dial-assemble |/api/data/v1/dial/assemble |
|email-notification |/api/user/v1/notification/email |
|ext-user-create | /api/user/v3/create |
| ext-user-read |/private/user/v1/read |
| framework-read |/api/framework/v1/read |
| group-create |/api/group/v1/create |
| group-delete |/api/group/v1/delete |
| group-list | /api/group/v1/list |
|group-membership-update |/api/group/membership/v1/update |
|group-read | /api/group/v1/read |
| group-update-activity |/api/group/v1/update |
| group-update-member |/api/group/v1/update |
| learner-state-read |/api/course/v1/content/state/read |
|learner-state-update |/api/course/v1/content/state/update |
|location-search-district |/api/data/v1/location/search |
|location-search |/api/data/v1/location/search |
|login | 4 APIs calls |
|org-search |/api/org/v1/search |
|page-assemble |/api/data/v1/page/assemble |
|read-child-user |/api/user/v2/read/${userId}?withTokens=true |
|send-telemetry |/api/data/v1/telemetry |
|system-settings |/api/data/v1/system/settings/get |
| tnc-accept |/api/user/v1/tnc/accept |
|user-bmgs-update |/api/user/v1/update |
|user-create-with-course-batch-enrol|/api/user/v1/create, /api/course/v1/enrol|
| user-create |/api/user/v1/create |
| user-enrollment-list |/api/course/v1/user/enrollment/list |
| user-existence | /api/user/v1/exists/email |
| user-get | /api/user/v1/get/email |
| user-identifier-freeup |/private/user/v1/identifier/freeup |
| user-migrate |/private/user/v1/migrate |
| user-notification |/api/user/v2/notification |
| user-read |/api/user/v3/read |
|user-search-email |/api/user/v1/search |
|user-self-declaration |/api/user/v1/declarations |





### Pre-requisites
* Clone this repo (`sunbird-perf-tests`) in home directory
* Setup Apache JMeter 5.1.1 (`apache-jmeter-5.1.1`) in home directory
* Setup Apache JMeter 5.3 (`apache-jmeter-5.3`) in home directory
* Update Apache JMeter configuration properties (`jmeter.properties`)

```
Expand All @@ -12,7 +70,7 @@ jmeter.save.saveservice.requestHeaders=true
```
* Run Apache JMeter
```
nohup ~/apache-jmeter-5.1.1/bin/jmeter-server &
nohup ~/apache-jmeter-5.3/bin/jmeter-server &
```
* Create necessary folders for running scenario script in home directory
```
Expand All @@ -30,7 +88,7 @@ sh run_scenario.sh <JMETER_HOME> <JMETER_IP_LIST> <HOST> <SCENARIO_NAME> <SCENAR
e.g.

```
sh run_scenario.sh ~/apache-jmeter-5.1.1 "28.0.0.18,28.0.0.19,28.0.0.20" "dev.sunbirded.org" system-settings r1_system-settings_t5 5 1 1 "ABCDEFabcdef012345" "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" "/tmp/data.csv /tmp/sunbird-perf-tests/sunbird-platform/common/config/domain-end-point.csv" "/api"
sh run_scenario.sh ~/apache-jmeter-5.3 "28.0.0.18,28.0.0.19,28.0.0.20" "dev.sunbirded.org" system-settings r1_system-settings_t5 5 1 1 "ABCDEFabcdef012345" "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" "/tmp/data.csv /tmp/sunbird-perf-tests/sunbird-platform/common/config/domain-end-point.csv" "/api"
```

### How to verify?
Expand Down
40 changes: 40 additions & 0 deletions sunbird-platform/account-merge/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
### Test Scenario:

Benchmarking Merge Account API.


### Test Environment Details:
1. No of AKS node -24 (CPU- 8Core & Memory- 16GB)
2. No of learner service replicas - 8 (CPU- 3Core & Memory- 5GB)
3. ES Cluster - 3 nodes; CPU- 8core ; Memory- 32GB
4. Cassandra Cluster- 5 Nodes; CPU- 16Core; Memory- 64GB
5. Release version - NA


**API End Point:**
`/api/user/v1/account/merge`


**Executing the test scenario using JMeter:**

```./run_scenario.sh <JMETER_HOME> <JMETER_IP_LIST> <SCENARIO_NAME> <SCENARIO_ID> <THREADS_COUNT> <RAMPUP_TIME> <CTRL_LOOPS> <API_KEY> <DOMAIN_FILE> <CSV_FILE_TO_ACCOUNT> <CSV_FILE_FROM_ACCOUNT> <pathPrefix>```

e.g.

```./run_scenario.sh /mount/data/benchmark/apache-jmeter-5.3/ 'Jmeter_Slave1_IP,Jmeter_Slave2_IP,Jmeter_Slave3_IP,Jmeter_Slave4_IP' account-merge account-merge-Id1 5 1 5 "ABCDEFabcdef012345" ~/sunbird-perf-tests/sunbird-platform/testdata/host.csv ~/sunbird-perf-tests/sunbird-platform/testdata/toAccounts.csv ~/sunbird-perf-tests/sunbird-platform/testdata/fromAccounts.csv /api/user/v1/account/merge```


**Note**
- `toAccounts.csv` : State tenant users account details. Custodian users accounts will be merged to these accounts.
- `fromAccounts.csv`: Custodian users account details. These are the accounts which are going to be megred with state tenant user accounts.
- `x-authenticated-user-token` in header manager is tenant user's access token to which account of the custodian user account is going to be merged.
- `x-source-user-token` in header manager is custodian user's access token , whose account to going to be merged.
- Update `host.csv` file data with correct host details before running the test. It can be domain details / Kubernetes Node IPs/ LB IPs/ Direct Service IPs with port details.



### Test Result

| API | Thread Count | Samples | Errors% | Throughput/sec | Avg Resp Time | 95th pct | 99th pct |
| ------------- | ------------- | -------- | --------- | --------------- |---------------|-------------|-------------|
| Account Merge | 200 | 100000 | 0 (0.00%) | 401.7 | 429 | 1040 | 1686.94 |
Loading