剖析美团内部所采用的网站压力测试方案(2)
发布时间:2021-07-12 23:00 所属栏目:21 来源:互联网
导读:privateVcr_vcr=newVcr(testapp);//指定拷贝流量的key @Override publicTestResponseecho(TestRequestreq)throwsTException{ _vcr.copy(req);//拷贝操作 longstart=System.currentTimeMillis(); TestResponserespon
private Vcr _vcr = new Vcr("testapp"); // 指定拷贝流量的key
@Override public TestResponse echo(TestRequest req) throws TException { _vcr.copy(req); // 拷贝操作 long start = System.currentTimeMillis(); TestResponse response = new TestResponse(); return response; } } (编辑:ASP站长网) |
相关内容
网友评论
推荐文章
热点阅读