# UUID per user and repeat

**URL:** <https://community.gatling.io/t/uuid-per-user-and-repeat/3772>\
**Category:** Gatling (Open-Source)\
**Created:** [June 14, 2017, 10:19am UTC](https://community.gatling.io/t/uuid-per-user-and-repeat/3772 "2017-06-14T10:19:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![politrons](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@politrons](https://community.gatling.io/u/politrons)\
**Post date:** [June 14, 2017, 10:19am UTC](https://community.gatling.io/t/uuid-per-user-and-repeat/3772/1 "2017-06-14T10:19:16Z")

</div>

Hi, I have this scene

```auto
def create(): ScenarioBuilder = {
  scenario(name)
    .exec(session => session.set("f2e_mock_service", host))
    .exec(session => session.set("msgId", s"""${UUID.randomUUID().toString}"""))
    .repeat(repeatNumber, "loop_count") {
      exec(CassandraEndPoint.create)
        .pause(Duration(1, SECONDS))
        .exec(CassandraEndPoint.find)
        .pause(Duration(1, SECONDS))
        .exec(CassandraEndPoint.delete)
        .pause(Duration(1, SECONDS))
    }
}

```

```auto

```

```auto
And it´s executed by 50 threads

```

```auto

```
