I am not sure where your code is loading the variable called data from, as this variable isn’t defined in your snippet. (It’s obviously loading something from somewhere, hence it’s still managing to display values in some scenarios)
If you’re trying to read the numbers from your response json, then I think you want to change your log statement to say:
data is used for when I run the collection runner and I call my numbers.json file (as referenced at the top of my question), which I have stored on my computer.
My actual:
for (let i = 0; i <= jsonData.length; i++)
{
// 1st tests
pm.test("expected line1 = " + (data["line1"]) + " | Actual line1 = " + (jsonData[i].line1), function () {
pm.expect(jsonData[i].line1).to.equal(data["line1"]);
});