# Missing simulations from logs

**URL:** <https://community.gatling.io/t/missing-simulations-from-logs/8229>\
**Category:** Gatling (Open-Source)\
**Created:** [August 22, 2023, 11:24am UTC](https://community.gatling.io/t/missing-simulations-from-logs/8229 "2023-08-22T11:24:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrei](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@andrei](https://community.gatling.io/u/andrei)\
**Post date:** [August 22, 2023, 11:24am UTC](https://community.gatling.io/t/missing-simulations-from-logs/8229/1 "2023-08-22T11:24:10Z")

</div>

Hello,

We’re running a 1h test with + a 30min ramp up. After investigating the logs somethings strange was noticed, we think some simulations are missing. In the logs we have the simulation name along side what I think is the simulation ID, for example:

```auto
=========================
Session:
Session(User login,273,......)
=========================

```

I’ve noticed 3 things for which I can’t figure out the issue:

1. If the ID (in the above cause would be 273) is indeed the ID of the simulation, then there is a certain number of simulations missing from the logs.
2. The simulations missing are always the same. Verified this in 4 different executions across 2 weeks.
3. Maybe not related to this, but the total number of simulations (based on the ID of the last started simulation found in the logs) during the same execution time seems to be always the same (maybe this is as expected).

---

<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:** [August 22, 2023, 1:27pm UTC](https://community.gatling.io/t/missing-simulations-from-logs/8229/2 "2023-08-22T13:27:33Z")

</div>

Hi @andrei,

Notes on glossary:

- “Simulation”: is the description of the whole test
- “Run”: is a specific launch (with its parameters)
- “Virtual user” (or “user” for short): is one specific actor in a run that simulates the network behavior of a user in a browser.

So, I guess you speak about a “virtual user” here.

The “273” you see there is the [Virtual user “userId” property](https://gatling.io/docs/gatling/reference/current/core/session/session_api/#virtual-user-properties).

> [@andrei](#):
>
> then there is a certain number of simulations missing from the logs.

Why do you think it is missed? What if this id generator is shared with other kind of resources and only those related to virtual users are visible?

> [@andrei](#):
>
> The simulations missing are always the same. Verified this in 4 different executions across 2 weeks.

One more point in my explanation (I didn’t verify the code about it)  
Same things in same orders should generate the same outputs. Pretty stable, I think.

> [@andrei](#):
>
> Maybe not related to this, but the total number of simulations (based on the ID of the last started simulation found in the logs) during the same execution time seems to be always the same (maybe this is as expected).

Virtual users are injected as you define your injection profile (the arguments in the `setUp` method of your Simulation class)  
So, if you don’t change your injection profile (in open model at least), it is logical to have the same total amount of users.  
Sorry, I don’t get your issue here.

I hope it helps,  
Cheers!

---

<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:** [September 21, 2023, 1:28pm UTC](https://community.gatling.io/t/missing-simulations-from-logs/8229/3 "2023-09-21T13:28:23Z")

</div>

Closed on September 21, 2023, 1:28pm UTC

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