@@ -0,0 +1,2234 @@
+/*%0A * Copyright (C) 2013 tarent AG%0A *%0A * Permission is hereby granted, free of charge, to any person obtaining%0A * a copy of this software and associated documentation files (the%0A * %22Software%22), to deal in the Software without restriction, including%0A * without limitation the rights to use, copy, modify, merge, publish,%0A * distribute, sublicense, and/or sell copies of the Software, and to%0A * permit persons to whom the Software is furnished to do so, subject to%0A * the following conditions:%0A *%0A * The above copyright notice and this permission notice shall be%0A * included in all copies or substantial portions of the Software.%0A *%0A * THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND,%0A * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF%0A * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.%0A * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY%0A * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,%0A * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE%0A * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.%0A */%0A%0Apackage org.osiam.tests.performance;%0A%0Aimport static org.hamcrest.Matchers.greaterThan;%0Aimport static org.hamcrest.Matchers.lessThan;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport java.io.UnsupportedEncodingException;%0Aimport java.net.URLEncoder;%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0Aimport org.osiam.resources.scim.User;%0A%0Apublic class RetrieveSomeValuesInclusiveExtensionsOfUsersWithAnQuery extends AbstractPerformanceTest %7B%0A%0A    @Test%0A    public void run() throws UnsupportedEncodingException %7B%0A        String queryString = %22filter=%22 + URLEncoder.encode(%22meta.created gt %5C%222011-10-10T00:00:00.000%5C%22%22%0A                + %22 and (userName co %5C%22er3%5C%22 or userName co %5C%224%5C%22)%22%0A                + %22 and (emails sw %5C%22email3%5C%22 and emails.type eq %5C%22work%5C%22)%22, %22UTF-8%22)%0A                + %22&attributes=%22%0A                + URLEncoder.encode(%22userName, displayName, emails, urn:scim:extension:perfomance%22, %22UTF-8%22);%0A        List%3CUser%3E users = osiamConnector.searchUsers(queryString, accessToken).getResources();%0A        assertThat(users.size(), greaterThan(50));%0A        assertThat(users.size(), lessThan(150));%0A    %7D%0A%7D%0A

add test to get some user attributes inclusive extensions