public static String buildScenario(List<String> urlList){
  if (urlList == null || urlList.isEmpty()) {
    return null;
  }
  StringBuilder strb=new StringBuilder();
  strb.append(buildHeader());
  Iterator<String> iter=urlList.iterator();
  while (iter.hasNext()) {
    strb.append(buildGetStep((iter.next())));
    if (iter.hasNext()) {
      strb.append(COMMA);
    }
  }
  strb.append(buildFooter());
  return strb.toString();
}

public static String buildScenario ( List < String > urlList ) { if ( urlList == null || urlList . isEmpty ( ) ) { return null ; } StringBuilder strb = new StringBuilder ( ) ; strb . append ( buildHeader ( ) ) ; Iterator < String > iter = urlList . iterator ( ) ; while ( iter . hasNext ( ) ) { strb . append ( buildGetStep ( ( iter . next ( ) ) ) ) ; if ( iter . hasNext ( ) ) { strb . append ( COMMA ) ; } } strb . append ( buildFooter ( ) ) ; return strb . toString ( ) ; }
build a scenario from a list of url
