Test duration : 8.697s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.157s |
2023-07-31 22:31:23 |
2023-07-31 22:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:23 | ------------------------------------ 2023-07-31 22:31:23 | [Mutex] waiting for: [configured:node:node-dfa33300-ef29-4894-81e4-623f757b4c3b:node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f] 2023-07-31 22:31:23 | [Mutex] received everything. 2023-07-31 22:31:23 | [Mutex] isItemNotified: configured:node:node-dfa33300-ef29-4894-81e4-623f757b4c3b:node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f :: true 2023-07-31 22:31:24 | [Mutex] waiting for: [received:nodes:da9582d0-0d9d-48c6-8e96-19b565c4b262:localhost] 2023-07-31 22:31:24 | [Mutex] received everything. 2023-07-31 22:31:24 | [Mutex] isItemNotified: received:node:da9582d0-0d9d-48c6-8e96-19b565c4b262:localhost:node-dfa33300-ef29-4894-81e4-623f757b4c3b:Node dfa33300-ef29-4894-81e4-623f757b4c3b :: true 2023-07-31 22:31:24 | [Mutex] waiting for: [received:nodes:f42faf96-558b-4c98-a2e9-971a161cf3c7:localhost] 2023-07-31 22:31:24 | [Mutex] waiting for: [received:nodes:f42faf96-558b-4c98-a2e9-971a161cf3c7:localhost] 2023-07-31 22:31:24 | [Mutex] waiting for: [received:nodes:f42faf96-558b-4c98-a2e9-971a161cf3c7:localhost] 2023-07-31 22:31:24 | [Mutex] received everything. 2023-07-31 22:31:24 | [Mutex] isItemNotified: received:node:f42faf96-558b-4c98-a2e9-971a161cf3c7:localhost:node-dfa33300-ef29-4894-81e4-623f757b4c3b:Node dfa33300-ef29-4894-81e4-623f757b4c3b :: false |
createNodes | 1.624s |
2023-07-31 22:31:21 |
2023-07-31 22:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:21 | ------------------------------------ 2023-07-31 22:31:21 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "pubsub#title": "Node dfa33300-ef29-4894-81e4-623f757b4c3b" } 2023-07-31 22:31:21 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:7b2e09e0-b519-4b2e-9594-7211847ff671:localhost] 2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:7b2e09e0-b519-4b2e-9594-7211847ff671:localhost] 2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:7b2e09e0-b519-4b2e-9594-7211847ff671:localhost] 2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:7b2e09e0-b519-4b2e-9594-7211847ff671:localhost] 2023-07-31 22:31:22 | [Mutex] received everything. 2023-07-31 22:31:22 | [Mutex] isItemNotified: received:node:7b2e09e0-b519-4b2e-9594-7211847ff671:localhost:node-dfa33300-ef29-4894-81e4-623f757b4c3b:Node dfa33300-ef29-4894-81e4-623f757b4c3b :: true |
createSubnodes | 1.029s |
2023-07-31 22:31:22 |
2023-07-31 22:31:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:22 | ------------------------------------ 2023-07-31 22:31:22 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f", "pubsub#title": "Node ebb460bd-d8d9-4e2d-abe4-852a83fbe76f" } 2023-07-31 22:31:22 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-31 22:31:23 | [Mutex] waiting for: [received:nodes:36b975ce-4a6f-4ecf-ba21-9ef2510eca60:localhost] 2023-07-31 22:31:23 | [Mutex] waiting for: [received:nodes:36b975ce-4a6f-4ecf-ba21-9ef2510eca60:localhost] 2023-07-31 22:31:23 | [Mutex] waiting for: [received:nodes:36b975ce-4a6f-4ecf-ba21-9ef2510eca60:localhost] 2023-07-31 22:31:23 | [Mutex] waiting for: [received:nodes:36b975ce-4a6f-4ecf-ba21-9ef2510eca60:localhost] 2023-07-31 22:31:23 | [Mutex] received everything. 2023-07-31 22:31:23 | [Mutex] isItemNotified: received:node:36b975ce-4a6f-4ecf-ba21-9ef2510eca60:localhost:node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f:Node ebb460bd-d8d9-4e2d-abe4-852a83fbe76f :: true |
deleteNodes | 1.020s |
2023-07-31 22:31:28 |
2023-07-31 22:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:28 | ------------------------------------ 2023-07-31 22:31:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f" } 2023-07-31 22:31:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-31 22:31:29 | [Mutex] waiting for: [received:nodes:4f2678c3-07f8-4037-8e15-7a48e34dd791:localhost] 2023-07-31 22:31:29 | [Mutex] waiting for: [received:nodes:4f2678c3-07f8-4037-8e15-7a48e34dd791:localhost] 2023-07-31 22:31:29 | [Mutex] waiting for: [received:nodes:4f2678c3-07f8-4037-8e15-7a48e34dd791:localhost] 2023-07-31 22:31:29 | [Mutex] received everything. 2023-07-31 22:31:29 | [Mutex] isItemNotified: received:node:4f2678c3-07f8-4037-8e15-7a48e34dd791:localhost:node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f:Node ebb460bd-d8d9-4e2d-abe4-852a83fbe76f :: false |
deleteSubnodes | 1.026s |
2023-07-31 22:31:27 |
2023-07-31 22:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:27 | ------------------------------------ 2023-07-31 22:31:27 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b" } 2023-07-31 22:31:27 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-31 22:31:28 | [Mutex] waiting for: [received:nodes:34af4198-561f-4e83-b6aa-9da2d04882d6:localhost] 2023-07-31 22:31:28 | [Mutex] waiting for: [received:nodes:34af4198-561f-4e83-b6aa-9da2d04882d6:localhost] 2023-07-31 22:31:28 | [Mutex] waiting for: [received:nodes:34af4198-561f-4e83-b6aa-9da2d04882d6:localhost] 2023-07-31 22:31:28 | [Mutex] waiting for: [received:nodes:34af4198-561f-4e83-b6aa-9da2d04882d6:localhost] 2023-07-31 22:31:28 | [Mutex] received everything. 2023-07-31 22:31:28 | [Mutex] isItemNotified: received:node:34af4198-561f-4e83-b6aa-9da2d04882d6:localhost:node-dfa33300-ef29-4894-81e4-623f757b4c3b:Node dfa33300-ef29-4894-81e4-623f757b4c3b :: false 2023-07-31 22:31:28 | [Mutex] waiting for: [received:nodes:7cb22a3c-d8b2-4278-aadc-0694a0413edd:localhost] 2023-07-31 22:31:28 | [Mutex] received everything. 2023-07-31 22:31:28 | [Mutex] isItemNotified: received:node:7cb22a3c-d8b2-4278-aadc-0694a0413edd:localhost:node-dfa33300-ef29-4894-81e4-623f757b4c3b:Node dfa33300-ef29-4894-81e4-623f757b4c3b :: false |
publishItemsToNodes | 0.087s |
2023-07-31 22:31:26 |
2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:26 | ------------------------------------ 2023-07-31 22:31:26 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "entry": "<test>item-9472d59c-2c09-4a92-af17-b3af7ac63493</test>", "item-id": "item-9472d59c-2c09-4a92-af17-b3af7ac63493" } 2023-07-31 22:31:26 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-9472d59c-2c09-4a92-af17-b3af7ac63493" } 2023-07-31 22:31:26 | [Mutex] received everything. 2023-07-31 22:31:26 | [Mutex] isItemNotified: published:item:notifieditem-9472d59c-2c09-4a92-af17-b3af7ac63493:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2023-07-31 22:31:26 |
2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:26 | ------------------------------------ 2023-07-31 22:31:26 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "item-id": "item-9472d59c-2c09-4a92-af17-b3af7ac63493" } 2023-07-31 22:31:26 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-9472d59c-2c09-4a92-af17-b3af7ac63493" } 2023-07-31 22:31:26 | [Mutex] received everything. 2023-07-31 22:31:26 | [Mutex] isItemNotified: retracted:item:notifieditem-9472d59c-2c09-4a92-af17-b3af7ac63493:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.051s |
2023-07-31 22:31:26 |
2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:26 | ------------------------------------ 2023-07-31 22:31:26 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "item-id": "item-9472d59c-2c09-4a92-af17-b3af7ac63493" } 2023-07-31 22:31:26 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "item-id": "item-9472d59c-2c09-4a92-af17-b3af7ac63493", "item": [ "<item id=\"item-9472d59c-2c09-4a92-af17-b3af7ac63493\"><test>item-9472d59c-2c09-4a92-af17-b3af7ac63493</test></item>" ] } 2023-07-31 22:31:26 | [Mutex] notify: [retrieved:item:item-9472d59c-2c09-4a92-af17-b3af7ac63493:payload-matches:true:localhost] 2023-07-31 22:31:26 | [Mutex] received everything. 2023-07-31 22:31:26 | [Mutex] isItemNotified: retrieved:item:item-9472d59c-2c09-4a92-af17-b3af7ac63493:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-07-31 22:31:26 |
2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:26 | ------------------------------------ 2023-07-31 22:31:26 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-31 22:31:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "node-ebb460bd-d8d9-4e2d-abe4-852a83fbe76f" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2023-07-31 22:31:26 |
2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:26 | ------------------------------------ 2023-07-31 22:31:26 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-dfa33300-ef29-4894-81e4-623f757b4c3b)" } 2023-07-31 22:31:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2023-07-31 22:31:24 |
2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:24 | ------------------------------------ 2023-07-31 22:31:24 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "jids": [ "admin@test-domain.com" ] } 2023-07-31 22:31:25 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2023-07-31 22:31:26 |
2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-31 22:31:26 | ------------------------------------ 2023-07-31 22:31:26 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-dfa33300-ef29-4894-81e4-623f757b4c3b", "jids": [ "admin@test-domain.com" ] } 2023-07-31 22:31:26 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |