1 package com.griddynamics.jagger.engine.e1.collector.loadscenario;
3 import org.slf4j.Logger;
4 import org.slf4j.LoggerFactory;
34 private static Logger log = LoggerFactory.getLogger(
Composer.class);
36 private Iterable<LoadScenarioListener> listeners;
38 public Composer(Iterable<LoadScenarioListener> listeners) {
39 this.listeners = listeners;
50 listener.onStart(loadScenarioInfo);
51 }
catch (RuntimeException ex){
52 log.error(
"Failed to call on start in {} test-suite-listener", listener.toString(), ex);
61 listener.onStop(loadScenarioInfo);
62 }
catch (RuntimeException ex){
63 log.error(
"Failed to call on stop in {} test-suite-listener", listener.toString(), ex);