@Override(Experiment.Experiment)
    def do_start_experiment(self, serialized_client_initial_data, serialized_server_initial_data):

        raw_back_url = json.loads(serialized_client_initial_data).get('back','')
        back_url = urllib2.quote(raw_back_url,'')

        self.start_time = time.time()
        server_data = json.loads(serialized_server_initial_data)
        time_slot = float(server_data['priority.queue.slot.length'])
        self._username = server_data['request.username']
        self.timer = threading.Timer(time_slot, function = self._reset_password)
        self.timer.start()

        password = self._reset_password()
        url = {'url' : self.router_web % dict(login=self._username, password=password, back=back_url) }
        return json.dumps({ "initial_configuration" : json.dumps(url), 'batch' : False })
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/control_app.py/ControlAppExperiment.do_start_experiment/original