(self, entry_json)
return teststep_dict
extract info from entry dict and make teststep

        Args:
            entry_json (dict):
                {
                    "request": {
                        "method": "POST",
                        "url": "https://httprunner.top/api/v1/Account/Login",
                        "headers": [],
                        "queryString": [],
                        "postData": {},
                    },
                    "response": {
                        "status": 200,
                        "headers": [],
                        "content": {}
                    }
                }
extract info from entry dict and make teststep
extract info from entry dict and make teststep
def _prepare_teststep(self, entry_json):
        """ extract info from entry dict and make teststep

        Args:
            entry_json (dict):
                {
                    "request": {
                        "method": "POST",
                        "url": "https://httprunner.top/api/v1/Account/Login",
                        "headers": [],
                        "queryString": [],
                        "postData": {},
                    },
                    "response": {
                        "status": 200,
                        "headers": [],
                        "content": {}
                    }
                }

        """
        teststep_dict = {"name": "", "request": {}, "validate": []}

        self.__make_request_url(teststep_dict, entry_json)
        self.__make_request_method(teststep_dict, entry_json)
        self.__make_request_cookies(teststep_dict, entry_json)
        self.__make_request_headers(teststep_dict, entry_json)
        self._make_request_data(teststep_dict, entry_json)
        self._make_validate(teststep_dict, entry_json)

        return teststep_dict
def _prepare_teststep ( self , entry_json ) : teststep_dict = { "name" : "" , "request" : { } , "validate" : [ ] } self . __make_request_url ( teststep_dict , entry_json ) self . __make_request_method ( teststep_dict , entry_json ) self . __make_request_cookies ( teststep_dict , entry_json ) self . __make_request_headers ( teststep_dict , entry_json ) self . _make_request_data ( teststep_dict , entry_json ) self . _make_validate ( teststep_dict , entry_json ) return teststep_dict