Inject custom timers for certain events

ยอดดู 20 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

Thanos Irodotou

ยังไม่อ่าน,
10 ก.ย. 2564 07:56:0910/9/64
ถึง Gatling User Group
Apologies if I've got the wrong end on this but I believe that Gatling timers start when the previous operations finishes.

For example, in a flow where I have:
1. an http request
2. then a ws request
3. then a check for a ws response

Gatling would time these from end of each of the previous operations (unless I'm mistaken), so in this example a timer for 2. would start after we get a response back from 1. If this is indeed the case is there a way to inject custom timers into the Session object and then let Gatling report them in the generated html report?
In this case this would allow us to start a timer from the moment we make the http request until the moment we get a websocket response back. This is just an example back I hope you get the point here.

Many thanks,
Thanos.
ตอบทุกคน
ตอบกลับผู้สร้าง
ส่งต่อ
ข้อความใหม่ 0 รายการ