Test duration : 8.746s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.091s |
2022-07-01 22:46:25 |
2022-07-01 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:25 | ------------------------------------ 2022-07-01 22:46:25 | [Mutex] waiting for: [configured:node:node-d649e540-1ab9-4780-a748-c51ccb0de00e:node-4317ae59-01a5-4b40-8b94-ad76702cec9d] 2022-07-01 22:46:25 | [Mutex] received everything. 2022-07-01 22:46:25 | [Mutex] isItemNotified: configured:node:node-d649e540-1ab9-4780-a748-c51ccb0de00e:node-4317ae59-01a5-4b40-8b94-ad76702cec9d :: true 2022-07-01 22:46:26 | [Mutex] waiting for: [received:nodes:d3e5d502-d60b-4790-a533-850a5cd074ad:localhost] 2022-07-01 22:46:26 | [Mutex] received everything. 2022-07-01 22:46:26 | [Mutex] isItemNotified: received:node:d3e5d502-d60b-4790-a533-850a5cd074ad:localhost:node-d649e540-1ab9-4780-a748-c51ccb0de00e:Node d649e540-1ab9-4780-a748-c51ccb0de00e :: true 2022-07-01 22:46:26 | [Mutex] waiting for: [received:nodes:41d95b8e-f217-4203-b852-7d7c58285b7c:localhost] 2022-07-01 22:46:26 | [Mutex] waiting for: [received:nodes:41d95b8e-f217-4203-b852-7d7c58285b7c:localhost] 2022-07-01 22:46:26 | [Mutex] received everything. 2022-07-01 22:46:26 | [Mutex] isItemNotified: received:node:41d95b8e-f217-4203-b852-7d7c58285b7c:localhost:node-d649e540-1ab9-4780-a748-c51ccb0de00e:Node d649e540-1ab9-4780-a748-c51ccb0de00e :: false |
createNodes | 1.604s |
2022-07-01 22:46:22 |
2022-07-01 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:22 | ------------------------------------ 2022-07-01 22:46:23 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "pubsub#title": "Node d649e540-1ab9-4780-a748-c51ccb0de00e" } 2022-07-01 22:46:23 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-01 22:46:24 | [Mutex] waiting for: [received:nodes:520a59e8-5218-4413-be9c-6c2bf7aa69d5:localhost] 2022-07-01 22:46:24 | [Mutex] received everything. 2022-07-01 22:46:24 | [Mutex] isItemNotified: received:node:520a59e8-5218-4413-be9c-6c2bf7aa69d5:localhost:node-d649e540-1ab9-4780-a748-c51ccb0de00e:Node d649e540-1ab9-4780-a748-c51ccb0de00e :: true |
createSubnodes | 1.030s |
2022-07-01 22:46:24 |
2022-07-01 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:24 | ------------------------------------ 2022-07-01 22:46:24 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-4317ae59-01a5-4b40-8b94-ad76702cec9d", "pubsub#title": "Node 4317ae59-01a5-4b40-8b94-ad76702cec9d" } 2022-07-01 22:46:24 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-01 22:46:25 | [Mutex] waiting for: [received:nodes:ab5b1999-d30a-4abb-bbbb-a8382e3888bc:localhost] 2022-07-01 22:46:25 | [Mutex] received everything. 2022-07-01 22:46:25 | [Mutex] isItemNotified: received:node:ab5b1999-d30a-4abb-bbbb-a8382e3888bc:localhost:node-4317ae59-01a5-4b40-8b94-ad76702cec9d:Node 4317ae59-01a5-4b40-8b94-ad76702cec9d :: true |
deleteNodes | 1.025s |
2022-07-01 22:46:29 |
2022-07-01 22:46:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:29 | ------------------------------------ 2022-07-01 22:46:29 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-4317ae59-01a5-4b40-8b94-ad76702cec9d" } 2022-07-01 22:46:29 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-01 22:46:30 | [Mutex] waiting for: [received:nodes:800c8e8f-e278-46cc-87b2-a0f05928115a:localhost] 2022-07-01 22:46:30 | [Mutex] received everything. 2022-07-01 22:46:30 | [Mutex] isItemNotified: received:node:800c8e8f-e278-46cc-87b2-a0f05928115a:localhost:node-4317ae59-01a5-4b40-8b94-ad76702cec9d:Node 4317ae59-01a5-4b40-8b94-ad76702cec9d :: false |
deleteSubnodes | 1.034s |
2022-07-01 22:46:28 |
2022-07-01 22:46:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:28 | ------------------------------------ 2022-07-01 22:46:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e" } 2022-07-01 22:46:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-01 22:46:29 | [Mutex] waiting for: [received:nodes:c03897d9-afc6-449f-b4ec-bca7c7fb312f:localhost] 2022-07-01 22:46:29 | [Mutex] received everything. 2022-07-01 22:46:29 | [Mutex] isItemNotified: received:node:c03897d9-afc6-449f-b4ec-bca7c7fb312f:localhost:node-d649e540-1ab9-4780-a748-c51ccb0de00e:Node d649e540-1ab9-4780-a748-c51ccb0de00e :: false 2022-07-01 22:46:29 | [Mutex] waiting for: [received:nodes:d26faf14-3bae-44d4-b7b8-f6659c0a006c:localhost] 2022-07-01 22:46:29 | [Mutex] received everything. 2022-07-01 22:46:29 | [Mutex] isItemNotified: received:node:d26faf14-3bae-44d4-b7b8-f6659c0a006c:localhost:node-d649e540-1ab9-4780-a748-c51ccb0de00e:Node d649e540-1ab9-4780-a748-c51ccb0de00e :: false |
publishItemsToNodes | 0.045s |
2022-07-01 22:46:27 |
2022-07-01 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:27 | ------------------------------------ 2022-07-01 22:46:27 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "entry": "<test>item-efe5a902-d7f3-4ff9-9867-fb356cf5106a</test>", "item-id": "item-efe5a902-d7f3-4ff9-9867-fb356cf5106a" } 2022-07-01 22:46:27 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-efe5a902-d7f3-4ff9-9867-fb356cf5106a" } 2022-07-01 22:46:27 | [Mutex] waiting for: [published:item:notifieditem-efe5a902-d7f3-4ff9-9867-fb356cf5106a:admin@test-domain.com] 2022-07-01 22:46:27 | [Mutex] received everything. 2022-07-01 22:46:27 | [Mutex] isItemNotified: published:item:notifieditem-efe5a902-d7f3-4ff9-9867-fb356cf5106a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-07-01 22:46:27 |
2022-07-01 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:27 | ------------------------------------ 2022-07-01 22:46:27 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "item-id": "item-efe5a902-d7f3-4ff9-9867-fb356cf5106a" } 2022-07-01 22:46:27 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-efe5a902-d7f3-4ff9-9867-fb356cf5106a" } 2022-07-01 22:46:27 | [Mutex] received everything. 2022-07-01 22:46:27 | [Mutex] isItemNotified: retracted:item:notifieditem-efe5a902-d7f3-4ff9-9867-fb356cf5106a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.094s |
2022-07-01 22:46:27 |
2022-07-01 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:27 | ------------------------------------ 2022-07-01 22:46:27 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "item-id": "item-efe5a902-d7f3-4ff9-9867-fb356cf5106a" } 2022-07-01 22:46:27 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "item-id": "item-efe5a902-d7f3-4ff9-9867-fb356cf5106a", "item": [ "<item id=\"item-efe5a902-d7f3-4ff9-9867-fb356cf5106a\"><test>item-efe5a902-d7f3-4ff9-9867-fb356cf5106a</test></item>" ] } 2022-07-01 22:46:27 | [Mutex] notify: [retrieved:item:item-efe5a902-d7f3-4ff9-9867-fb356cf5106a:payload-matches:true:localhost] 2022-07-01 22:46:27 | [Mutex] received everything. 2022-07-01 22:46:27 | [Mutex] isItemNotified: retrieved:item:item-efe5a902-d7f3-4ff9-9867-fb356cf5106a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2022-07-01 22:46:27 |
2022-07-01 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:27 | ------------------------------------ 2022-07-01 22:46:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-07-01 22:46:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-4317ae59-01a5-4b40-8b94-ad76702cec9d", "test", "node-d649e540-1ab9-4780-a748-c51ccb0de00e" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2022-07-01 22:46:27 |
2022-07-01 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:27 | ------------------------------------ 2022-07-01 22:46:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d649e540-1ab9-4780-a748-c51ccb0de00e)" } 2022-07-01 22:46:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2022-07-01 22:46:26 |
2022-07-01 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:26 | ------------------------------------ 2022-07-01 22:46:26 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "jids": [ "admin@test-domain.com" ] } 2022-07-01 22:46:26 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2022-07-01 22:46:27 |
2022-07-01 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-01 22:46:27 | ------------------------------------ 2022-07-01 22:46:27 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d649e540-1ab9-4780-a748-c51ccb0de00e", "jids": [ "admin@test-domain.com" ] } 2022-07-01 22:46:27 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |