Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dbaicss opened this issue Oct 12, 2023 · 0 comments
Open

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

dbaicss opened this issue Oct 12, 2023 · 0 comments

Comments

@dbaicss
Copy link

dbaicss commented Oct 12, 2023

  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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant