Huge rxlog.data file though if-condition
Posted: Tue Mar 20, 2018 11:12 am
We have an outer Data-Source connected to our Test-Case and a Smartfolder with an if-condition inside. The Smartfolder has its own (inner) Data-Source.
The outer Data-Source detirmes wheter the Smartfolders if-condition is fulfilled or not.
So basically at the start of the solution the if-condition can be calculated to decide wehter or not the inner Data-Source should be read or not.
In our case we can reproduce (see Attachments) that the whole inner Data-Source is read into the log-file. That meant a 100MB rxlog.data File for each Iteration in a real test-Iteration.
We found a workaround for this issue with a user-code-module that sets the Data-Range of the inner Data-Source from 1 to 1. That reduced the rxlog.data File from 100MB to 1 MB. But we still read one unneeded row into our log-files. So it is a bit quick and dirty.
Is there a better solution available?
The outer Data-Source detirmes wheter the Smartfolders if-condition is fulfilled or not.
So basically at the start of the solution the if-condition can be calculated to decide wehter or not the inner Data-Source should be read or not.
In our case we can reproduce (see Attachments) that the whole inner Data-Source is read into the log-file. That meant a 100MB rxlog.data File for each Iteration in a real test-Iteration.
We found a workaround for this issue with a user-code-module that sets the Data-Range of the inner Data-Source from 1 to 1. That reduced the rxlog.data File from 100MB to 1 MB. But we still read one unneeded row into our log-files. So it is a bit quick and dirty.
Is there a better solution available?