I already added the inumOrg, however I did not fully understand how to import this data into LDAP, could you please explain me in more detail?
In your second point, I would like to assume that you are referring to these three attributes, right?
`/install/community-edition-setup/templates/test/scim-client/schema/scim_test.schema`
```
attributetype ( 1.3.6.1.4.1.48710.1.3.2001 NAME 'scimCustomFirst'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Gluu - SCIM test attribute' )
attributetype ( 1.3.6.1.4.1.48710.1.3.2002 NAME 'scimCustomSecond'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
X-ORIGIN 'Gluu - SCIM test attribute' )
attributetype ( 1.3.6.1.4.1.48710.1.3.2003 NAME 'scimCustomThird'
EQUALITY integerMatch
ORDERING integerOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
X-ORIGIN 'Gluu - SCIM test attribute' )
```
**Edit:**
I tried to modify my file `/opt/gluu-server-3.1.4/opt/opendj/config/schema/77-customAttributes.ldif`, adding to it the three attributes in `/install/community-edition-setup/templates/test/scim-client/schema/scim_test.schema`
```javascript
dn: cn=schema
objectClass: top
objectClass: ldapSubentry
objectClass: subschema
cn: schema
attributetype ( 1.3.6.1.4.1.48710.1.3.2001 NAME 'scimCustomFirst'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Gluu - SCIM test attribute' )
attributetype ( 1.3.6.1.4.1.48710.1.3.2002 NAME 'scimCustomSecond'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
X-ORIGIN 'Gluu - SCIM test attribute' )
attributetype ( 1.3.6.1.4.1.48710.1.3.2003 NAME 'scimCustomThird'
EQUALITY integerMatch
ORDERING integerOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
X-ORIGIN 'Gluu - SCIM test attribute' )
objectClasses: ( 1.3.6.1.4.1.48710.1.4.101 NAME 'gluuCustomPerson'
SUP ( top )
AUXILIARY
MAY ( telephoneNumber $ mobile $ carLicense $ facsimileTelephoneNumber $ departmentNumber $ employeeType $ cn $ st $ manager $ street $ postOfficeBox $ employeeNumber $ $
X-ORIGIN 'Gluu - Custom persom objectclass' )
```
And finally I restart `service opendj restart`
But when I try to execute my test again with `mvn test`
I get the next 34 errors:
```shell
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
12:46:21 INFO BaseTest.java:44 - Invoked initTestSuite of 'Corner and other weird cases'
12:46:21 INFO BaseTest.java:72 - Initializing client...
12:46:24 INFO SchemasTest.java:71 - Found User Schema Extension: GluuUserCustomExtension
12:46:24 DEBUG MinimalUserTest.java:29 - Creating mimimal user from json...
12:46:27 DEBUG MinimalGroupTest.java:31 - Creating mimimal group from json...
12:46:28 DEBUG MinimalGroupTest.java:37 - Group created with id @!ADF2.014A.3A4E.E27B!0001!DC3E.136B!0003!59FB.1425
12:46:28 DEBUG MinimalGroupTest.java:45 - Updating group scim_test_worldowners with json
12:46:28 DEBUG MinimalGroupTest.java:52 - Updated group scim_test_worldmanagers
12:46:28 DEBUG MinimalGroupTest.java:59 - Deleting group scim_test_worldowners
12:46:28 DEBUG MinimalGroupTest.java:62 - deleted
12:46:28 DEBUG AverageUserTest.java:35 - Creating user from json...
12:46:28 DEBUG FullUserTest.java:35 - Creating user from json...
12:46:29 DEBUG SimpleSearchUserTest.java:33 - Creating user from json...
12:46:30 DEBUG ComplexSearchUserTest.java:68 - Searching at most 3 users using POST verb
12:46:30 DEBUG ComplexSearchUserTest.java:69 - Sorted by family name descending
12:46:30 DEBUG ComplexSearchUserTest.java:70 - Retrieving only the attributes [name.familyName, active]
12:46:31 WARN ComplexSearchUserTest.java:85 - Less than 3 users satisfying the criteria. TESTER please check manually
12:46:31 DEBUG ComplexSearchUserTest.java:140 - Searching at most 3 users using POST verb
12:46:31 DEBUG ComplexSearchUserTest.java:141 - Sorted by displayName ascending
12:46:31 DEBUG ComplexSearchUserTest.java:142 - Excluding the attributes [x509Certificates, entitlements, roles, ims, phoneNumbers, addresses, emails, groups]
12:46:31 WARN ComplexSearchUserTest.java:157 - Less than 3 users satisfying the criteria. TESTER please check manually
12:46:31 DEBUG ComplexSearchUserTest.java:39 - Searching users with attribute nickName existent or ims.value=Skype using POST verb
12:46:32 INFO GroupAssignUserTest.java:40 - Creating 3 users...
12:46:32 DEBUG QueryParamRetrievalTest.java:34 - Retrieving test users...
12:46:32 DEBUG QueryParamCreateUpdateTest.java:38 - Creating user from json...
12:46:35 DEBUG PatchReplaceUserTest.java:39 - Creating user from json...
12:46:35 DEBUG PatchAddUserTest.java:30 - Creating user from json...
12:46:36 DEBUG PatchDeleteUserTest.java:30 - Creating user from json...
12:46:37 DEBUG PatchUserExtTest.java:40 - Creating user from json...
12:46:38 DEBUG UserBaseTest.java:33 - Deleting user 1550083597903
12:46:38 DEBUG PatchGroupTest.java:47 - Creating group from json...
12:46:40 INFO UsersBulkTest.java:35 - Sending a bulk with POST, PUT, and PATCH operations...
12:46:40 INFO GroupsBulkTest.java:40 - Creating one user and one group using bulk json string
12:46:40 INFO GroupsBulkTest.java:98 - Cleaning...
12:46:48 DEBUG WrongPayloadUserTest.java:49 - Creating mimimal user from json...
12:46:48 INFO AbstractScimClient.java:126 - Closing RestEasy client
Tests run: 109, Failures: 34, Errors: 0, Skipped: 43, Time elapsed: 28.329 sec <<< FAILURE!
inspectUserExtensionSchema(gluu.scim2.client.servicemeta.SchemasTest) Time elapsed: 0.015 sec <<< FAILURE!
java.lang.NullPointerException
at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
at gluu.scim2.client.servicemeta.SchemasTest.inspectUserExtensionSchema(SchemasTest.java:96)
createUser(gluu.scim2.client.singleresource.MinimalUserTest) Time elapsed: 2.96 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.singleresource.MinimalUserTest.createUser(MinimalUserTest.java:30)
delete(gluu.scim2.client.singleresource.MinimalUserTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.singleresource.MinimalUserTest.delete(MinimalUserTest.java:50)
create(gluu.scim2.client.singleresource.AverageUserTest) Time elapsed: 0.209 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.singleresource.AverageUserTest.create(AverageUserTest.java:36)
delete(gluu.scim2.client.singleresource.AverageUserTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.singleresource.AverageUserTest.delete(AverageUserTest.java:119)
createFull(gluu.scim2.client.singleresource.FullUserTest) Time elapsed: 0.798 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [400]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.singleresource.FullUserTest.createFull(FullUserTest.java:36)
delete(gluu.scim2.client.singleresource.FullUserTest) Time elapsed: 0 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.singleresource.FullUserTest.delete(FullUserTest.java:105)
create(gluu.scim2.client.search.SimpleSearchUserTest) Time elapsed: 0.818 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.search.SimpleSearchUserTest.create(SimpleSearchUserTest.java:34)
search1(gluu.scim2.client.search.PaginationUserSearchTest) Time elapsed: 0.189 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.search.PaginationUserSearchTest.search1(PaginationUserSearchTest.java:45)
delete(gluu.scim2.client.search.SimpleSearchUserTest) Time elapsed: 0 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.search.SimpleSearchUserTest.delete(SimpleSearchUserTest.java:141)
createUsers(gluu.scim2.client.multipleresource.GroupAssignUserTest) Time elapsed: 0.197 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.multipleresource.GroupAssignUserTest.createUsers(GroupAssignUserTest.java:46)
multipleRetrieval(gluu.scim2.client.singleresource.QueryParamRetrievalTest) Time elapsed: 0.754 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.singleresource.QueryParamRetrievalTest.multipleRetrieval(QueryParamRetrievalTest.java:41)
create1(gluu.scim2.client.singleresource.QueryParamCreateUpdateTest) Time elapsed: 0.207 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [400]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.singleresource.QueryParamCreateUpdateTest.create1(QueryParamCreateUpdateTest.java:44)
delete1(gluu.scim2.client.singleresource.QueryParamCreateUpdateTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.singleresource.QueryParamCreateUpdateTest.delete1(QueryParamCreateUpdateTest.java:53)
delete(gluu.scim2.client.singleresource.QueryParamCreateUpdateTest) Time elapsed: 0 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.singleresource.QueryParamCreateUpdateTest.delete(QueryParamCreateUpdateTest.java:149)
createForReplace(gluu.scim2.client.patch.PatchReplaceUserTest) Time elapsed: 0.229 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [400]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.patch.PatchReplaceUserTest.createForReplace(PatchReplaceUserTest.java:40)
delete(gluu.scim2.client.patch.PatchReplaceUserTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.patch.PatchReplaceUserTest.delete(PatchReplaceUserTest.java:198)
createForAdd(gluu.scim2.client.patch.PatchAddUserTest) Time elapsed: 0.796 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.patch.PatchAddUserTest.createForAdd(PatchAddUserTest.java:31)
delete(gluu.scim2.client.patch.PatchAddUserTest) Time elapsed: 0 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.patch.PatchAddUserTest.delete(PatchAddUserTest.java:53)
createForDel(gluu.scim2.client.patch.PatchDeleteUserTest) Time elapsed: 0.734 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [400]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.patch.PatchDeleteUserTest.createForDel(PatchDeleteUserTest.java:31)
delete(gluu.scim2.client.patch.PatchDeleteUserTest) Time elapsed: 0 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.patch.PatchDeleteUserTest.delete(PatchDeleteUserTest.java:53)
create(gluu.scim2.client.patch.PatchUserExtTest) Time elapsed: 0.811 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [400]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.patch.PatchUserExtTest.create(PatchUserExtTest.java:41)
delete(gluu.scim2.client.patch.PatchUserExtTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.patch.PatchUserExtTest.delete(PatchUserExtTest.java:105)
create(gluu.scim2.client.patch.PatchValueFilterUserTest) Time elapsed: 0.812 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.patch.PatchValueFilterUserTest.create(PatchValueFilterUserTest.java:38)
delete(gluu.scim2.client.patch.PatchValueFilterUserTest) Time elapsed: 0.006 sec <<< FAILURE!
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy46.deleteUser(Unknown Source)
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:34)
at gluu.scim2.client.patch.PatchValueFilterUserTest.delete(PatchValueFilterUserTest.java:94)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at gluu.scim2.client.AbstractScimClient.invokeServiceMethod(AbstractScimClient.java:99)
at gluu.scim2.client.AbstractScimClient.invoke(AbstractScimClient.java:140)
... 37 more
Caused by: java.lang.NullPointerException: RESTEASY004670: value was null
at org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget.resolveTemplate(ClientWebTarget.java:186)
at org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget.resolveTemplate(ClientWebTarget.java:25)
at org.jboss.resteasy.client.jaxrs.internal.proxy.processors.webtarget.PathParamProcessor.build(PathParamProcessor.java:31)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.createRequest(ClientInvoker.java:115)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:101)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:76)
at com.sun.proxy.$Proxy45.deleteUser(Unknown Source)
... 43 more
patch2(gluu.scim2.client.patch.PatchGroupTest) Time elapsed: 0.204 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.patch.PatchGroupTest.getTestUsers(PatchGroupTest.java:161)
at gluu.scim2.client.patch.PatchGroupTest.patch2(PatchGroupTest.java:72)
bulkJson1(gluu.scim2.client.bulk.UsersBulkTest) Time elapsed: 0.207 sec <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertTrue(Assert.java:41)
at org.testng.Assert.assertTrue(Assert.java:51)
at gluu.scim2.client.bulk.UsersBulkTest.assertSuccessfulOps(UsersBulkTest.java:100)
at gluu.scim2.client.bulk.UsersBulkTest.bulkJson1(UsersBulkTest.java:43)
bulkJson(gluu.scim2.client.bulk.GroupsBulkTest) Time elapsed: 0.2 sec <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertTrue(Assert.java:41)
at org.testng.Assert.assertTrue(Assert.java:51)
at gluu.scim2.client.bulk.GroupsBulkTest.assertSuccessfulOps(GroupsBulkTest.java:131)
at gluu.scim2.client.bulk.GroupsBulkTest.bulkJson(GroupsBulkTest.java:47)
delete(gluu.scim2.client.bulk.GroupsBulkTest) Time elapsed: 0.194 sec <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertTrue(Assert.java:41)
at org.testng.Assert.assertTrue(Assert.java:51)
at gluu.scim2.client.bulk.GroupsBulkTest.delete(GroupsBulkTest.java:123)
containabilityAll(gluu.scim2.client.corner.SpecialCharsTest) Time elapsed: 0.205 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.corner.SpecialCharsTest.containabilityAll(SpecialCharsTest.java:72)
containabilityAllInGivenName(gluu.scim2.client.corner.SpecialCharsTest) Time elapsed: 0.205 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.corner.SpecialCharsTest.containabilityAllInGivenName(SpecialCharsTest.java:93)
containabilityAny(gluu.scim2.client.corner.SpecialCharsTest) Time elapsed: 0.204 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.corner.SpecialCharsTest.containabilityAny(SpecialCharsTest.java:49)
create(gluu.scim2.client.corner.WrongPayloadUserTest) Time elapsed: 0.204 sec <<< FAILURE!
java.lang.AssertionError: expected [201] but found [500]
at org.testng.Assert.fail(Assert.java:93)
at org.testng.Assert.failNotEquals(Assert.java:512)
at org.testng.Assert.assertEqualsImpl(Assert.java:134)
at org.testng.Assert.assertEquals(Assert.java:115)
at org.testng.Assert.assertEquals(Assert.java:388)
at org.testng.Assert.assertEquals(Assert.java:398)
at gluu.scim2.client.UserBaseTest.createUserFromJson(UserBaseTest.java:22)
at gluu.scim2.client.corner.WrongPayloadUserTest.create(WrongPayloadUserTest.java:50)
delete(gluu.scim2.client.corner.WrongPayloadUserTest) Time elapsed: 0 sec <<< FAILURE!
java.lang.NullPointerException
at gluu.scim2.client.UserBaseTest.deleteUser(UserBaseTest.java:33)
at gluu.scim2.client.corner.WrongPayloadUserTest.delete(WrongPayloadUserTest.java:62)
Results :
Failed tests: inspectUserExtensionSchema(gluu.scim2.client.servicemeta.SchemasTest)
createUser(gluu.scim2.client.singleresource.MinimalUserTest): expected [201] but found [500]
delete(gluu.scim2.client.singleresource.MinimalUserTest)
create(gluu.scim2.client.singleresource.AverageUserTest): expected [201] but found [500]
delete(gluu.scim2.client.singleresource.AverageUserTest)
createFull(gluu.scim2.client.singleresource.FullUserTest): expected [201] but found [400]
delete(gluu.scim2.client.singleresource.FullUserTest)
create(gluu.scim2.client.search.SimpleSearchUserTest): expected [201] but found [500]
search1(gluu.scim2.client.search.PaginationUserSearchTest)
delete(gluu.scim2.client.search.SimpleSearchUserTest)
createUsers(gluu.scim2.client.multipleresource.GroupAssignUserTest): expected [201] but found [500]
multipleRetrieval(gluu.scim2.client.singleresource.QueryParamRetrievalTest)
create1(gluu.scim2.client.singleresource.QueryParamCreateUpdateTest): expected [201] but found [400]
delete1(gluu.scim2.client.singleresource.QueryParamCreateUpdateTest)
delete(gluu.scim2.client.singleresource.QueryParamCreateUpdateTest)
createForReplace(gluu.scim2.client.patch.PatchReplaceUserTest): expected [201] but found [400]
delete(gluu.scim2.client.patch.PatchReplaceUserTest)
createForAdd(gluu.scim2.client.patch.PatchAddUserTest): expected [201] but found [500]
delete(gluu.scim2.client.patch.PatchAddUserTest)
createForDel(gluu.scim2.client.patch.PatchDeleteUserTest): expected [201] but found [400]
delete(gluu.scim2.client.patch.PatchDeleteUserTest)
create(gluu.scim2.client.patch.PatchUserExtTest): expected [201] but found [400]
delete(gluu.scim2.client.patch.PatchUserExtTest)
create(gluu.scim2.client.patch.PatchValueFilterUserTest): expected [201] but found [500]
delete(gluu.scim2.client.patch.PatchValueFilterUserTest)
patch2(gluu.scim2.client.patch.PatchGroupTest)
bulkJson1(gluu.scim2.client.bulk.UsersBulkTest): expected [true] but found [false]
bulkJson(gluu.scim2.client.bulk.GroupsBulkTest): expected [true] but found [false]
delete(gluu.scim2.client.bulk.GroupsBulkTest): expected [true] but found [false]
containabilityAll(gluu.scim2.client.corner.SpecialCharsTest)
containabilityAllInGivenName(gluu.scim2.client.corner.SpecialCharsTest)
containabilityAny(gluu.scim2.client.corner.SpecialCharsTest)
create(gluu.scim2.client.corner.WrongPayloadUserTest): expected [201] but found [500]
delete(gluu.scim2.client.corner.WrongPayloadUserTest)
Tests run: 109, Failures: 34, Errors: 0, Skipped: 43
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.127 s
[INFO] Finished at: 2019-02-13T12:46:49-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project scim-client2: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/yamildiazaguirre/Documents/SCIM-Client/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
```