Test duration : 8.872s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.128s |
2020-09-05 00:06:27 |
2020-09-05 00:06:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:27 | ------------------------------------ 2020-09-05 00:06:27 | [Mutex] waiting for: [configured:node:node-d404e5e5-970a-460f-84e2-ed8d4eece201:node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54] 2020-09-05 00:06:27 | [Mutex] received everything. 2020-09-05 00:06:27 | [Mutex] isItemNotified: configured:node:node-d404e5e5-970a-460f-84e2-ed8d4eece201:node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54 :: true 2020-09-05 00:06:28 | [Mutex] waiting for: [received:nodes:5252da53-1f60-4162-b40e-57ee2e898147:localhost] 2020-09-05 00:06:28 | [Mutex] received everything. 2020-09-05 00:06:28 | [Mutex] isItemNotified: received:node:5252da53-1f60-4162-b40e-57ee2e898147:localhost:node-d404e5e5-970a-460f-84e2-ed8d4eece201:Node d404e5e5-970a-460f-84e2-ed8d4eece201 :: true 2020-09-05 00:06:28 | [Mutex] waiting for: [received:nodes:97ab70c5-b2d0-4a47-a295-5a46d8c713f2:localhost] 2020-09-05 00:06:28 | [Mutex] received everything. 2020-09-05 00:06:28 | [Mutex] isItemNotified: received:node:97ab70c5-b2d0-4a47-a295-5a46d8c713f2:localhost:node-d404e5e5-970a-460f-84e2-ed8d4eece201:Node d404e5e5-970a-460f-84e2-ed8d4eece201 :: false |
createNodes | 1.573s |
2020-09-05 00:06:24 |
2020-09-05 00:06:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:24 | ------------------------------------ 2020-09-05 00:06:25 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "pubsub#title": "Node d404e5e5-970a-460f-84e2-ed8d4eece201" } 2020-09-05 00:06:25 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-05 00:06:26 | [Mutex] waiting for: [received:nodes:5a78acf5-6d3c-45a0-9a71-4ecfc81de8a1:localhost] 2020-09-05 00:06:26 | [Mutex] received everything. 2020-09-05 00:06:26 | [Mutex] isItemNotified: received:node:5a78acf5-6d3c-45a0-9a71-4ecfc81de8a1:localhost:node-d404e5e5-970a-460f-84e2-ed8d4eece201:Node d404e5e5-970a-460f-84e2-ed8d4eece201 :: true |
createSubnodes | 1.024s |
2020-09-05 00:06:26 |
2020-09-05 00:06:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:26 | ------------------------------------ 2020-09-05 00:06:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54", "pubsub#title": "Node 12908f58-c1e1-4bf3-9b3a-933fab0a7c54" } 2020-09-05 00:06:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-05 00:06:27 | [Mutex] waiting for: [received:nodes:6d4d658a-e22f-4871-ad09-02851d3dc1b2:localhost] 2020-09-05 00:06:27 | [Mutex] received everything. 2020-09-05 00:06:27 | [Mutex] isItemNotified: received:node:6d4d658a-e22f-4871-ad09-02851d3dc1b2:localhost:node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54:Node 12908f58-c1e1-4bf3-9b3a-933fab0a7c54 :: true |
deleteNodes | 1.023s |
2020-09-05 00:06:31 |
2020-09-05 00:06:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:31 | ------------------------------------ 2020-09-05 00:06:31 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54" } 2020-09-05 00:06:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-05 00:06:33 | [Mutex] waiting for: [received:nodes:8f7c384f-db43-406f-b1f3-a3a339831778:localhost] 2020-09-05 00:06:33 | [Mutex] waiting for: [received:nodes:8f7c384f-db43-406f-b1f3-a3a339831778:localhost] 2020-09-05 00:06:33 | [Mutex] received everything. 2020-09-05 00:06:33 | [Mutex] isItemNotified: received:node:8f7c384f-db43-406f-b1f3-a3a339831778:localhost:node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54:Node 12908f58-c1e1-4bf3-9b3a-933fab0a7c54 :: false |
deleteSubnodes | 1.026s |
2020-09-05 00:06:30 |
2020-09-05 00:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:30 | ------------------------------------ 2020-09-05 00:06:30 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201" } 2020-09-05 00:06:30 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-05 00:06:31 | [Mutex] waiting for: [received:nodes:2099c02c-a9cb-4bee-8ba1-3ca6757d2493:localhost] 2020-09-05 00:06:31 | [Mutex] waiting for: [received:nodes:2099c02c-a9cb-4bee-8ba1-3ca6757d2493:localhost] 2020-09-05 00:06:31 | [Mutex] received everything. 2020-09-05 00:06:31 | [Mutex] isItemNotified: received:node:2099c02c-a9cb-4bee-8ba1-3ca6757d2493:localhost:node-d404e5e5-970a-460f-84e2-ed8d4eece201:Node d404e5e5-970a-460f-84e2-ed8d4eece201 :: false 2020-09-05 00:06:31 | [Mutex] waiting for: [received:nodes:03c94a9d-2d9b-4fa5-974a-bcd2ad3930de:localhost] 2020-09-05 00:06:31 | [Mutex] received everything. 2020-09-05 00:06:31 | [Mutex] isItemNotified: received:node:03c94a9d-2d9b-4fa5-974a-bcd2ad3930de:localhost:node-d404e5e5-970a-460f-84e2-ed8d4eece201:Node d404e5e5-970a-460f-84e2-ed8d4eece201 :: false |
publishItemsToNodes | 0.044s |
2020-09-05 00:06:29 |
2020-09-05 00:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:29 | ------------------------------------ 2020-09-05 00:06:29 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "entry": "<test>item-f17470af-dae0-4855-b6dd-1cccf024e2fd</test>", "item-id": "item-f17470af-dae0-4855-b6dd-1cccf024e2fd" } 2020-09-05 00:06:29 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f17470af-dae0-4855-b6dd-1cccf024e2fd" } 2020-09-05 00:06:29 | [Mutex] waiting for: [published:item:notifieditem-f17470af-dae0-4855-b6dd-1cccf024e2fd:admin@test-domain.com] 2020-09-05 00:06:29 | [Mutex] received everything. 2020-09-05 00:06:29 | [Mutex] isItemNotified: published:item:notifieditem-f17470af-dae0-4855-b6dd-1cccf024e2fd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.098s |
2020-09-05 00:06:29 |
2020-09-05 00:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:29 | ------------------------------------ 2020-09-05 00:06:29 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "item-id": "item-f17470af-dae0-4855-b6dd-1cccf024e2fd" } 2020-09-05 00:06:29 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f17470af-dae0-4855-b6dd-1cccf024e2fd" } 2020-09-05 00:06:29 | [Mutex] received everything. 2020-09-05 00:06:29 | [Mutex] isItemNotified: retracted:item:notifieditem-f17470af-dae0-4855-b6dd-1cccf024e2fd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.071s |
2020-09-05 00:06:29 |
2020-09-05 00:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:29 | ------------------------------------ 2020-09-05 00:06:29 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "item-id": "item-f17470af-dae0-4855-b6dd-1cccf024e2fd" } 2020-09-05 00:06:29 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "item-id": "item-f17470af-dae0-4855-b6dd-1cccf024e2fd", "item": [ "<item id=\"item-f17470af-dae0-4855-b6dd-1cccf024e2fd\"><test>item-f17470af-dae0-4855-b6dd-1cccf024e2fd</test></item>" ] } 2020-09-05 00:06:29 | [Mutex] notify: [retrieved:item:item-f17470af-dae0-4855-b6dd-1cccf024e2fd:payload-matches:true:localhost] 2020-09-05 00:06:29 | [Mutex] received everything. 2020-09-05 00:06:29 | [Mutex] isItemNotified: retrieved:item:item-f17470af-dae0-4855-b6dd-1cccf024e2fd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2020-09-05 00:06:29 |
2020-09-05 00:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:29 | ------------------------------------ 2020-09-05 00:06:29 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-05 00:06:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-12908f58-c1e1-4bf3-9b3a-933fab0a7c54", "node-d404e5e5-970a-460f-84e2-ed8d4eece201" ] } |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-09-05 00:06:29 |
2020-09-05 00:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:29 | ------------------------------------ 2020-09-05 00:06:29 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d404e5e5-970a-460f-84e2-ed8d4eece201)" } 2020-09-05 00:06:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2020-09-05 00:06:28 |
2020-09-05 00:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:28 | ------------------------------------ 2020-09-05 00:06:28 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "jids": [ "admin@test-domain.com" ] } 2020-09-05 00:06:28 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.066s |
2020-09-05 00:06:29 |
2020-09-05 00:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-05 00:06:29 | ------------------------------------ 2020-09-05 00:06:29 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d404e5e5-970a-460f-84e2-ed8d4eece201", "jids": [ "admin@test-domain.com" ] } 2020-09-05 00:06:29 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |