modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java
MockMvcRequestSpecBuilder addSessionAttr(String name, Object value) {
        spec.sessionAttr(name, value);
        return this;
    }
MockMvcRequestSpecBuilder addSessionAttr(String name, Object value) {
        spec.sessionAttr(name, value);
        return this;
    }
MockMvcRequestSpecBuilder addSessionAttr ( String name , Object value ) { spec . sessionAttr ( name , value ) ; return this ; }
Set a session attribute.

@param name  the session attribute name
@param value the session attribute value
Set a session attribute .