Suites ยท Log Output
Test duration : 8.770s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.089s |
2022-06-30 22:45:37 |
2022-06-30 22:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:37 | ------------------------------------ 2022-06-30 22:45:37 | [Mutex] waiting for: [configured:node:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:node-c4d779b7-13e5-4e5c-8421-90269addf200] 2022-06-30 22:45:37 | [Mutex] received everything. 2022-06-30 22:45:37 | [Mutex] isItemNotified: configured:node:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:node-c4d779b7-13e5-4e5c-8421-90269addf200 :: true 2022-06-30 22:45:38 | [Mutex] waiting for: [received:nodes:fc269dcf-aa1d-4162-a936-5474923d5d0f:localhost] 2022-06-30 22:45:38 | [Mutex] received everything. 2022-06-30 22:45:38 | [Mutex] isItemNotified: received:node:fc269dcf-aa1d-4162-a936-5474923d5d0f:localhost:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:Node 47dda68e-65a4-4f13-85b8-c60c0a7075bf :: true 2022-06-30 22:45:38 | [Mutex] waiting for: [received:nodes:dde57a37-036f-46bf-b26c-a5b78d1d3e38:localhost] 2022-06-30 22:45:38 | [Mutex] waiting for: [received:nodes:dde57a37-036f-46bf-b26c-a5b78d1d3e38:localhost] 2022-06-30 22:45:38 | [Mutex] received everything. 2022-06-30 22:45:38 | [Mutex] isItemNotified: received:node:dde57a37-036f-46bf-b26c-a5b78d1d3e38:localhost:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:Node 47dda68e-65a4-4f13-85b8-c60c0a7075bf :: false |
createNodes | 1.604s |
2022-06-30 22:45:34 |
2022-06-30 22:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:34 | ------------------------------------ 2022-06-30 22:45:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "pubsub#title": "Node 47dda68e-65a4-4f13-85b8-c60c0a7075bf" } 2022-06-30 22:45:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-30 22:45:36 | [Mutex] waiting for: [received:nodes:6028a890-2ab4-4056-b93e-a3bed1367ab0:localhost] 2022-06-30 22:45:36 | [Mutex] waiting for: [received:nodes:6028a890-2ab4-4056-b93e-a3bed1367ab0:localhost] 2022-06-30 22:45:36 | [Mutex] waiting for: [received:nodes:6028a890-2ab4-4056-b93e-a3bed1367ab0:localhost] 2022-06-30 22:45:36 | [Mutex] received everything. 2022-06-30 22:45:36 | [Mutex] isItemNotified: received:node:6028a890-2ab4-4056-b93e-a3bed1367ab0:localhost:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:Node 47dda68e-65a4-4f13-85b8-c60c0a7075bf :: true |
createSubnodes | 1.030s |
2022-06-30 22:45:36 |
2022-06-30 22:45:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:36 | ------------------------------------ 2022-06-30 22:45:36 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-c4d779b7-13e5-4e5c-8421-90269addf200", "pubsub#title": "Node c4d779b7-13e5-4e5c-8421-90269addf200" } 2022-06-30 22:45:36 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-30 22:45:37 | [Mutex] waiting for: [received:nodes:53505372-5b01-41aa-9a3b-b63b53a6f9fe:localhost] 2022-06-30 22:45:37 | [Mutex] waiting for: [received:nodes:53505372-5b01-41aa-9a3b-b63b53a6f9fe:localhost] 2022-06-30 22:45:37 | [Mutex] received everything. 2022-06-30 22:45:37 | [Mutex] isItemNotified: received:node:53505372-5b01-41aa-9a3b-b63b53a6f9fe:localhost:node-c4d779b7-13e5-4e5c-8421-90269addf200:Node c4d779b7-13e5-4e5c-8421-90269addf200 :: true |
deleteNodes | 1.030s |
2022-06-30 22:45:41 |
2022-06-30 22:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:41 | ------------------------------------ 2022-06-30 22:45:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c4d779b7-13e5-4e5c-8421-90269addf200" } 2022-06-30 22:45:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-30 22:45:42 | [Mutex] waiting for: [received:nodes:6f96e26c-abd0-4349-b7e2-9c19cdc6f688:localhost] 2022-06-30 22:45:42 | [Mutex] received everything. 2022-06-30 22:45:42 | [Mutex] isItemNotified: received:node:6f96e26c-abd0-4349-b7e2-9c19cdc6f688:localhost:node-c4d779b7-13e5-4e5c-8421-90269addf200:Node c4d779b7-13e5-4e5c-8421-90269addf200 :: false |
deleteSubnodes | 1.034s |
2022-06-30 22:45:40 |
2022-06-30 22:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:40 | ------------------------------------ 2022-06-30 22:45:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf" } 2022-06-30 22:45:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-30 22:45:41 | [Mutex] waiting for: [received:nodes:005c4c0e-ed53-4399-8ad6-63ab39701361:localhost] 2022-06-30 22:45:41 | [Mutex] waiting for: [received:nodes:005c4c0e-ed53-4399-8ad6-63ab39701361:localhost] 2022-06-30 22:45:41 | [Mutex] received everything. 2022-06-30 22:45:41 | [Mutex] isItemNotified: received:node:005c4c0e-ed53-4399-8ad6-63ab39701361:localhost:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:Node 47dda68e-65a4-4f13-85b8-c60c0a7075bf :: false 2022-06-30 22:45:41 | [Mutex] waiting for: [received:nodes:a13f0f17-b7cb-41bf-9ea1-6b12911d53be:localhost] 2022-06-30 22:45:41 | [Mutex] received everything. 2022-06-30 22:45:41 | [Mutex] isItemNotified: received:node:a13f0f17-b7cb-41bf-9ea1-6b12911d53be:localhost:node-47dda68e-65a4-4f13-85b8-c60c0a7075bf:Node 47dda68e-65a4-4f13-85b8-c60c0a7075bf :: false |
publishItemsToNodes | 0.043s |
2022-06-30 22:45:39 |
2022-06-30 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:39 | ------------------------------------ 2022-06-30 22:45:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "entry": "<test>item-1b4785ab-b609-4366-86e4-d47143a56e46</test>", "item-id": "item-1b4785ab-b609-4366-86e4-d47143a56e46" } 2022-06-30 22:45:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-1b4785ab-b609-4366-86e4-d47143a56e46" } 2022-06-30 22:45:39 | [Mutex] waiting for: [published:item:notifieditem-1b4785ab-b609-4366-86e4-d47143a56e46:admin@test-domain.com] 2022-06-30 22:45:39 | [Mutex] received everything. 2022-06-30 22:45:39 | [Mutex] isItemNotified: published:item:notifieditem-1b4785ab-b609-4366-86e4-d47143a56e46:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2022-06-30 22:45:39 |
2022-06-30 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:39 | ------------------------------------ 2022-06-30 22:45:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "item-id": "item-1b4785ab-b609-4366-86e4-d47143a56e46" } 2022-06-30 22:45:39 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-1b4785ab-b609-4366-86e4-d47143a56e46" } 2022-06-30 22:45:39 | [Mutex] received everything. 2022-06-30 22:45:39 | [Mutex] isItemNotified: retracted:item:notifieditem-1b4785ab-b609-4366-86e4-d47143a56e46:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.097s |
2022-06-30 22:45:39 |
2022-06-30 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:39 | ------------------------------------ 2022-06-30 22:45:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "item-id": "item-1b4785ab-b609-4366-86e4-d47143a56e46" } 2022-06-30 22:45:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "item-id": "item-1b4785ab-b609-4366-86e4-d47143a56e46", "item": [ "<item id=\"item-1b4785ab-b609-4366-86e4-d47143a56e46\"><test>item-1b4785ab-b609-4366-86e4-d47143a56e46</test></item>" ] } 2022-06-30 22:45:39 | [Mutex] notify: [retrieved:item:item-1b4785ab-b609-4366-86e4-d47143a56e46:payload-matches:true:localhost] 2022-06-30 22:45:39 | [Mutex] received everything. 2022-06-30 22:45:39 | [Mutex] isItemNotified: retrieved:item:item-1b4785ab-b609-4366-86e4-d47143a56e46:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-06-30 22:45:39 |
2022-06-30 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:39 | ------------------------------------ 2022-06-30 22:45:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-06-30 22:45:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-c4d779b7-13e5-4e5c-8421-90269addf200", "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "test" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-06-30 22:45:39 |
2022-06-30 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:39 | ------------------------------------ 2022-06-30 22:45:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-47dda68e-65a4-4f13-85b8-c60c0a7075bf)" } 2022-06-30 22:45:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2022-06-30 22:45:38 |
2022-06-30 22:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:38 | ------------------------------------ 2022-06-30 22:45:38 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "jids": [ "admin@test-domain.com" ] } 2022-06-30 22:45:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.079s |
2022-06-30 22:45:39 |
2022-06-30 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-30 22:45:39 | ------------------------------------ 2022-06-30 22:45:39 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-47dda68e-65a4-4f13-85b8-c60c0a7075bf", "jids": [ "admin@test-domain.com" ] } 2022-06-30 22:45:39 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |