You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to find the response times of repeated request. I saw that the timings in the response would be useful for this. httpyac send post.http -n post --repeat 2 --repeat-mode serial > .\post-log.json
after cleaning up the file,
But, if I try to use the option --json to get the response in a easily parsed format, the output does not contain the responses from repeated requests. It only contains one response.
httpyac send post.http -n post --repeat 2 --repeat-mode serial --json > .\post-log.json
Note: the field is now named response and not responses
Also, with release 5.2.1 as fix for issue #34, fields count and statusCount were added to the summary. These are also lost if the formatting option --json is used.
The text was updated successfully, but these errors were encountered:
AnWeber
added a commit
to AnWeber/httpyac
that referenced
this issue
Jun 10, 2023
@dinurp Actually, it already works as it is designed. The idea of repeat is to quickly send several requests at the same time and thus put the server under load. These are not treated as own requests, but are merged at the end in the body of the first request. In the JSON output, I output the body only as a string and these contain the timings that you are interested in. For this reason it would be better for you to simply use `--output body' here.
I noticed that the timings are not properly merged in the '--json' output . The root element contains only the first timings object. I change this and output the average. And additionally I make it possible that the timings are also output when using --output exchange or --output timings.
I am trying to find the response times of repeated request. I saw that the timings in the response would be useful for this.
httpyac send post.http -n post --repeat 2 --repeat-mode serial > .\post-log.json
after cleaning up the file,
But, if I try to use the option --json to get the response in a easily parsed format, the output does not contain the responses from repeated requests. It only contains one response.
httpyac send post.http -n post --repeat 2 --repeat-mode serial --json > .\post-log.json
Note: the field is now named
response
and notresponses
Also, with release 5.2.1 as fix for issue #34, fields
count
andstatusCount
were added to the summary. These are also lost if the formatting option --json is used.The text was updated successfully, but these errors were encountered: