public void sendChangeCollectionRequest(final String variable,final List<String> childList,final String value){
  final StringBuilder requestJson=new StringBuilder();
  requestJson.append("{\"" + variable + "\":[");
  for (int i=0; i < childList.size(); i++) {
    requestJson.append("\"" + childList.get(i) + "\",");
  }
  requestJson.append("\"" + value + "\"]}");
  sendEventToAgent(requestJson.toString());
}

public void sendChangeCollectionRequest ( final String variable , final List < String > childList , final String value ) { final StringBuilder requestJson = new StringBuilder ( ) ; requestJson . append ( "{\"" + variable + "\":[" ) ; for ( int i = 0 ; i < childList . size ( ) ; i ++ ) { requestJson . append ( "\"" + childList . get ( i ) + "\"," ) ; } requestJson . append ( "\"" + value + "\"]}" ) ; sendEventToAgent ( requestJson . toString ( ) ) ; }
sends a message with change variable request to the testrunneragent
