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

feat - load testing added #39

Merged
merged 7 commits into from
Mar 20, 2024
Merged

feat - load testing added #39

merged 7 commits into from
Mar 20, 2024

Conversation

anasnadeemws
Copy link
Collaborator

Ticket Link


Related Links


Description


Steps to Reproduce / Test



Checklist

  • PR description included
  • pytest passes
  • Tests are [changed or added]
  • Relevant documentation is changed or added (and PR referenced)

GIF's


Copy link

github-actions bot commented Mar 20, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
app
   app.py372824%12–67
app/config
   __init__.py3167%6
   base.py37295%53–54
   celery_config.py17170%1–27
   celery_utils.py21210%1–30
   redis_config.py5260%8–9
app/constants
   jwt_utils.py161131%11–23
app/daos
   home.py10550%11–18
   users.py706211%12–133
app/middlewares
   cache_middleware.py51510%1–67
   rate_limiter_middleware.py25250%1–35
   request_id_injection.py17170%1–25
app/models
   __init__.py330%1–5
   users.py27270%1–38
app/routes
   __init__.py12120%1–15
app/routes/cache_router
   __init__.py330%1–5
   cache_samples.py12120%1–18
app/routes/celery_router
   __init__.py330%1–5
   celery_samples.py12120%1–17
app/routes/home
   __init__.py330%1–5
   home.py33330%1–45
app/routes/users
   __init__.py330%1–5
   users.py37370%1–56
app/schemas/users
   users_request.py42420%1–73
   users_response.py10100%1–14
app/sessions
   db.py53530%1–82
app/tests
   test_basic.py201525%10–34
   test_daos_home.py231057%15–22, 28–37, 41
   test_daos_users.py1109514%19–208
app/utils
   exception_handler.py19190%1–36
   redis_utils.py440%1–7
   slack_notification_utils.py14140%1–32
   user_utils.py25250%1–36
app/wrappers
   cache_wrappers.py26260%1–32
TOTAL82070314% 

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 2 🔥 0.789s ⏱️

This comment has been minimized.

This comment has been minimized.


class Home(HttpUser):
@task
def hello_world(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename function

@himanshu-wedensday
Copy link
Contributor

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

@himanshu-wedensday himanshu-wedensday merged commit 9788299 into main Mar 20, 2024
1 check passed
Copy link

sonarqube-ws bot commented Mar 20, 2024

Passed

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage No coverage information (0.00% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.00% Estimated after merge)

Project ID: wednesday-solutions_python-fastapi_AY434cJSB2n8RRmGoUoD

View in SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants