hurl
hurl copied to clipboard
hurlfmt format json to hurl file
Thanks for this wonderful tool.
Problem to solve
Sometimes I need to get dynamic data to make the request. Getting those inputs via json is a much more easier. Now after getting the data I need to convert the json to hurl file. I see there is hurlfmt` to format hurl files to json. But there is no option to convert json into hurl files.
Proposal
Option 1:
It would be great if we have the feasibility to convert json to hurl files using hurlfmt
Option 2
Make hurl cli
to accept json input as well.
Hi @KesavanKing, It would be indeed useful to convert back and forth between the Hurl format and its JSON representation. We also plan to add an export to HAR (#1145), similarly we should probably also add an HAR import. (This HAR import will be smaller than the full JSON import as it does not contain the Assert/Capture info)
This would be such nice addition to hurlfmt.