How himanshux19/perfanalyzer works
PerfAnalyzer is a web platform for authoring and running load tests, organizing workspaces and results, and viewing telemetry, with account administration and subscription billing. The primary flow is user configuration through the Angular client, backend discovery and JMX/YAML generation, then queued local or Jenkins execution and result monitoring. README documents additional APM, workspace, billing, and administration capabilities; unsampled implementation details are represented only at supported directory level. Edges follow explicit README architecture or shown imports/calls; unshown subsystem links are omitted.
Main entry points: main.py REST and WebSocket API · api.service.ts API client · projects.ts Workspace interface · app.routes.ts Page routing
Components 27
Web client
- Angular application
perfAnalyzer-frontend/src/app/app.ts - Page routing
perfAnalyzer-frontend/src/app/app.routes.ts - Workspace interface
perfAnalyzer-frontend/src/app/components/projects/projects.ts - User sign-in
perfAnalyzer-frontend/src/app/components/auth/auth.ts - Admin portal
perfAnalyzer-frontend/src/app/components/admin-dashboard/admin-dashboard.ts - Test configuration
perfAnalyzer-frontend/src/app/components/test-config/test-config.ts - Run queue
perfAnalyzer-frontend/src/app/components/test-queue/test-queue.ts - Reports and history
perfAnalyzer-frontend/src/app/components/reports/reports.ts - Monitoring viewer
perfAnalyzer-frontend/src/app/components/monitoring/monitoring.ts - Subscription interface
perfAnalyzer-frontend/src/app/components/subscribe/subscribe.ts - API client
perfAnalyzer-frontend/src/app/api.service.ts
Test authoring
- Endpoint discovery
perfAnalyzer-backend/services/endpoint_discovery.py - JMeter generator
perfAnalyzer-backend/jmx_builder.py - Taurus config generator
perfAnalyzer-backend/yaml_builder.py
Run and analyze
- Execution orchestration
perfAnalyzer-backend/main.py - Test artifacts and results
perfAnalyzer-backend/main.py
Platform services
- REST and WebSocket API
perfAnalyzer-backend/main.py - Request models
perfAnalyzer-backend/models.py - PostgreSQL data
- Credential encryption
perfAnalyzer-backend/monitoring_crypto.py
External systems
- Target application
- Taurus and JMeter
- Jenkins agents
- Uptrace APM
- Razorpay
- OpenTelemetry
perfAnalyzer-backend/tracing.py
Other components
- User or admin
Connections 35
- User or admin → Angular application: uses
README.md - Angular application → Page routing: routes through
- Page routing → User sign-in: routes login
perfAnalyzer-frontend/src/app/app.routes.ts - Page routing → Admin portal: routes admin
perfAnalyzer-frontend/src/app/app.routes.ts - Page routing → Workspace interface: routes workspace
perfAnalyzer-frontend/src/app/app.routes.ts - Workspace interface → Test configuration: hosts
perfAnalyzer-frontend/src/app/components/projects/projects.ts - Workspace interface → Run queue: hosts
perfAnalyzer-frontend/src/app/components/projects/projects.ts - Workspace interface → Reports and history: hosts
perfAnalyzer-frontend/src/app/components/projects/projects.ts - Workspace interface → Monitoring viewer: hosts
perfAnalyzer-frontend/src/app/components/projects/projects.ts - Workspace interface → Subscription interface: hosts
perfAnalyzer-frontend/src/app/components/projects/projects.ts - User sign-in → API client: calls
perfAnalyzer-frontend/src/app/components/auth/auth.ts - Admin portal → API client: calls
perfAnalyzer-frontend/src/app/components/admin-dashboard/admin-dashboard.ts - Workspace interface → API client: calls
perfAnalyzer-frontend/src/app/components/projects/projects.ts - Test configuration → API client: calls
perfAnalyzer-frontend/src/app/components/test-config/test-config.ts - Run queue → API client: calls
perfAnalyzer-frontend/src/app/components/test-queue/test-queue.ts - Reports and history → API client: calls
perfAnalyzer-frontend/src/app/components/reports/reports.ts - Monitoring viewer → API client: calls
perfAnalyzer-frontend/src/app/components/monitoring/monitoring.ts - Subscription interface → API client: calls
perfAnalyzer-frontend/src/app/components/subscribe/subscribe.ts - API client → REST and WebSocket API: HTTP and WebSocket
README.md - REST and WebSocket API → Request models: validates requests
perfAnalyzer-backend/main.py - REST and WebSocket API → Endpoint discovery: discovers endpoints
perfAnalyzer-backend/main.py - REST and WebSocket API → JMeter generator: generates JMX
perfAnalyzer-backend/main.py - REST and WebSocket API → Taurus config generator: generates YAML
perfAnalyzer-backend/main.py - REST and WebSocket API → Execution orchestration: dispatches runs
README.md - REST and WebSocket API → PostgreSQL data: reads and writes
README.md - REST and WebSocket API → Test artifacts and results: stores outputs
README.md - Endpoint discovery → Target application: crawls target
README.md - Execution orchestration → Taurus and JMeter: local execution
README.md - Execution orchestration → Jenkins agents: remote execution
README.md - Taurus and JMeter → Test artifacts and results: writes reports
README.md - REST and WebSocket API → OpenTelemetry: emits telemetry
README.md - OpenTelemetry → Uptrace APM: exports traces
README.md - Monitoring viewer → Uptrace APM: views proxied APM
README.md - REST and WebSocket API → Razorpay: handles payments
README.md - REST and WebSocket API → Credential encryption: encrypts credentials
README.md