Test duration : 9.046s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.116s |
2021-04-05 22:58:13 |
2021-04-05 22:58:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:13 | ------------------------------------ 2021-04-05 22:58:13 | [Mutex] waiting for: [configured:node:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:node-95df4923-c4e5-4989-a783-3fab3d824393] 2021-04-05 22:58:13 | [Mutex] received everything. 2021-04-05 22:58:13 | [Mutex] isItemNotified: configured:node:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:node-95df4923-c4e5-4989-a783-3fab3d824393 :: true 2021-04-05 22:58:14 | [Mutex] waiting for: [received:nodes:e2c8a884-04f8-4262-be66-6929dd919a5a:localhost] 2021-04-05 22:58:14 | [Mutex] received everything. 2021-04-05 22:58:14 | [Mutex] isItemNotified: received:node:e2c8a884-04f8-4262-be66-6929dd919a5a:localhost:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:Node 4fb52158-d611-4ced-b3e8-9f2ad42128fb :: true 2021-04-05 22:58:14 | [Mutex] waiting for: [received:nodes:4e95f993-619a-4b90-a1a3-2722f1c8ea54:localhost] 2021-04-05 22:58:14 | [Mutex] received everything. 2021-04-05 22:58:14 | [Mutex] isItemNotified: received:node:4e95f993-619a-4b90-a1a3-2722f1c8ea54:localhost:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:Node 4fb52158-d611-4ced-b3e8-9f2ad42128fb :: false |
createNodes | 1.660s |
2021-04-05 22:58:11 |
2021-04-05 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:11 | ------------------------------------ 2021-04-05 22:58:11 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "pubsub#title": "Node 4fb52158-d611-4ced-b3e8-9f2ad42128fb" } 2021-04-05 22:58:11 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:12 | [Mutex] waiting for: [received:nodes:72a59060-243f-42f6-896b-eae18f616ed1:localhost] 2021-04-05 22:58:12 | [Mutex] received everything. 2021-04-05 22:58:12 | [Mutex] isItemNotified: received:node:72a59060-243f-42f6-896b-eae18f616ed1:localhost:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:Node 4fb52158-d611-4ced-b3e8-9f2ad42128fb :: true |
createSubnodes | 1.034s |
2021-04-05 22:58:12 |
2021-04-05 22:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:12 | ------------------------------------ 2021-04-05 22:58:12 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-95df4923-c4e5-4989-a783-3fab3d824393", "pubsub#title": "Node 95df4923-c4e5-4989-a783-3fab3d824393" } 2021-04-05 22:58:12 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:13 | [Mutex] waiting for: [received:nodes:85443196-3aed-4293-98d6-186519bfa407:localhost] 2021-04-05 22:58:13 | [Mutex] received everything. 2021-04-05 22:58:13 | [Mutex] isItemNotified: received:node:85443196-3aed-4293-98d6-186519bfa407:localhost:node-95df4923-c4e5-4989-a783-3fab3d824393:Node 95df4923-c4e5-4989-a783-3fab3d824393 :: true |
deleteNodes | 1.029s |
2021-04-05 22:58:18 |
2021-04-05 22:58:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:18 | ------------------------------------ 2021-04-05 22:58:18 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-95df4923-c4e5-4989-a783-3fab3d824393" } 2021-04-05 22:58:18 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:19 | [Mutex] waiting for: [received:nodes:af228fa8-fa22-44a4-951c-7592abcc04b3:localhost] 2021-04-05 22:58:19 | [Mutex] received everything. 2021-04-05 22:58:19 | [Mutex] isItemNotified: received:node:af228fa8-fa22-44a4-951c-7592abcc04b3:localhost:node-95df4923-c4e5-4989-a783-3fab3d824393:Node 95df4923-c4e5-4989-a783-3fab3d824393 :: false |
deleteSubnodes | 1.036s |
2021-04-05 22:58:17 |
2021-04-05 22:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:17 | ------------------------------------ 2021-04-05 22:58:17 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb" } 2021-04-05 22:58:17 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:18 | [Mutex] waiting for: [received:nodes:e6463f68-ed89-4dba-b42e-6f45f4e89095:localhost] 2021-04-05 22:58:18 | [Mutex] waiting for: [received:nodes:e6463f68-ed89-4dba-b42e-6f45f4e89095:localhost] 2021-04-05 22:58:18 | [Mutex] received everything. 2021-04-05 22:58:18 | [Mutex] isItemNotified: received:node:e6463f68-ed89-4dba-b42e-6f45f4e89095:localhost:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:Node 4fb52158-d611-4ced-b3e8-9f2ad42128fb :: false 2021-04-05 22:58:18 | [Mutex] waiting for: [received:nodes:170dd6bb-09ae-423c-ba2f-46cb6e10fe4a:localhost] 2021-04-05 22:58:18 | [Mutex] received everything. 2021-04-05 22:58:18 | [Mutex] isItemNotified: received:node:170dd6bb-09ae-423c-ba2f-46cb6e10fe4a:localhost:node-4fb52158-d611-4ced-b3e8-9f2ad42128fb:Node 4fb52158-d611-4ced-b3e8-9f2ad42128fb :: false |
publishItemsToNodes | 0.070s |
2021-04-05 22:58:15 |
2021-04-05 22:58:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:15 | ------------------------------------ 2021-04-05 22:58:15 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "entry": "<test>item-494e8269-d2b8-49d8-9114-93e8fc04a0cd</test>", "item-id": "item-494e8269-d2b8-49d8-9114-93e8fc04a0cd" } 2021-04-05 22:58:16 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-494e8269-d2b8-49d8-9114-93e8fc04a0cd" } 2021-04-05 22:58:16 | [Mutex] waiting for: [published:item:notifieditem-494e8269-d2b8-49d8-9114-93e8fc04a0cd:admin@test-domain.com] 2021-04-05 22:58:16 | [Mutex] received everything. 2021-04-05 22:58:16 | [Mutex] isItemNotified: published:item:notifieditem-494e8269-d2b8-49d8-9114-93e8fc04a0cd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.132s |
2021-04-05 22:58:16 |
2021-04-05 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:16 | ------------------------------------ 2021-04-05 22:58:16 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "item-id": "item-494e8269-d2b8-49d8-9114-93e8fc04a0cd" } 2021-04-05 22:58:16 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-494e8269-d2b8-49d8-9114-93e8fc04a0cd" } 2021-04-05 22:58:16 | [Mutex] waiting for: [retracted:item:notifieditem-494e8269-d2b8-49d8-9114-93e8fc04a0cd:admin@test-domain.com] 2021-04-05 22:58:16 | [Mutex] received everything. 2021-04-05 22:58:16 | [Mutex] isItemNotified: retracted:item:notifieditem-494e8269-d2b8-49d8-9114-93e8fc04a0cd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.025s |
2021-04-05 22:58:16 |
2021-04-05 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:16 | ------------------------------------ 2021-04-05 22:58:16 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "item-id": "item-494e8269-d2b8-49d8-9114-93e8fc04a0cd" } 2021-04-05 22:58:16 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "item-id": "item-494e8269-d2b8-49d8-9114-93e8fc04a0cd", "item": [ "<item id=\"item-494e8269-d2b8-49d8-9114-93e8fc04a0cd\"><test>item-494e8269-d2b8-49d8-9114-93e8fc04a0cd</test></item>" ] } 2021-04-05 22:58:16 | [Mutex] notify: [retrieved:item:item-494e8269-d2b8-49d8-9114-93e8fc04a0cd:payload-matches:true:localhost] 2021-04-05 22:58:16 | [Mutex] received everything. 2021-04-05 22:58:16 | [Mutex] isItemNotified: retrieved:item:item-494e8269-d2b8-49d8-9114-93e8fc04a0cd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.074s |
2021-04-05 22:58:16 |
2021-04-05 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:16 | ------------------------------------ 2021-04-05 22:58:16 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-05 22:58:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-95df4923-c4e5-4989-a783-3fab3d824393", "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-04-05 22:58:16 |
2021-04-05 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:16 | ------------------------------------ 2021-04-05 22:58:16 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-4fb52158-d611-4ced-b3e8-9f2ad42128fb)" } 2021-04-05 22:58:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.016s |
2021-04-05 22:58:14 |
2021-04-05 22:58:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:14 | ------------------------------------ 2021-04-05 22:58:14 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "jids": [ "admin@test-domain.com" ] } 2021-04-05 22:58:14 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.025s |
2021-04-05 22:58:16 |
2021-04-05 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:16 | ------------------------------------ 2021-04-05 22:58:16 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-4fb52158-d611-4ced-b3e8-9f2ad42128fb", "jids": [ "admin@test-domain.com" ] } 2021-04-05 22:58:16 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |