Test duration : 9.398s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.145s |
2021-04-05 22:58:33 |
2021-04-05 22:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:33 | ------------------------------------ 2021-04-05 22:58:33 | [Mutex] waiting for: [configured:node:node-c2f7585f-004e-435a-8d81-5e49d90ae086:node-aee83e3d-90a4-44b2-a659-66585d6d1df3] 2021-04-05 22:58:33 | [Mutex] received everything. 2021-04-05 22:58:33 | [Mutex] isItemNotified: configured:node:node-c2f7585f-004e-435a-8d81-5e49d90ae086:node-aee83e3d-90a4-44b2-a659-66585d6d1df3 :: true 2021-04-05 22:58:34 | [Mutex] waiting for: [received:nodes:9ed2643d-0351-4164-ab93-924beaaea678:localhost] 2021-04-05 22:58:34 | [Mutex] received everything. 2021-04-05 22:58:34 | [Mutex] isItemNotified: received:node:9ed2643d-0351-4164-ab93-924beaaea678:localhost:node-c2f7585f-004e-435a-8d81-5e49d90ae086:Node c2f7585f-004e-435a-8d81-5e49d90ae086 :: true 2021-04-05 22:58:34 | [Mutex] waiting for: [received:nodes:b5ec2f00-285f-496f-833b-26b3e45f3f11:localhost] 2021-04-05 22:58:34 | [Mutex] waiting for: [received:nodes:b5ec2f00-285f-496f-833b-26b3e45f3f11:localhost] 2021-04-05 22:58:34 | [Mutex] received everything. 2021-04-05 22:58:34 | [Mutex] isItemNotified: received:node:b5ec2f00-285f-496f-833b-26b3e45f3f11:localhost:node-c2f7585f-004e-435a-8d81-5e49d90ae086:Node c2f7585f-004e-435a-8d81-5e49d90ae086 :: false |
createNodes | 1.785s |
2021-04-05 22:58:30 |
2021-04-05 22:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:30 | ------------------------------------ 2021-04-05 22:58:31 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "pubsub#title": "Node c2f7585f-004e-435a-8d81-5e49d90ae086" } 2021-04-05 22:58:31 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:32 | [Mutex] waiting for: [received:nodes:7afda46f-3a35-4351-bc4b-123b331e097f:localhost] 2021-04-05 22:58:32 | [Mutex] received everything. 2021-04-05 22:58:32 | [Mutex] isItemNotified: received:node:7afda46f-3a35-4351-bc4b-123b331e097f:localhost:node-c2f7585f-004e-435a-8d81-5e49d90ae086:Node c2f7585f-004e-435a-8d81-5e49d90ae086 :: true |
createSubnodes | 1.028s |
2021-04-05 22:58:32 |
2021-04-05 22:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:32 | ------------------------------------ 2021-04-05 22:58:32 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-aee83e3d-90a4-44b2-a659-66585d6d1df3", "pubsub#title": "Node aee83e3d-90a4-44b2-a659-66585d6d1df3" } 2021-04-05 22:58:32 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:33 | [Mutex] waiting for: [received:nodes:954530b5-81e2-43aa-9ffc-52abbf5dab4d:localhost] 2021-04-05 22:58:33 | [Mutex] received everything. 2021-04-05 22:58:33 | [Mutex] isItemNotified: received:node:954530b5-81e2-43aa-9ffc-52abbf5dab4d:localhost:node-aee83e3d-90a4-44b2-a659-66585d6d1df3:Node aee83e3d-90a4-44b2-a659-66585d6d1df3 :: true |
deleteNodes | 1.028s |
2021-04-05 22:58:37 |
2021-04-05 22:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:37 | ------------------------------------ 2021-04-05 22:58:37 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-aee83e3d-90a4-44b2-a659-66585d6d1df3" } 2021-04-05 22:58:37 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:38 | [Mutex] waiting for: [received:nodes:17768d95-007d-4c47-ab8f-4649714c2d59:localhost] 2021-04-05 22:58:38 | [Mutex] received everything. 2021-04-05 22:58:38 | [Mutex] isItemNotified: received:node:17768d95-007d-4c47-ab8f-4649714c2d59:localhost:node-aee83e3d-90a4-44b2-a659-66585d6d1df3:Node aee83e3d-90a4-44b2-a659-66585d6d1df3 :: false |
deleteSubnodes | 1.034s |
2021-04-05 22:58:36 |
2021-04-05 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:36 | ------------------------------------ 2021-04-05 22:58:36 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086" } 2021-04-05 22:58:36 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:58:37 | [Mutex] waiting for: [received:nodes:33ddfaeb-620a-4ff5-a574-665afd6be79f:localhost] 2021-04-05 22:58:37 | [Mutex] waiting for: [received:nodes:33ddfaeb-620a-4ff5-a574-665afd6be79f:localhost] 2021-04-05 22:58:37 | [Mutex] waiting for: [received:nodes:33ddfaeb-620a-4ff5-a574-665afd6be79f:localhost] 2021-04-05 22:58:37 | [Mutex] waiting for: [received:nodes:33ddfaeb-620a-4ff5-a574-665afd6be79f:localhost] 2021-04-05 22:58:37 | [Mutex] received everything. 2021-04-05 22:58:37 | [Mutex] isItemNotified: received:node:33ddfaeb-620a-4ff5-a574-665afd6be79f:localhost:node-c2f7585f-004e-435a-8d81-5e49d90ae086:Node c2f7585f-004e-435a-8d81-5e49d90ae086 :: false 2021-04-05 22:58:37 | [Mutex] waiting for: [received:nodes:518f1977-5238-4d4f-b069-558f2f4325fd:localhost] 2021-04-05 22:58:37 | [Mutex] received everything. 2021-04-05 22:58:37 | [Mutex] isItemNotified: received:node:518f1977-5238-4d4f-b069-558f2f4325fd:localhost:node-c2f7585f-004e-435a-8d81-5e49d90ae086:Node c2f7585f-004e-435a-8d81-5e49d90ae086 :: false |
publishItemsToNodes | 0.073s |
2021-04-05 22:58:35 |
2021-04-05 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:35 | ------------------------------------ 2021-04-05 22:58:35 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "entry": "<test>item-224f0311-524a-48f1-9f74-08d878b3e843</test>", "item-id": "item-224f0311-524a-48f1-9f74-08d878b3e843" } 2021-04-05 22:58:35 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-224f0311-524a-48f1-9f74-08d878b3e843" } 2021-04-05 22:58:35 | [Mutex] waiting for: [published:item:notifieditem-224f0311-524a-48f1-9f74-08d878b3e843:admin@test-domain.com] 2021-04-05 22:58:35 | [Mutex] received everything. 2021-04-05 22:58:35 | [Mutex] isItemNotified: published:item:notifieditem-224f0311-524a-48f1-9f74-08d878b3e843:admin@test-domain.com :: true |
retractItemsFromNodes | 0.121s |
2021-04-05 22:58:35 |
2021-04-05 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:35 | ------------------------------------ 2021-04-05 22:58:35 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "item-id": "item-224f0311-524a-48f1-9f74-08d878b3e843" } 2021-04-05 22:58:35 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-224f0311-524a-48f1-9f74-08d878b3e843" } 2021-04-05 22:58:35 | [Mutex] waiting for: [retracted:item:notifieditem-224f0311-524a-48f1-9f74-08d878b3e843:admin@test-domain.com] 2021-04-05 22:58:35 | [Mutex] received everything. 2021-04-05 22:58:35 | [Mutex] isItemNotified: retracted:item:notifieditem-224f0311-524a-48f1-9f74-08d878b3e843:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.060s |
2021-04-05 22:58:35 |
2021-04-05 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:35 | ------------------------------------ 2021-04-05 22:58:35 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "item-id": "item-224f0311-524a-48f1-9f74-08d878b3e843" } 2021-04-05 22:58:35 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "item-id": "item-224f0311-524a-48f1-9f74-08d878b3e843", "item": [ "<item id=\"item-224f0311-524a-48f1-9f74-08d878b3e843\"><test>item-224f0311-524a-48f1-9f74-08d878b3e843</test></item>" ] } 2021-04-05 22:58:35 | [Mutex] notify: [retrieved:item:item-224f0311-524a-48f1-9f74-08d878b3e843:payload-matches:true:localhost] 2021-04-05 22:58:35 | [Mutex] received everything. 2021-04-05 22:58:35 | [Mutex] isItemNotified: retrieved:item:item-224f0311-524a-48f1-9f74-08d878b3e843:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2021-04-05 22:58:35 |
2021-04-05 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:35 | ------------------------------------ 2021-04-05 22:58:35 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-05 22:58:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "test", "node-aee83e3d-90a4-44b2-a659-66585d6d1df3" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2021-04-05 22:58:35 |
2021-04-05 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:35 | ------------------------------------ 2021-04-05 22:58:35 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-c2f7585f-004e-435a-8d81-5e49d90ae086)" } 2021-04-05 22:58:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.021s |
2021-04-05 22:58:34 |
2021-04-05 22:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:34 | ------------------------------------ 2021-04-05 22:58:34 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "jids": [ "admin@test-domain.com" ] } 2021-04-05 22:58:34 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.065s |
2021-04-05 22:58:35 |
2021-04-05 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:58:35 | ------------------------------------ 2021-04-05 22:58:35 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-c2f7585f-004e-435a-8d81-5e49d90ae086", "jids": [ "admin@test-domain.com" ] } 2021-04-05 22:58:35 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |