Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scalability Testing: Decompose NSMgr testing #1016

Open
Bolodya1997 opened this issue Apr 27, 2021 · 0 comments
Open

Scalability Testing: Decompose NSMgr testing #1016

Bolodya1997 opened this issue Apr 27, 2021 · 0 comments
Labels
Planning Issue related to SOW

Comments

@Bolodya1997
Copy link

Bolodya1997 commented Apr 27, 2021

Test plan

Use cases:

  1. Endpoint registers on NSMgr.
  2. Endpoint updates itself on NSMgr.
  3. NSMgr unregisters expired Endpoint from itself.
  4. Forwarder registers on NSMgr.
  5. Forwarder updates itself on NSMgr.
  6. NSMgr unregisters expired Forwarder from itself.
  7. Client sends request to NSMgr.
  8. Client sends refresh request to NSMgr.
  9. Client closes connection on NSMgr.

Test scenarios:

  1. Endpoint registers on NSMgr:
    • Setup
      1. Start fake Registry (just returning OK to all Register/Unregister events).
      2. Start NSMgr.
    • Test
      1. Start E Endpoints each registering itself on NSMgr.
  2. Endpoint updates itself on NSMgr:
    • Setup
      1. Start fake Registry (just returning OK to all Register/Unregister events).
      2. Start NSMgr.
      3. Start E Endpoints each registering itself on NSMgr with T update time.
    • Test
      1. Wait T time for updates.
  3. NSMgr unregisters expired Endpoint from itself:
    • Setup
      1. Start fake Registry (just returning OK to all Register/Unregister events).
      2. Start NSMgr.
      3. Start E Endpoints each registering itself on NSMgr with T expiration time.
    • Test
      1. Wait T time for unregisters.
  4. Forwarder registers on NSMgr:
    • (1)
  5. Forwarder updates itself on NSMgr:
    • (2)
  6. NSMgr unregisters expired Forwarder from itself:
    • (3)
  7. Client sends request to NSMgr:
    • Setup
      1. Start NSMgr.
      2. Start E Endpoints each registering itself on NSMgr.
    • Test
      1. Start C Clients each requesting for E network services (Endpoints).
  8. Client sends refresh request to NSMgr:
    • Setup
      1. Start NSMgr.
      2. Start E Endpoints each registering itself on NSMgr.
      3. Start C Clients each requesting for E Endpoints with T refresh time.
    • Test
      1. Wait T time for refreshes.
  9. Client closes connection on NSMgr.
    • Setup
      1. Start NSMgr.
      2. Start E Endpoints each registering itself on NSMgr.
      3. Start C Clients each requesting for E Endpoints.
    • Test
      1. Cancel Clients.
  10. NSMgr closes expired connection with Client.
    • Setup
      1. Start NSMgr.
      2. Start E Endpoints each registering itself on NSMgr.
      3. Start C Clients each requesting for E Endpoints with T expiration time.
    • Test
      1. Wait T time for closes.

Tasks

  1. Create fake Registry CMD (returns OK for all).
    Estimation: 2h
  2. Create MD integration test for (1) test scenario with E variable parameter and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 1d
  3. Create MD integration test for (2) test scenario with E, T variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h
  4. Create MD integration test for (3) test scenario with E, T variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h
  5. Create MD integration test for (4) test scenario with E variable parameter and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 1d
  6. Create MD integration test for (5) test scenario with E, T variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h
  7. Create MD integration test for (6) test scenario with E, T variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h
  8. Create fake Forwarder CMD (simply requests NSMgr).
    Estimation: 2h
  9. Create fake Endpoint CMD (returns OK for all).
    Estimation: 2h
  10. Create MD integration test for (7) test scenario with E, C variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 1d
  11. Create MD integration test for (8) test scenario with E, C, T variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h
  12. Create MD integration test for (9) test scenario with E, C variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h
  13. Create MD integration test for (10) test scenario with E, C, T variable parameters and measure time, CPU, memory usage for NSMgr during the test.
    Estimation: 3h

Estimation

8d

@denis-tingaikin denis-tingaikin added this to Backlog in Issue/PR tracking via automation Apr 27, 2021
@Bolodya1997 Bolodya1997 added the Planning Issue related to SOW label Apr 27, 2021
@Bolodya1997 Bolodya1997 moved this from Backlog to Review in progress in Issue/PR tracking Apr 27, 2021
@denis-tingaikin denis-tingaikin moved this from Review in progress to To do in Issue/PR tracking Apr 27, 2021
@Mixaster995 Mixaster995 moved this from To do to Backlog in Issue/PR tracking Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Planning Issue related to SOW
Projects
Issue/PR tracking
  
Backlog
Development

No branches or pull requests

1 participant