Examples of TraceError


Examples of com.springsource.insight.intercept.trace.TraceError

    @Test
    public void findErrors() {
        Trace trace = createHttpTrace(503, true);
        List<TraceError> errors = analyzer.locateErrors(trace);
        assertEquals(1, errors.size());
        TraceError error = errors.get(0);
        assertTrue(error.getMessage().contains("503"));
    }
View Full Code Here

Examples of com.springsource.insight.intercept.trace.TraceError

    @Test
    public void findContextNotAvailableErrors() {
        Trace trace = createHttpTrace(200, false);
        List<TraceError> errors = analyzer.locateErrors(trace);
        assertEquals(1, errors.size());
        TraceError error = errors.get(0);
        assertTrue(error.getMessage().contains("Context not available"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.