(self, step: TStep)
return step_data.export_vars
run teststep, teststep maybe a request or referenced testcase
run teststep, teststep maybe a request or referenced testcase
run teststep teststep maybe a request or referenced testcase
def __run_step(self, step: TStep) -> Dict:
        """run teststep, teststep maybe a request or referenced testcase"""
        logger.info(f"run step begin: {step.name} >>>>>>")

        if step.request:
            step_data = self.__run_step_request(step)
        elif step.testcase:
            step_data = self.__run_step_testcase(step)
        else:
            raise ParamsError(
                f"teststep is neither a request nor a referenced testcase: {step.dict()}"
            )

        self.__step_datas.append(step_data)
        logger.info(f"run step end: {step.name} <<<<<<\n")
        return step_data.export_vars
def __run_step ( self , step : TStep ) -> Dict : logger . info ( f"run step begin: {step.name} >>>>>>" ) if step . request : step_data = self . __run_step_request ( step ) elif step . testcase : step_data = self . __run_step_testcase ( step ) else : raise ParamsError ( f"teststep is neither a request nor a referenced testcase: {step.dict()}" ) self . __step_datas . append ( step_data ) logger . info ( f"run step end: {step.name} <<<<<<\n" ) return step_data . export_vars