public String getClusterName() {
        if (StringUtils.isNotEmpty(contextPath)) {
            return contextPath.substring(1);
        }
        return null;
    }
@Test
    public void testGetClusterName() {
        assertEquals(upstreamInstance.getClusterName(), "henyuContextPath");
        upstreamInstance.setContextPath("");
        assertNull(upstreamInstance.getClusterName());
    }