Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gatling Start/Delay/Reschedule Event [IA-232] #76

Merged
merged 8 commits into from
Aug 30, 2023

Conversation

AlexWeinstein92
Copy link
Contributor

@AlexWeinstein92 AlexWeinstein92 commented Aug 29, 2023

Creates activity around events with repetition

Results:

================================================================================
2023-08-29 10:30:47                                           5s elapsed
---- Requests ------------------------------------------------------------------
> Global                                                   (OK=134    KO=0     )
> InfrasightLongRunning - GetAllOrgs                       (OK=2      KO=0     )
> InfrasightLongRunning - GetEventsScheduledForOrg         (OK=4      KO=0     )
> InfrasightLongRunning - StartEvent c4d360f4-19e3-4754... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 91c3896b-4f47-4736... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent fe3b7c0e-1123-4227... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent ae1fb565-c6d7-4216... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 127102ec-43c6-4392... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 798ebfaa-1237-4138... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 86529795-88b3-4aac... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 1b581d05-94cf-4a1c... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent dd3ab5cd-8c6d-419e... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 8dafd512-4834-4eeb... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 3c19de2d-7e38-446b... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 199a3f20-c0ef-4f60... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 42a05b74-101d-4516... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent a2260562-fb1b-446c... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 8cfd5c6c-8ac7-493d... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 9d135edc-371e-4ab3... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent f8ada144-9cc7-4d9a... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent f410983f-4d04-440f... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent 73a917c6-3272-401e... (OK=2      KO=0     )
> InfrasightLongRunning - StartEvent d1b24eb4-ec59-4b8d... (OK=2      KO=0     )
> InfrasightLongRunning - GetEventsInProgressForOrg        (OK=4      KO=0     )
> InfrasightLongRunning - DelayEvent c4d360f4-19e3-4754... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 91c3896b-4f47-4736... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent fe3b7c0e-1123-4227... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent ae1fb565-c6d7-4216... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 127102ec-43c6-4392... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 798ebfaa-1237-4138... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 86529795-88b3-4aac... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 1b581d05-94cf-4a1c... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent dd3ab5cd-8c6d-419e... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 8dafd512-4834-4eeb... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 3c19de2d-7e38-446b... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 199a3f20-c0ef-4f60... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 42a05b74-101d-4516... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent a2260562-fb1b-446c... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 8cfd5c6c-8ac7-493d... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 9d135edc-371e-4ab3... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent f8ada144-9cc7-4d9a... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent f410983f-4d04-440f... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent 73a917c6-3272-401e... (OK=2      KO=0     )
> InfrasightLongRunning - DelayEvent d1b24eb4-ec59-4b8d... (OK=2      KO=0     )
> InfrasightLongRunning - GetEventsDelayedForOrg           (OK=4      KO=0     )
> InfrasightLongRunning - RescheduleEvent c4d360f4-19e3... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 91c3896b-4f47... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent fe3b7c0e-1123... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent ae1fb565-c6d7... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 127102ec-43c6... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 798ebfaa-1237... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 86529795-88b3... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 1b581d05-94cf... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent dd3ab5cd-8c6d... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 8dafd512-4834... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 3c19de2d-7e38... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 199a3f20-c0ef... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 42a05b74-101d... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent a2260562-fb1b... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 8cfd5c6c-8ac7... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 9d135edc-371e... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent f8ada144-9cc7... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent f410983f-4d04... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent 73a917c6-3272... (OK=2      KO=0     )
> InfrasightLongRunning - RescheduleEvent d1b24eb4-ec59... (OK=2      KO=0     )

---- InfrasightLongRunning -----------------------------------------------------
[##########################################################################]100%
          waiting: 0      / active: 0      / done: 1     
================================================================================
10:30:47.153 [GatlingSystem-akka.actor.default-dispatcher-5] DEBUG io.gatling.core.controller.Controller -- StatsEngine was stopped
Simulation com.improving.app.gatling.scenarios.infrasight.StartDelayRescheduleEvents completed in 5 seconds
10:30:47.154 [gatling-1-1] DEBUG io.netty.buffer.PoolThreadCache -- Freed 13 thread-local buffer(s) from thread: gatling-1-1
10:30:47.154 [gatling-1-2] DEBUG io.netty.buffer.PoolThreadCache -- Freed 12 thread-local buffer(s) from thread: gatling-1-2
10:30:47.163 [GatlingSystem-akka.actor.default-dispatcher-5] INFO akka.actor.CoordinatedShutdown -- Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
Parsing log file(s)...
10:30:47.182 [pool-1-thread-1] INFO io.gatling.charts.stats.LogFileReader$ -- Collected List(/Users/alexweinstein/Documents/Yoppworks/improving/back-end/gatling/target/gatling/startdelayrescheduleevents-20230829143040919/simulation.log) from startdelayrescheduleevents-20230829143040919
10:30:47.186 [pool-1-thread-1] INFO io.gatling.charts.stats.LogFileReader -- First pass
10:30:47.188 [pool-1-thread-1] INFO io.gatling.charts.stats.LogFileReader -- First pass done: read 137 lines
10:30:47.193 [pool-1-thread-1] INFO io.gatling.charts.stats.LogFileReader -- Second pass
10:30:47.210 [pool-1-thread-1] INFO io.gatling.charts.stats.LogFileReader -- Second pass: read 137 lines
Parsing log file(s) done
Generating reports...

================================================================================
---- Global Information --------------------------------------------------------
> request count                                        134 (OK=134    KO=0     )
> min response time                                      9 (OK=9      KO=-     )
> max response time                                    128 (OK=128    KO=-     )
> mean response time                                    24 (OK=24     KO=-     )
> std deviation                                         20 (OK=20     KO=-     )
> response time 50th percentile                         17 (OK=17     KO=-     )
> response time 75th percentile                         23 (OK=23     KO=-     )
> response time 95th percentile                         66 (OK=66     KO=-     )
> response time 99th percentile                        116 (OK=116    KO=-     )
> mean requests/sec                                 22.333 (OK=22.333 KO=-     )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                           134 (100%)
> 800 ms <= t < 1200 ms                                  0 (  0%)
> t >= 1200 ms                                           0 (  0%)
> failed                                                 0 (  0%)
================================================================================

Copy link
Contributor

@dag-yoppworks dag-yoppworks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just saw one typo

@AlexWeinstein92 AlexWeinstein92 merged commit e8e647f into main Aug 30, 2023
1 check passed
@AlexWeinstein92 AlexWeinstein92 deleted the IA-232_Gatling_StartEnd_Event branch August 30, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants