@Test
    public void parseTraceKey() {
        Map<String, String> map = new HashMap<String, String>();
        HttpTracerUtils.parseTraceKey(map, RemotingConstants.RPC_TRACE_NAME + ".xx", "11");
        Assert.assertEquals("11", map.get("xx"));

        HttpTracerUtils.parseTraceKey(map, RemotingConstants.RPC_TRACE_NAME + "." + RemotingConstants.RPC_ID_KEY,
            "11");
        Assert.assertEquals("11", map.get(RemotingConstants.RPC_ID_KEY));
        HttpTracerUtils.parseTraceKey(map, RemotingConstants.RPC_TRACE_NAME + "."
            + RemotingConstants.RPC_ID_KEY.toLowerCase(), "11");
        Assert.assertEquals("11", map.get(RemotingConstants.RPC_ID_KEY));
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
remoting/remoting-http/src/test/java/com/alipay/sofa/rpc/transport/http/HttpTracerUtilsTest.java