Getting the error "Error doing random data sets" when a dataset is used in a subprocess for a virtual service or for a test case.
You see the error "Error doing random data sets" when dataset is run out of rows. The dataset may not have the "Local" option checked. The "Local" option designates whether the data set is global or local. Global is the default (Local is not checked). Local data sets are created with one for each transaction. Global data sets are created once and shared by all requests to a virtual service or to a test case.
Checking the "Local" check box in the dataset configuration will resolve the issue.
Documentation on Global and Local datasets is available at https://docops.ca.com/devtest-solutions/9-5/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/data-sets/global-and-local-data-sets.