bulkJson1

(from gluu.scim2.client.bulk.UsersBulkTest took 0.1 sec)

FAIL

Test Name: Bulk operations
Suite Name: SCIM-Client v2.0
Value
Parameter #1 { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:BulkRequest" ], "Operations": [ { "method": "POST", "path": "/Users", "bulkId": "qwerty", "data": { "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], "userName": "scim_test_bjensen_1" } }, { "method": "PUT", "path": "/Users/bulkId:qwerty", "data": { "active": true, "password": "top-secret", "roles": [{ "value" : "Master of puppets" }] } }, { "method": "PATCH", "path": "/Users/bulkId:qwerty", "data": { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], "Operations": [ { "op": "add", "value": { "nickName": "Babas", "userType": "CEO" } }, { "op": "replace", "value": { "displayName": "patched Brava" } } ] } }, { "method": "PATCH", "path": "/Users/bulkId:qwerty", "data": { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], "Operations": [ { "op": "replace", "path": "name", "value": { "familyName": "re-patched Jensen", "givenName": "re-patched Barbara", "middleName": "re-patched Jane" } }, { "op": "replace", "path": "phoneNumbers", "value": [ { "value": "re-patch 555 123 4567", "type": "other" }, { "value": "re-patch 666 000 1234", "type": "work" } ] }, { "op": "remove", "path": "name.middleName" } ] } } ] }


[Method Execution Trend Chart]

Exception gluu.scim2.client.exception.ScimInitializationException

Message: (none)Stacktrace:

at gluu.scim2.client.UmaScimClient.authorize(UmaScimClient.java:108)
at gluu.scim2.client.AbstractScimClient.invoke(AbstractScimClient.java:137)
at com.sun.proxy.$Proxy45.processBulkOperations(Unknown Source)
at gluu.scim2.client.bulk.UsersBulkTest.bulkJson1(UsersBulkTest.java:31)
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 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
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 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:199)
at org.gluu.util.StringHelper.split(StringHelper.java:83)
at org.gluu.util.StringHelper.split(StringHelper.java:79)
at gluu.scim2.client.UmaScimClient.authorize(UmaScimClient.java:96)
... 37 more