public class TestIntegralClient extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
countFailure |
(package private) int |
countSuccess |
(package private) Map<Integer,Long> |
durationStats |
(package private) IntegralClient2 |
integralClient |
(package private) CountDownLatch |
latch |
(package private) long |
maxDuration |
(package private) long |
minDuration |
(package private) Map<String,Long> |
requestList |
Constructor and Description |
---|
TestIntegralClient() |
Modifier and Type | Method and Description |
---|---|
int |
doTest(int thread,
int maxAttempts) |
Map<Integer,Long> |
doTimeTest(int thread,
int maxAttempts) |
Integer |
getDurationKey(long duration) |
static String |
getDurationName(Integer to) |
private void |
putDuration(String url,
Boolean isSuccess) |
int countSuccess
int countFailure
long maxDuration
long minDuration
CountDownLatch latch
IntegralClient2 integralClient