How to use the locustio.common_utils.read_input_file function in locustio

To help you get started, we’ve selected a few locustio examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github atlassian / dc-app-performance-toolkit / app / locustio / jira / requests_params.py View on Github external
def jira_datasets():
    data_sets = dict()
    data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
    data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
    data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
    data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
    data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
    data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
    page_size = 25
    projects_count = len(data_sets['projects'])
    data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
        else projects_count // page_size + 1
    return data_sets
github atlassian / dc-app-performance-toolkit / app / locustio / jira / requests_params.py View on Github external
def jira_datasets():
    data_sets = dict()
    data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
    data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
    data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
    data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
    data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
    data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
    page_size = 25
    projects_count = len(data_sets['projects'])
    data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
        else projects_count // page_size + 1
    return data_sets
github atlassian / dc-app-performance-toolkit / app / locustio / jira / requests_params.py View on Github external
def jira_datasets():
    data_sets = dict()
    data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
    data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
    data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
    data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
    data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
    data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
    page_size = 25
    projects_count = len(data_sets['projects'])
    data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
        else projects_count // page_size + 1
    return data_sets
github atlassian / dc-app-performance-toolkit / app / locustio / jira / requests_params.py View on Github external
def jira_datasets():
    data_sets = dict()
    data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
    data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
    data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
    data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
    data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
    data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
    page_size = 25
    projects_count = len(data_sets['projects'])
    data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
        else projects_count // page_size + 1
    return data_sets
github atlassian / dc-app-performance-toolkit / app / locustio / jira / requests_params.py View on Github external
def jira_datasets():
    data_sets = dict()
    data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
    data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
    data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
    data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
    data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
    data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
    page_size = 25
    projects_count = len(data_sets['projects'])
    data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
        else projects_count // page_size + 1
    return data_sets
github atlassian / dc-app-performance-toolkit / app / locustio / jira / requests_params.py View on Github external
def jira_datasets():
    data_sets = dict()
    data_sets["issues"] = read_input_file(JIRA_DATASET_ISSUES)
    data_sets["users"] = read_input_file(JIRA_DATASET_USERS)
    data_sets["jqls"] = read_input_file(JIRA_DATASET_JQLS)
    data_sets["scrum_boards"] = read_input_file(JIRA_DATASET_SCRUM_BOARDS)
    data_sets["kanban_boards"] = read_input_file(JIRA_DATASET_KANBAN_BOARDS)
    data_sets["projects"] = read_input_file(JIRA_DATASET_PROJECTS)
    page_size = 25
    projects_count = len(data_sets['projects'])
    data_sets['pages'] = projects_count // page_size if projects_count % page_size == 0 \
        else projects_count // page_size + 1
    return data_sets