Package com.springsource.insight.intercept.trace

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


    @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

Related Classes of com.springsource.insight.intercept.trace.TraceError

Copyright © 2018 www.massapicom. 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.