There is definitely no such functionality currently. I am not particularly certain that … config reload is even a thing that I k6 should have at all, but you are welcome to open an issue explaining what you mean by it and maybe even proposing a PR ;).
Currently, the only way for something that might work(that isn’t with scenarios) is to be based on some HTTP/websocket/gRPC response for each VU individually to decide that it should change what it needs to do.
var something = false; // a flag that something has changed
export default function(){
if (something) {
// call some URLs
var resp= http.get(someurl);
if (/*some condition based on this response*/) {
something = true; // switch to other branch
// maybe break/return here
}
// call some more URLs
} else {
// call other URLs
}
}
Hope this example illustrates it better.
regard the extension, not sure I got how they can help…
You can write your own extension so that you can skip the part with making requests but instead checking something internally.