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

Add Hurl File JSON export #65

Closed
jcamiel opened this issue Nov 2, 2020 · 2 comments
Closed

Add Hurl File JSON export #65

jcamiel opened this issue Nov 2, 2020 · 2 comments
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Nov 2, 2020

Add an option (with hurlfmt ?) to export an Hurl file (the last) to json, to provide an agnostic file format.

@jcamiel jcamiel added this to the 1.0 milestone Nov 2, 2020
@fabricereix
Copy link
Collaborator

fabricereix commented Nov 4, 2020

Response version and status

In the hurl file, version and status code asserts can be ignored with the wildcard characters.
In terms of json export, they could be simply removed from the object without ambiguities.
this would enable to use a number json type instead of string.

for example

"response": { "version": "HTTP/1.0", "status": 200 }
"response": { "status": 200 }

rather than

"response": { "version": "HTTP/1.0", "status": "200" }
"response": { "version": "*", "status": "200"}

@fabricereix
Copy link
Collaborator

implemented in #70 and #78

@lepapareil lepapareil modified the milestones: 1.0.0, 0.99 Oct 12, 2021
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

3 participants