Closed
Description
I'm not sure if this is something with my configuration or that's how it works for everyone, but console logging does not work very well.
Here is my demo file:
{{
console.log("In global section.")
}}
### X
# @name x
{{
console.log("In pre-request script.")
}}
GET https://httpbin.org/anything/x=y
{{
console.log("In post-request script (before assert).")
}}
?? status == 200
{{
console.log("In post-request script (after assert).")
}}
There are no console logs in the httpyac - Log
or the httpyac - Request
OUTPUT tabs and the TEST RESULTS tab shows:
I would expect TEST RESULTS to show something like:
INFO: In global section.
---------------------
=== X ===
INFO: In pre-request script.
GET https://httpbin.org/anything/x=y
=> 200 (4450 ms, 565 B)
INFO: In post-request script (before assert).
✓ status == 200
INFO: In post-request script (after assert).
Also, not sure why there are no line breaks between log entries (and a delimiter between the log level and the log message would be useful).
Metadata
Assignees
Labels
No labels
Activity