AnWeber / httpyac

Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT
https://httpyac.github.io/
MIT License
433 stars 38 forks source link

Support tags on requests #784

Closed matthewturner closed 2 months ago

matthewturner commented 2 months ago

Hi, I'm new to httpyac (amazing tool by the way).

Is there a way to tag requests and selectively those requests?

ie

# @tag smoke

GET www.google.com

?? status == 200

And run them with this:

httpyac send --tag=smoke

AnWeber commented 2 months ago

added with #693

use this cli call

httpyac send **/*.http --tag=smoke

The call means, however, that I have to parse all http files to recognize whether this tag is present.

matthewturner commented 2 months ago

Ah that's amazing, thanks!