@Override
    public void run() {
      running = true;
      List<String> command = java.util.Arrays.asList("node", pathUpdater + "server.js",
        "" + this.port, "" + numberOfParticipant);
      ProcessBuilder builder = new ProcessBuilder(command);
      builder.directory((new File(JS_PATH)).getAbsoluteFile());
      builder.redirectErrorStream(true);
      process = null;
      try {
        process = builder.start();
      } catch (IOException e) {
        e.printStackTrace();
      }
      Scanner s = new Scanner(process.getInputStream());
      StringBuilder text = new StringBuilder();

      while(s.hasNextLine() && running) {
        String line = s.nextLine();
        text.append(line);
        text.append("\n");
        logger.info("[" + logHeader + " " + this.port + " ] " + line);
      }
      logger.info("Server on " + this.port + " thread is completed.");
    }
Instantiates a new Kite js test.

@param jsTestImpl the js file
KITE-Framework/src/main/java/org/webrtc/kite/tests/KiteJsTest.java