Thanks to visit codestin.com
Credit goes to github.com

Skip to content

--add-header does not work #75

@xiaozhitaba

Description

@xiaozhitaba

[root@8c0a-0002 ~]# httperf --method=GET --timeout=5 --client=0/1 --server=xxxx.com --port=80 --uri=/pad/v1.0/home/main --add-header="Authorization: d268bb2e-ba5b-446a-bdd8-e065e40a5175\n" --debug=100 --print-request=header --print-reply=body --rate=5 --num-conns=1 --num-calls=1
httperf: sorry, need to recompile with -DDEBUG on...
httperf --print-reply=body --print-request=header --timeout=5 --client=0/1 --server=xxxx.com --port=80 --uri=/pad/v1.0/home/main --rate=5 --send-buffer=4096 --recv-buffer=16384 --ssl-protocol=auto --add-header='Authorization: d268bb2e-ba5b-446a-bdd8-e065e40a5175\n' --method=GET --num-conns=1 --num-calls=1
SH0:GET /pad/v1.0/home/main HTTP/1.1
SH0:User-Agent: httperf/0.9.1
SH0:Host: xxx.com
SH0:Authorization: d268bb2e-ba5b-446a-bdd8-e065e40a5175
SH0:
SS0: header 149 content 0
RB0:{"code":null,"business_exception":false,"http":{"method":"get","request_id":"1593857640775","url":"http://xxx.com/pad/v1.0/home/main"},"http_status":"INTERNAL_SERVER_ERROR","message":null,"status":null}
RS0: header 167 content 220 footer 2
Maximum connect burst length: 0

Total: connections 1 requests 1 replies 1 test-duration 0.099 s

Connection rate: 10.1 conn/s (99.3 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 99.3 avg 99.3 max 99.3 median 99.5 stddev 0.0
Connection time [ms]: connect 48.7
Connection length [replies/conn]: 1.000

Request rate: 10.1 req/s (99.3 ms/req)
Request size [B]: 149.0

Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)
Reply time [ms]: response 50.7 transfer 0.0
Reply size [B]: header 167.0 content 220.0 footer 2.0 (total 389.0)
Reply status: 1xx=0 2xx=0 3xx=0 4xx=0 5xx=1

CPU time [s]: user 0.06 system 0.04 (user 61.2% system 36.1% total 97.3%)
Net I/O: 5.3 KB/s (0.0*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions