[EXCONTRANS-222] Load/Stress test for ECTS-V2 Created: 28/May/18  Updated: 20/Jul/18  Resolved: 25/Jun/18

Status: Closed
Project: Content Translation Extended (CTX)
Component/s: Core
Affects Version/s: 2.0
Fix Version/s: 2.0

Type: Improvement Priority: Neutral
Reporter: Trung Luu Assignee: Trung Luu
Resolution: Fixed Votes: 0
Labels: loadtest
Remaining Estimate: 0d
Time Spent: Not Specified
Original Estimate: 0d

Attachments: XML File config.modules.multisite.config.sites.travel.i18n.locales.xml     XML File translationBatches.test-overload-1..1-batch.xml     XML File translationBatches.test-overload-1..2.xml     XML File website.translationpages.xml    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Sprint: Scrum Sprint 10

 Comments   
Comment by Trung Luu [ 30/May/18 ]

Hi slutz,

I created some test case for doing the stress test as below:

1. Overload

  • Case 1.1: 1 batch - 100 resources - 1 target lang
  • Case 1.2: 2 batches - 500 resources - 2 target langs
  • Case 1.3: 50 batches - 200 resources - 2 target langs
  • Case 1.4: 100 batches - 200 resources - 2 target langs
  • Case 1.5: 100 batches - 500 resources - 3 target langs

Expected: System can be work normally.

2. Restore when error

  • Case 2.1: Run case 1.1 and interfere to make the error
  • Case 2.2: Run case 1.2 and interfere to make the error
  • Case 2.3: Run case 1.3 and interfere to make the error
  • Case 2.4: Run case 1.4 and interfere to make the error
  • Case 2.5: Run case 1.5 and interfere to make the error

Expected: System can be restore when error

3. High loading in long time

  • Case 3.1: Run case 1.1 in 1h
  • Case 3.2: Run case 1.2 in 4h
  • Case 3.3: Run case 1.3 in 2 days
  • Case 3.4: Run case 1.4 in 5 days
  • Case 3.5: Run case 1.4 in 10 days

Expected: Not throwing any exceptions or errors

4. Response time

  • Case 4.1: Count response time when running case 1.1
  • Case 4.2: Count response time when running case 1.2
  • Case 4.3: Count response time when running case 1.3
  • Case 4.4: Count response time when running case 1.4
  • Case 4.5: Count response time when running case 1.5

Expected: Acceptable response time

5. Shutdown suddenly when High loading

  • Case 5.1: Shutdown server when running case 1.1 and re-start
  • Case 5.2: Shutdown server when running case 1.2 and re-start
  • Case 5.3: Shutdown server when running case 1.3 and re-start
  • Case 5.4: Shutdown server when running case 1.4 and re-start
  • Case 5.5: Shutdown server when running case 1.5 and re-start

Expected: System can be work normally.

I'm creating the test data and will attach bootstrap files later. 

Please let me know if you have any questions. Thanks

CC: chuong.doan, thanh.lehai, khuong.nguyenduy

Regards,

Trung Luu

 

Comment by Trung Luu [ 31/May/18 ]

Mandatory resources for translation: website.translationpages.xml and config.modules.multisite.config.sites.travel.i18n.locales.xml

Test data case 1.1: translationBatches.test-overload-1..1-batch.xml

Test data case 1.2: translationBatches.test-overload-1..2.xml

Test data case 1.3: https://drive.google.com/file/d/1GV_RcDxdsaUtRob4uJ8GCAJM2JcUk52U/view?usp=sharing

Test data case 1.4: https://drive.google.com/file/d/1IhWmCblDHZLpmFFtcS_S7xxlrmQ4CRX_/view?usp=sharing

Test data case 1/5: https://drive.google.com/file/d/10up27LHQasKMpNqrT_dSCZquHUKpBwVc/view?usp=sharing

Generated at Mon Feb 12 00:29:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.