Question

1
Replies
138
Views
Close popover
Raveendra Kona (RaveendraK0060)
Verizon

Verizon
US
RaveendraK0060 Member since 2018 4 posts
Verizon
Posted: July 18, 2018
Last activity: July 19, 2018
Closed

Not able to use Data set in Test run for a strategy

Hi,

We are trying to use Pega Unit test case to validate a strategy. We have created a File data set to read the JSON input.Our JSON file has only one attribute. In the test run pane for the strategy element(switch) ,we specified to run the strategy as Data set and gave the Data set name and specified the key name in our JSON file in the Subject ID field. When we tried to run the Test ,we are getting the below error

Data set <Data set Name> cannot be used for test runs because it does not support reading records by subject ID.

Please let us know what did we miss here? are File Data sets not supposed to be used for Pega Unit testing? do we need to use other data sets like database table,..

Enterprise Application Development Dev/Designer Studio Decision Management
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.