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”)
.body(StringBody("…"))
.check(…).saveAs(“xxx”)))
.exec( http(“req2”)
.post(“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.