def METHOD_NAME(self):
    basic_vs_cfg = gSAMPLE_CONFIG["BasicVS"]
    vs_obj = basic_vs_cfg["vs_obj"]
    resp = api.post('pool', data=json.dumps(basic_vs_cfg["pool_obj"]),
                    api_version=api_version)
    assert resp.status_code in (200, 201)
    vs_obj["pool_ref"] = onelogin.get_obj_ref(resp.json())
    resp = api.post('virtualservice', data=json.dumps(vs_obj),
                    api_version=api_version)
    assert resp.status_code in (200, 201)
    pool_name = gSAMPLE_CONFIG["BasicVS"]["pool_obj"]["name"]
    resp = api.get('virtualservice', tenant='admin',
                   api_version=api_version)
    assert resp.json()['count'] >= 1
    resp = api.delete_by_name('virtualservice', vs_obj['name'],
                              api_version=api_version)
    assert resp.status_code in (200, 204)
    resp = api.delete_by_name("pool", pool_name,
                              api_version=api_version)
    assert resp.status_code in (200, 204