# How to extract stats from the report and persist then in a CSV or Database

**URL:** <https://community.gatling.io/t/how-to-extract-stats-from-the-report-and-persist-then-in-a-csv-or-database/9742>\
**Category:** Gatling (Open-Source)\
**Created:** [August 2, 2025, 7:16am UTC](https://community.gatling.io/t/how-to-extract-stats-from-the-report-and-persist-then-in-a-csv-or-database/9742 "2025-08-02T07:16:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganesh](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Ganesh](https://community.gatling.io/u/Ganesh)\
**Post date:** [August 2, 2025, 7:16am UTC](https://community.gatling.io/t/how-to-extract-stats-from-the-report-and-persist-then-in-a-csv-or-database/9742/1 "2025-08-02T07:16:49Z")

</div>

A few days ago, the statistics were displayed in a variable of the stats.js file. Since then, they have disappeared. I am now attempting to parse the HTML with JSoup. However, I would appreciate it if someone could assist me in determining the effectiveness of this method and exploring alternative approaches for parsing the statistics data. Your assistance in this matter would be greatly appreciated.\*\*

Gatling version\*\*: 3.14.3  
**Gatling flavor** : java  
**Gatling build tool** : maven

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [August 5, 2025, 4:13am UTC](https://community.gatling.io/t/how-to-extract-stats-from-the-report-and-persist-then-in-a-csv-or-database/9742/2 "2025-08-05T04:13:10Z")

</div>

Not something we can help with. We only mean our HTML reports to be used as is, not as a source for a different usage.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [September 4, 2025, 4:13am UTC](https://community.gatling.io/t/how-to-extract-stats-from-the-report-and-persist-then-in-a-csv-or-database/9742/3 "2025-09-04T04:13:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
