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

Automatically Collect and Display Load Testing Reports #188

Open
maxmurphySF opened this issue Aug 7, 2024 · 0 comments
Open

Automatically Collect and Display Load Testing Reports #188

maxmurphySF opened this issue Aug 7, 2024 · 0 comments

Comments

@maxmurphySF
Copy link

maxmurphySF commented Aug 7, 2024

What

Implement a system to collect load testing reports from the Anju load testing team and display them in Backstage. The reports are currently generated by a Jenkins job that triggers a JMeter script on EC2 and are sent via email. The goal is to automate the collection of these reports and present them in a user-friendly format within Backstage.
Implementation steps:

  1. Analyze current report generation process
  • Review the Jenkins job that triggers the JMeter script
  • Examine the format of the email, including job link and report link
  1. Determine the best method for report collection
  • Evaluate creating a plugin for Jenkins that sends reports to Backstage
  • Consider developing a Backstage plugin that retrieves reports from Jenkins
  • Assess the feasibility of intercepting the email sent by Jenkins
  1. Develop the chosen collection method
  • If Jenkins plugin: Create a plugin that sends report data to Backstage
  • If Backstage plugin: Develop a plugin that queries Jenkins for report data
  • If email interception: Implement a secure email parsing system
  1. Design and implement data storage in Backstage
  • Create a database schema to store report metadata (timestamp, date, links)
  • Implement data insertion and retrieval methods
  1. Develop Backstage UI components
  • Create a table view for displaying report links with timestamps and dates
  • Implement a feature to show the latest report and a running list of previous reports
  • Ensure the UI is responsive and follows Backstage design guidelines
  1. Implement automated report collection
  • Set up a scheduled job in Backstage to regularly check for and collect new reports
  • Implement error handling and logging for the collection process
  1. Add user controls
  • Create UI elements for manual report refresh
  • Implement filtering and sorting options for the report list

Done When

  • The chosen method for report collection is implemented and functioning

  • Reports are successfully being collected and stored in Backstage

  • Backstage displays a table of reports with links, timestamps, and dates

  • The UI shows the latest report and a running list of previous reports

  • Automated collection of new reports is working as expected

  • Documentation is created for:
    How the system works
    How to use the new feature in Backstage
    Troubleshooting common issues

@maxmurphySF maxmurphySF changed the title Implement Load Testing Reports Collection and Display Collect and Display Load Testing Reports For Each Project Aug 7, 2024
@maxmurphySF maxmurphySF changed the title Collect and Display Load Testing Reports For Each Project Automatically Collect and Display Load Testing Reports Aug 7, 2024
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

No branches or pull requests

1 participant