boomer icon indicating copy to clipboard operation
boomer copied to clipboard

求助: UI界面设置host参数无效

Open yi-guo-546 opened this issue 3 years ago • 3 comments

Describe the bug 运行了example的http文件,发现无法通过master UI界面设置的host参数传递到url生效,请问该如何设置呢

Expected behavior 8089 UI界面可以设置host参数传递到url

Environment (please complete the following information): boomer: master分支

yi-guo-546 avatar Sep 26 '22 12:09 yi-guo-546

后续可以考虑像 locust 一样,用一个 environment 全局变量存一下 master 发过来的各种参数,供用户在编写 task 的时候,自行去读。

myzhan avatar Oct 08 '22 14:10 myzhan

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 avatar Aug 19 '24 04:08 ikorihn

@ikorihn I think you can submit a PR.

myzhan avatar Aug 19 '24 13:08 myzhan