# Sample data function on transformer testers

**URL:** <https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752>\
**Category:** Feature Requests\
**Created:** [October 3, 2023, 7:37am UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752 "2023-10-03T07:37:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.vanderveen](https://forum.alumio.com/letter_avatar_proxy/v4/letter/t/919ad9/32.png) [@t.vanderveen](https://forum.alumio.com/u/t.vanderveen)\
**Post date:** [October 3, 2023, 7:37am UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/1 "2023-10-03T07:37:24Z")

</div>

As an Alumio integrator, I could really benefit from a sample data function that (temporarily) saves real-time data into transformer tests as it passes through transformers. This gives a good overview of what real-world data passes through each transformer of a route when enabled, and could benefit troubleshooting.

This should probably be a toggle for a single passing stream of data / entity at which point it disables again to minimize the impact on performance. The result would be automatically created tests of the last processed data in each transformer it passed through.

---

<div class="post-metadata">

**Author:** ![r.candrian](https://forum.alumio.com/user_avatar/forum.alumio.com/r.candrian/32/235_2.png) [@r.candrian](https://forum.alumio.com/u/r.candrian)\
**Post date:** [October 9, 2023, 12:32pm UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/2 "2023-10-09T12:32:36Z")

</div>

Hi @t.vanderveen,

I’m afraid that I didn’t understand what you needed. Could you please explain in more detail? So far, what we understand is that you wanted temporary data for each transformer result, is that correct?

---

<div class="post-metadata">

**Author:** ![robin.speekenbrink](https://forum.alumio.com/user_avatar/forum.alumio.com/robin.speekenbrink/32/1091_2.png) [@robin.speekenbrink](https://forum.alumio.com/u/robin.speekenbrink)\
**Post date:** [October 9, 2023, 2:23pm UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/3 "2023-10-09T14:23:09Z")

</div>

I do understand: by logging the last data as it went through the transformer (and possibly failed) this would allow for _far_ easier debugging and keeping tests up to date with actual sample data…

---

<div class="post-metadata">

**Author:** ![Alumio\_Bot](https://forum.alumio.com/user_avatar/forum.alumio.com/alumio_bot/32/1824_2.png) [@Alumio\_Bot](https://forum.alumio.com/u/Alumio_Bot)\
**Post date:** [October 10, 2023, 7:53am UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/4 "2023-10-10T07:53:12Z")

</div>

@t.vanderveen maybe the datapoints are what you need?

> [@Datapoints (breakpoints) in transformer for debugging](https://forum.alumio.com/t/datapoints-breakpoints-in-transformer-for-debugging/415):
>
> You can easily debug your transformers by setting ‘datapoints’. These datapoints are comparable with traditional breakpoints, the difference is however that with a datapoint enabled the configuration will keep running instead of ‘breaking’ where it has been set. How To activate the datapoints you only need to click the grey dot next to the transformer. The dot will now turn red and is primed. You can prime multiple datapoints at the same time, as previously mentioned the process won’t stop a…

Or are you unable to get what you need with that?

On second thought, do you mean a snapshot of the already existing datapoints and results when a task gets failed?  
Maybe when a ‘debug’ toggle has been enabled in the route for example.

---

<div class="post-metadata">

**Author:** ![t.vanderveen](https://forum.alumio.com/letter_avatar_proxy/v4/letter/t/919ad9/32.png) [@t.vanderveen](https://forum.alumio.com/u/t.vanderveen)\
**Post date:** [October 10, 2023, 9:21am UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/5 "2023-10-10T09:21:55Z")

</div>

Hi @r.candrian @Alumio_Bot , thank you for your reply. I understand the principles of the datapoints and transformer testers, it’s more a way to attach real-world data to them. I am under the impression that datapoints can be used to test each transformer based on a transformer test input data, and not actual data flowing through the route, right? Or are you telling me that primed datapoints also use the actual dataflow and not only the input data from the transformertests?

Maybe a scenario story would clarify my intended use case more;

If a client calls me that there is a data problem on an existing configuration when pushing a specific product for example, we could debug these occurrences far easier when we could toggle that real data is being collected as transformertest input over a limited timeperiod. That would enable us to push that product manually en really check what happened in each passed transformer. There are a lot of use cases where this could be helpful in my opinion. I think the ‘debug’ toggle you mentioned is along the my train of thought in this case.

Please let me know if you need me to elaborate some more!

---

<div class="post-metadata">

**Author:** ![Alumio\_Bot](https://forum.alumio.com/user_avatar/forum.alumio.com/alumio_bot/32/1824_2.png) [@Alumio\_Bot](https://forum.alumio.com/u/Alumio_Bot)\
**Post date:** [October 11, 2023, 12:53pm UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/6 "2023-10-11T12:53:29Z")

</div>

[@Alumio\_support](https://forum.alumio.com/groups/alumio_support)  
Could you please create a feature request that contains the following?

As Alumio user I’d like to have a toggle on the route called “Debug mode”.  
When enabled, all data points are activated, whenever a task fails;  
I’d like to be able to see the actual data on all available datapoints for that tasks like a snapshot.  
To browse the transformations and to debug.

When “Debug mode” is deactivated the snapshots can be deleted.  
Optional, “Debug mode” has a dropdown with amount of failed tasks to keep snapshots of (1,3,10).

---

<div class="post-metadata">

**Author:** ![r.candrian](https://forum.alumio.com/user_avatar/forum.alumio.com/r.candrian/32/235_2.png) [@r.candrian](https://forum.alumio.com/u/r.candrian)\
**Post date:** [October 11, 2023, 3:06pm UTC](https://forum.alumio.com/t/sample-data-function-on-transformer-testers/752/7 "2023-10-11T15:06:30Z")

</div>

Hi Roland,  
We have made it.
