# Grouping multiple http requests (main request + sub requests) under one transaction to capture the actual page loading time

**URL:** https://community.gatling.io/t/grouping-multiple-http-requests-main-request-sub-requests-under-one-transaction-to-capture-the-actual-page-loading-time/8349
**Category:** Gatling (Open-Source)
**Tags:** gatling-academy
**Created:** [October 4, 2023, 8:19am UTC](https://community.gatling.io/t/grouping-multiple-http-requests-main-request-sub-requests-under-one-transaction-to-capture-the-actual-page-loading-time/8349 "2023-10-04T08:19:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Srini](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Srini](https://community.gatling.io/u/Srini)
#### Post date: [October 4, 2023, 8:19am UTC](https://community.gatling.io/t/grouping-multiple-http-requests-main-request-sub-requests-under-one-transaction-to-capture-the-actual-page-loading-time/8349/1 "2023-10-04T08:19:29Z")

</div>

Hi,  
I am developing the scripts for the SAP Fiori Application (Web application) using Proxy recording mode, the script development and enhancements were a bit challenging, but finally, my three weeks of effort paid off and the script replay was successful and the record was successfully created in the backend.

As per the knowledge gained so far, the transaction names can be provided at the request level and if I want to group multiple requests under one transaction (main URL + child requests like .js…) I am not finding any option.

I am wondering, if is there an option to group multiple requests under one transaction in Gatling please help me with some insights …?

/Thanks  
Srini

---

<div class="post-metadata">

### Author: ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)
#### Post date: [October 4, 2023, 8:23am UTC](https://community.gatling.io/t/grouping-multiple-http-requests-main-request-sub-requests-under-one-transaction-to-capture-the-actual-page-loading-time/8349/2 "2023-10-04T08:23:51Z")

</div>

Hey @Srini,

Congrats to make it work 🎉

What about [groups](https://gatling.io/docs/gatling/reference/current/core/scenario/#groups)?

Cheers!

---

<div class="post-metadata">

### Author: ![Srini](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Srini](https://community.gatling.io/u/Srini)
#### Post date: [October 9, 2023, 7:01am UTC](https://community.gatling.io/t/grouping-multiple-http-requests-main-request-sub-requests-under-one-transaction-to-capture-the-actual-page-loading-time/8349/3 "2023-10-09T07:01:02Z")

</div>

@sbrevet Thank you for your prompt response.! I will try with groups and update the thread…  
Apologies for the delayed response.

---

<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: [November 8, 2023, 7:01am UTC](https://community.gatling.io/t/grouping-multiple-http-requests-main-request-sub-requests-under-one-transaction-to-capture-the-actual-page-loading-time/8349/4 "2023-11-08T07:01:51Z")

</div>

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