generate a test script
In Halyard, generate a script by opening a request and moving to the Scripts > Post-response tab. Write JavaScript with the hy library to assert on the response — for example, use hy.test to check the status code and payload shape (1)(2).
Sources:
docs.halyard.dev/scripts/write-scripts/test-examples/
docs.halyard.dev/scripts/write-scripts/#assertions
Just now