-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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:
- 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
- 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
- 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
- Design and implement data storage in Backstage
- Create a database schema to store report metadata (timestamp, date, links)
- Implement data insertion and retrieval methods
- 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
- 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
- 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