Skip to content

Automatically Collect and Display Load Testing Reports #188

@maxmurphySF

Description

@maxmurphySF

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions