httpyac icon indicating copy to clipboard operation
httpyac copied to clipboard

FEATURE REQUEST: Allow saving test results in a file

Open alekdavis opened this issue 2 years ago • 2 comments

I know that I can redirect output to a file using PowerShell's tee or similar hacks, but it would be helpful to have native support. A use case is when our QA team runs tests, they'd like to see the results as the tests go, but once done, they may need to attach results to the tickets for change control as a proof that the tests completed. Maybe have a switch --save <filepath> or --log <filepath>.

alekdavis avatar Nov 12 '24 18:11 alekdavis

I was also searching for an option to have --junit output as file + having terminal output also in parallel to get console print output and more verbose/debug output if necessary in log (for ci). To disable terminal out some would use --quiet otherwise.

carl-unique avatar Sep 19 '25 11:09 carl-unique

does this solve your needs?

httpyac send http_files/**/*.http --all --junit > junit-report.xml

maybe it's not as good as the --save or --log but it's a workaround you can use for now.

pjotal avatar Nov 04 '25 21:11 pjotal