@Test
    public void testProviderPressure() {
        Metadata metadata = new Metadata();
        metadata.put(HEAD_KEY_TRAFFIC_TYPE, "pressure");
        Context context = Context.current().withValue(TracingContextKey.getKeyMetadata(), metadata);
        context.attach();

        PressureMarkTransformFilter filter = new PressureMarkTransformFilter();
        filter.invoke(invoker, request);

        SofaTracerSpan currentSpan = SofaTraceContextHolder.getSofaTraceContext().getCurrentSpan();
        Assert.assertTrue(TracerUtils.isLoadTest(currentSpan));
    }
@author <a href=mailto:orezsilence@163.com>zhangchengxi</a>
remoting/remoting-triple/src/test/java/com/alipay/sofa/rpc/filter/PressureMarkTransformFilterTest.java