@Order(2)
    @Test
    public void testRewriteCrossPlugin() throws IOException {
        OrderDTO orderDTO = HttpHelper.INSTANCE.getFromGateway("/http/order/findById?id=1", OrderDTO.class);
        assertEquals("1", orderDTO.getId());
        assertEquals("hello world findById", orderDTO.getName());
        
        setupRewrite();
        
        Map<String, Object> request = new HashMap<>();
        OrderDTO result = HttpHelper.INSTANCE.getFromGateway("/dubbo/findById?id=2", request, OrderDTO.class);
        assertEquals("2", result.getId());
        assertEquals("hello world findById", result.getName());
        
        assertThat(cleanPluginData(PluginEnum.CONTEXT_PATH.getName()), is("success"));
        assertThat(cleanPluginData(PluginEnum.REWRITE.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