boomer
boomer copied to clipboard
求助: UI界面设置host参数无效
Describe the bug 运行了example的http文件,发现无法通过master UI界面设置的host参数传递到url生效,请问该如何设置呢
Expected behavior 8089 UI界面可以设置host参数传递到url
Environment (please complete the following information): boomer: master分支
后续可以考虑像 locust 一样,用一个 environment 全局变量存一下 master 发过来的各种参数,供用户在编写 task 的时候,自行去读。
I also need this feature!
When the host url is set in master UI, that value is passed to boomer by the host field in spawn message.
I’ve tried to implement a workaround for this by adding an event handler for spawn.
https://github.com/myzhan/boomer/compare/master...ikorihn:boomer:configure-host-from-ui
@ikorihn I think you can submit a PR.