1) Install google-lighthouse-puppeteer ([login to view URL]) and the Lighthouse Batch Reporter ([login to view URL]) so we can run google lighthouse to test on the list of URLs (will be provided) using the below command (generate JSON report for each of the URL)
lighthouse-batch -s URL1, URL2, URL3...URLn
2) Upon completing the test, analyze the JSON report to extract the below performance metrics (The metrics are a dynamic list; all in lowercase; multiple words metric should be using a dash '-' character in between) and save to a CSV file using the below format
<VERSION>, <SERVERNAME>_<METRIC NAME), <VALUE>
126.96.36.1995, qaz--rispacs.ramsoft.biz_first-contentful-paint, 12
3) Create a subproject in RATT-NG (webapp-performance) and commit the implementation (and Maven POM) of this task there. We are expecting to see the delivery of this task in an executable form (either in java program, batch scripts, PowerShell scripts) so we can use it as part of a Jenkins pipeline.