Package com.jayway.restassured.specification

Examples of com.jayway.restassured.specification.ResponseSpecification.statusCode()


    }

    public Response sendAndExpect(Expectation... expectations) {
        LOGGER.debug("======= [START] {} ===========", actionSender.description);
        ResponseSpecification responseSpecification = this.requestSpecification.expect();
        responseSpecification.statusCode(actionSender.defaultStatusCode);
        for (Expectation expectation : expectations) {
            expectation.applyExpectation(responseSpecification);
        }
        Response response = actionSender.sendRequest(responseSpecification, url);
        LOGGER.debug("======= [END] {} ===========", actionSender.description);
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.