records_helper

appian_locust.records_helper._is_grid(res_dict_var: Dict[str, Any]) → bool
appian_locust.records_helper.get_all_records_from_json(json_response: Dict[str, Any]) → Tuple[Dict[str, Any], int]
appian_locust.records_helper.get_record_header_response(form_json: Dict[str, Any]) → str

This returns the contents of “x-embedded-header” from Record Instance’s Feed response. Header response is needed in cases like clicking on a related action.

appian_locust.records_helper.get_record_summary_view_response(form_json: Dict[str, Any]) → str

This returns the contents of “x-embedded-summary” from Record Instance’s Feed response

appian_locust.records_helper.get_records_from_json_by_column(json_response: Dict[str, Any], column_index: int) → Tuple[Dict[str, Any], int]
appian_locust.records_helper.get_url_stub_from_record_list_post_request_url(post_url: Optional[str]) → Optional[str]

Given post_url, returns the URL stub IF the url matches the url for a record list. If not, returns None.

Parameters

post_url – the post request url (not including the host and domain) to post to

Returns: The url stub if post_url matches a record instance list url, otherwise None

appian_locust.records_helper.get_url_stub_from_record_list_url_path(url: Optional[str]) → Optional[str]

Attempts to parse the url stub the url of a record list. It should only be able to parse the url stub if the page is a record list. If the url stub cannot be parsed, returns None.

Parameters

url – url path to attempt to parse the record list URL stub from

Returns: The url stub if post_url matches a record list url, otherwise None