# Enforce enabling RUM for specific user

**URL:** <https://community.dynatrace.com/t/enforce-enabling-rum-for-specific-user/21533>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [February 18, 2021, 2:12pm UTC](https://community.dynatrace.com/t/enforce-enabling-rum-for-specific-user/21533 "2021-02-18T14:12:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nima\_samsami\_ex](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@nima\_samsami\_ex](https://community.dynatrace.com/u/nima_samsami_ex)\
**Post date:** [February 18, 2021, 2:12pm UTC](https://community.dynatrace.com/t/enforce-enabling-rum-for-specific-user/21533/1 "2021-02-18T14:12:29Z")

</div>

Hi,

We are measuring about 30% of our user with rum but we want to measure our selenium user each time it runs. At the moment it happens often, that the Test user ist not measured.

How can you enforce measuring the specifi user?

Greets,

Nima

---

<div class="post-metadata">

**Author:** ![bobby\_crumley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bobby_crumley/32/9485_2.png) [@bobby\_crumley](https://community.dynatrace.com/u/bobby_crumley)\
**Post date:** [February 18, 2021, 2:28pm UTC](https://community.dynatrace.com/t/enforce-enabling-rum-for-specific-user/21533/2 "2021-02-18T14:28:23Z")

</div>

Hi Nima

When you enable RUM capture limits, there is no way to ensure a specific user is tracked. The way I’ve gotten around this in the past is turning on 100% capture during the hours of the test and then disabling it. This takes a much more active approach to monitoring around the test, but ensures the whole test is captured, as well as the specific user. In my case we only tested for 3 hours, hopefully you don’t need to run this test for days.  
The other option could be to enable capture, force that test user to execute (if possible) and then after execution is complete, reduce back to 30%.

Hope this helps!

Bob

---

<div class="post-metadata">

**Author:** ![zietho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/zietho/32/41733_2.png) [@zietho](https://community.dynatrace.com/u/zietho)\
**Post date:** [February 18, 2021, 3:06pm UTC](https://community.dynatrace.com/t/enforce-enabling-rum-for-specific-user/21533/3 "2021-02-18T15:06:49Z")

</div>

One way:

- use 100%
- enable user “opt-in” mode
- use the js api to opt-in only for users that you want to include (e.g. your test users)
