@Order(1)
    @Test
    public void testRewriteCrossApplication() throws IOException {
        OrderDTO orderDTO = HttpHelper.INSTANCE.getFromGateway("/http/order/findById?id=1", OrderDTO.class);
        assertEquals("1", orderDTO.getId());
        assertEquals("hello world findById", orderDTO.getName());
        
        orderDTO = HttpHelper.INSTANCE.getFromGateway("/order/order/findById?id=3", OrderDTO.class);
        assertNotNull(orderDTO);
        assertNull(orderDTO.getId());
        assertNull(orderDTO.getName());
        
        setupRewriteContextPath();
        
        OrderDTO result = HttpHelper.INSTANCE.getFromGateway("/order/order/findById?id=1", OrderDTO.class);
        assertEquals("1", result.getId());
        assertEquals("hello world findById", result.getName());

//        assertThat(cleanPluginData(PluginEnum.CONTEXT_PATH.getName()), is("success"));
    }
The integrated test for combination plugins about contextPath and rewrite.
shenyu-integrated-test/shenyu-integrated-test-rewrite/src/test/java/org/apache/shenyu/integrated/test/rewrite/ContextPathAndRewritePluginTest.java