Skip to content

Chaosd run as a server, how to set http request header #249

Open
@dbaicss

Description

@dbaicss
  1. chaosd server -p 9288
  2. chaosd attack jvm exception --class main --method hello* --exception 'java.io.IOException("BOOM")' --pid 3699
    after excute 1,2 cmd, the log follow
    [2023/10/12 16:23:37.447 +08:00] [INFO] [jvm.go:90] ["submit rules"] [output="HTTP/1.1 400 Bad Request\nContent-Type: text/plain; charset=utf-8\nConnection: close\n\n400 Bad Request\n\n"]

how to set chaosd http request header, solve the promblem, thxs!

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