@Override
  protected void payloadHandling() {
    super.payloadHandling();
    createDirs(JS_PATH + pathUpdater + tempPath);
    printJsonTofile(this.payload.toString(), JS_PATH + pathUpdater + tempPath + "/payload.json");
    try {
      if (this.networkInstrumentation != null) {
        printJsonTofile(this.networkInstrumentation.toString(),
            JS_PATH + pathUpdater +  tempPath + "/networkInstrumentation.json");
      }
    } catch (Exception e) {
      logger.error("Problem with the network instrumentation payload: \r\n" + getStackTrace(e));
    }
    if (!this.multiThread) {
      logger.error("JavaScript test with KITE cannot be run sequentially at the moment.");
    }
  }
Instantiates a new Kite js test.

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