Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review Command-line options for Output/Report #330

Closed
fabricereix opened this issue Nov 2, 2021 · 2 comments
Closed

Review Command-line options for Output/Report #330

fabricereix opened this issue Nov 2, 2021 · 2 comments
Milestone

Comments

@fabricereix
Copy link
Collaborator

fabricereix commented Nov 2, 2021

Hurl can produce output to either stdout or a report file.

Output

We will use the terminology output, only for the one going to standard output.
The output can be written to a file with the option --output FILE.

We will have different types of output:

  • Body of the last reponse (binary) as the default output (iso curl)
  • Summary (text) using the option --summary
  • JSON (text) using the option --json

Report

The options need to encapsulate both the type and the filename:

  • HTML report with --html-report DIR
  • JUnit XML report with --junit-report FILE
@fabricereix
Copy link
Collaborator Author

fabricereix commented Nov 2, 2021

Alternative using report as prefix
--report-html DIR
--report-junit FILE

--report-text FILE could be even added in the future.

@fabricereix
Copy link
Collaborator Author

implemented in #351 and #342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants