# transaction modelling

**URL:** https://community.gatling.io/t/transaction-modelling/4160
**Category:** Gatling (Open-Source)
**Created:** [February 2, 2018, 2:50pm UTC](https://community.gatling.io/t/transaction-modelling/4160 "2018-02-02T14:50:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Domingos\_Creado](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Domingos\_Creado](https://community.gatling.io/u/Domingos_Creado)
#### Post date: [February 2, 2018, 2:50pm UTC](https://community.gatling.io/t/transaction-modelling/4160/1 "2018-02-02T14:50:15Z")

</div>

Hi All,

I have a scenario that is a chain of 2 sequential requests that I’m not sure how should I model.  
I’ve implemented the scenario using a group like below:

.group(“mygroupl”){  
exec( http(“req1”)  
.post(“[https://URL1](https://URL1)”)  
.body(StringBody("…"))  
.check(…).saveAs(“xxx”)))

.exec( http(“req2”)  
.post(“[https://URL1](https://URL1)”)  
.body(…)  
.check(status.is(200)))  
}

The user does not perceive that there are 2 requests involved and see it as a single action.  
I need to measure the response time of both requests and if req2 fails, the sample time of req1 should be computed as KO.  
Is there a way to report this aggregate time and status?  
I’m looking for the “Transaction Controller” semantics from jmeter.
