def METHOD_NAME(test_env):
    """
    Check the API endpoint to get all requests.
    Process:
    * Pre-populate data in Cachito by submitting basic requests and waiting for them to complete.
    * Verify the submitted requests are not incorrectly marked as "in_progress".
    * Verify the submitted requests can be found by using the state=complete filter.
    Checks:
    * Check that response code is 200
    * Check that filtering parameters are working properly (page, per_page, and state)
    """
    client = utils.Client(test_env["api_url"], test_env["api_auth_type"], test_env.get("timeout"))
    requests_amount = test_env["http_get_all"]["requests_amount"]
    submitted_requests = []
    payload = {
        "repo": test_env["packages"]["gomod"]["repo"],
        "ref": test_env["packages"]["gomod"]["ref"],
        "pkg_managers": test_env["packages"]["gomod"]["pkg_managers"],
    }
    initial_responses = [client.create_new_request(payload) for _ in range(requests_amount)]
    for initial_response in initial_responses:
        completed_response = client.wait_for_complete_request(initial_response)
        response_data = completed_response.data
        submitted_requests.append(response_data["id"])
    assert_no_requests_in_progress_state(client, requests_amount, submitted_requests)
    assert_completed_requests(client, submitted_requests)