modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java
public MockMvcRequestSpecBuilder addAttribute(String attributeName, Object attributeValue) {
        spec.attribute(attributeName, attributeValue);
        return this;
    }
public MockMvcRequestSpecBuilder addAttribute(String attributeName, Object attributeValue) {
        spec.attribute(attributeName, attributeValue);
        return this;
    }
public MockMvcRequestSpecBuilder addAttribute ( String attributeName , Object attributeValue ) { spec . attribute ( attributeName , attributeValue ) ; return this ; }
Add request attribute

@param attributeName  The attribute name
@param attributeValue The attribute value
@return The request specification builder
Add request attribute