apache kafka - Gatling test forever using feed -


i have kafka simulation test using gatling , able run constantuserspersec given duration. wanted run simulation @ constantuserspersec (say 1000/sec) , test should running forever until kills test/process.

currently have adjusted use days in place of duration. there option run test forever uses feeder. here code snippet:

val scn = scenario("kafka test demo")     .feed(ssv(conf.getstring("filename"), true).circular)     .exec(kafka("request")       // message send       .send[string]("${t}"))   setup(     scn.inject(constantuserspersec(conf.getint("constantuserspersec")) during (conf.getint("run_duration_in_mins") hours)))     .protocols(kafkaconf) 

any suggestions/directions please?

many thanks, mpha

is code bellow going work?

val scn = scenario("kafka test demo")     .feed(ssv(conf.getstring("filename"), true)).circular.forever() {     exec(kafka("request")     // message send     .send[string]("${t}")) } 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -