This repository has been archived by the owner on Sep 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtcurl.usage
57 lines (56 loc) · 2.11 KB
/
tcurl.usage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
tcurl <service> [--health | <method> [<body>]]
Sends one or more TChannel requests.
service: [-s|--service] <service>
The name of the TChannel/Hyperbahn service to send requests to
endpoint: [-1|--arg1|--method|--endpoint] <method>
The name of the endpoint to send requests to or method to call
body: [<body>] :jshon
The Thrift or JSON argument in SHON or JSON format
head: [--headers <head>] :jshon
The application headers as SHON or JSON arguments
peers: [-p|--peer <peer>...]
The peer or peers to connect
hostlist: [-P|--peerlist|-H|--hostlist <path>]
The path to a file containing a JSON list of peers.
Favor -P and --peerlist.
The --H and --hostlist options are deprecated.
raw: [-r|--raw]
Use the raw argument scheme
http: [--http <method>]
Use the HTTP argument scheme with given method
json: [-j|-J|--json]
Use the JSON argument scheme
thrift: [-t|--thrift <thrift>]
Where to find Thrift IDL files
strict: [--strict=true*|-s=true|--no-strict=false|-S=false] :boolean
Whether to use strict Thrift parsing
timeout: [--timeout <ms>] :quantity
Timeout in milliseconds
requests: [--requests <count>] :quantity
Number of requests to make
rate: [--rate <rate>] :quantity
Request rate in requests per second
delay: [--delay <ms>] :quantity
Delay between requests in milliseconds
time: [--time <ms>] :quantity
Benchmark duration in milliseconds
callerName: [--cn|--caller <cn>]
Fake an alternate caller service name, tcurl by default
shardKey: [--sk|--shard-key|--shardKey <sk>]
Ringpop shard key
Favor --sk and --shard-key. --shardKey is deprecated.
routingDelegate: [--rd|--routing-delegate <rd>]
Route through the delegated service
jsonBody: [-3|--arg3|--body <body>]
The body or argument in JSON format.
Favor the use of <body> directly.
These flags are deprecated.
jsonHead: [-2|--arg2|--head <head>]
Application headers in JSON format.
Favor the --headers flag.
These flags are deprecated.
health: [--health]*
Hit the health endpoint for the service
help: [-h]* short help
man: [--help]* man page
version: [-v|--version]* print version