Let’s configure the added DataSource test step to use a text file as a data source.
Select the File data source.
Download sample.txt to use it as a data source.
Click Browse and specify the downloaded file.
ReadyAPI offers you to import properties. In this tutorial, we will add them manually, so click No.
The data source already contains the
In the sample file, we use the colon symbol as a separator, so enter "
:" in the Separator field.
To test whether the data source is configured correctly, click and specify a certain amount of rows to get.
When you test the data source, it assigns the obtained value to its properties. You will need it later in the tutorial.
ReadyAPI shows obtained values in the Data Log:
After you make sure that the data source works correctly, you can configure the test step to use that data.