Accessing external data
If your validation needs data from outside of CloudTest, you will need to make that data available through Web Service calls. Make a Target for the Web Service, and then insert one or more Messages into your Test Composition to retrieve the necessary data. Ensure that the data retrieval Messages are played before the data is needed. Your validation can then access the responses to the data retrieval Messages.
If your validation needs data from outside of CloudTest that does not change often, you could manually enter that data into Global Properties, and then access the Global Property values from your Script.