UserControl UserControl - 1 year ago 83
Javascript Question

Debug output in tests

How do I output some information in Postman tests?

tests["Valid Data1"] = tv4.validate(data1, schema);

seems to be working but I want to output my info into the same panel where my assertions go (for easier correlation):

enter image description here


Just make a fake test that passes:

var jsonData = JSON.parse(responseBody);
tests["id = " +] = true;              // debug message
tests["name = " +] = true;          // debug message