def METHOD_NAME(n, entity_type):
    """
    Populate a set of entities, just for testing
    :param n: number of entities to populate (with ids from e1 to e<n>)
    :param entity_type: entity type used for the populated entities (all with the same type)
    """
    print 'Populating %d entities of type %s' % (n, entity_type)
    entities = []
    for i in range(0, n):
        entity = {
            'id': 'e' + str(i),
            'type': entity_type,
            'a1': {
                'value': 'foo',
                'type': 'Text'
            },
            'a2': {
                'value': 42,
                'type': 'Number'
            }
        }
        entities.append(entity)
    body = {
        'entities': entities,
        'actionType': 'append'
    }
    res = requests.post(cb_endpoint + '/v2/op/update', json=body, headers=headers, verify=False)
    if res.status_code != 204:
        print 'Error populating entities (%d): %s' % (res.status_code, res.json())