Test duration : 9.219s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.162s |
2020-09-27 23:15:41 |
2020-09-27 23:15:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:41 | ------------------------------------ 2020-09-27 23:15:41 | [Mutex] waiting for: [configured:node:node-7cecd462-e523-450a-815e-01d2ca6f0fef:node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1] 2020-09-27 23:15:41 | [Mutex] received everything. 2020-09-27 23:15:41 | [Mutex] isItemNotified: configured:node:node-7cecd462-e523-450a-815e-01d2ca6f0fef:node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1 :: true 2020-09-27 23:15:42 | [Mutex] waiting for: [received:nodes:9978462d-36fd-4213-9350-339d35d74984:localhost] 2020-09-27 23:15:42 | [Mutex] received everything. 2020-09-27 23:15:42 | [Mutex] isItemNotified: received:node:9978462d-36fd-4213-9350-339d35d74984:localhost:node-7cecd462-e523-450a-815e-01d2ca6f0fef:Node 7cecd462-e523-450a-815e-01d2ca6f0fef :: true 2020-09-27 23:15:42 | [Mutex] waiting for: [received:nodes:1edd02c1-aa33-47e5-8262-296a7e7ee695:localhost] 2020-09-27 23:15:42 | [Mutex] received everything. 2020-09-27 23:15:42 | [Mutex] isItemNotified: received:node:1edd02c1-aa33-47e5-8262-296a7e7ee695:localhost:node-7cecd462-e523-450a-815e-01d2ca6f0fef:Node 7cecd462-e523-450a-815e-01d2ca6f0fef :: false |
createNodes | 1.790s |
2020-09-27 23:15:39 |
2020-09-27 23:15:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:39 | ------------------------------------ 2020-09-27 23:15:39 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "pubsub#title": "Node 7cecd462-e523-450a-815e-01d2ca6f0fef" } 2020-09-27 23:15:39 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-27 23:15:40 | [Mutex] waiting for: [received:nodes:3844cd85-5570-494f-8df3-69ebf6dcfc72:localhost] 2020-09-27 23:15:40 | [Mutex] waiting for: [received:nodes:3844cd85-5570-494f-8df3-69ebf6dcfc72:localhost] 2020-09-27 23:15:40 | [Mutex] received everything. 2020-09-27 23:15:40 | [Mutex] isItemNotified: received:node:3844cd85-5570-494f-8df3-69ebf6dcfc72:localhost:node-7cecd462-e523-450a-815e-01d2ca6f0fef:Node 7cecd462-e523-450a-815e-01d2ca6f0fef :: true |
createSubnodes | 1.020s |
2020-09-27 23:15:40 |
2020-09-27 23:15:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:40 | ------------------------------------ 2020-09-27 23:15:40 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1", "pubsub#title": "Node 7247e6a2-d6f7-4814-b2b2-8469fe5348b1" } 2020-09-27 23:15:40 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-27 23:15:41 | [Mutex] waiting for: [received:nodes:1b0ed6e0-da48-4b26-b675-b7f6bf110c89:localhost] 2020-09-27 23:15:41 | [Mutex] received everything. 2020-09-27 23:15:41 | [Mutex] isItemNotified: received:node:1b0ed6e0-da48-4b26-b675-b7f6bf110c89:localhost:node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1:Node 7247e6a2-d6f7-4814-b2b2-8469fe5348b1 :: true |
deleteNodes | 1.023s |
2020-09-27 23:15:46 |
2020-09-27 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:46 | ------------------------------------ 2020-09-27 23:15:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1" } 2020-09-27 23:15:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-27 23:15:47 | [Mutex] waiting for: [received:nodes:c06ac2ed-2cdd-4a33-b589-3685ff62f1a1:localhost] 2020-09-27 23:15:47 | [Mutex] received everything. 2020-09-27 23:15:47 | [Mutex] isItemNotified: received:node:c06ac2ed-2cdd-4a33-b589-3685ff62f1a1:localhost:node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1:Node 7247e6a2-d6f7-4814-b2b2-8469fe5348b1 :: false |
deleteSubnodes | 1.022s |
2020-09-27 23:15:45 |
2020-09-27 23:15:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:45 | ------------------------------------ 2020-09-27 23:15:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef" } 2020-09-27 23:15:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-27 23:15:46 | [Mutex] waiting for: [received:nodes:817b23af-f6b7-4b14-8988-6c055ef2536c:localhost] 2020-09-27 23:15:46 | [Mutex] received everything. 2020-09-27 23:15:46 | [Mutex] isItemNotified: received:node:817b23af-f6b7-4b14-8988-6c055ef2536c:localhost:node-7cecd462-e523-450a-815e-01d2ca6f0fef:Node 7cecd462-e523-450a-815e-01d2ca6f0fef :: false 2020-09-27 23:15:46 | [Mutex] waiting for: [received:nodes:dd52313d-e228-4856-9a10-4bd145f6410c:localhost] 2020-09-27 23:15:46 | [Mutex] received everything. 2020-09-27 23:15:46 | [Mutex] isItemNotified: received:node:dd52313d-e228-4856-9a10-4bd145f6410c:localhost:node-7cecd462-e523-450a-815e-01d2ca6f0fef:Node 7cecd462-e523-450a-815e-01d2ca6f0fef :: false |
publishItemsToNodes | 0.031s |
2020-09-27 23:15:43 |
2020-09-27 23:15:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:43 | ------------------------------------ 2020-09-27 23:15:43 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "entry": "<test>item-59a0a98e-4901-4e77-9300-4d93b0f884e8</test>", "item-id": "item-59a0a98e-4901-4e77-9300-4d93b0f884e8" } 2020-09-27 23:15:44 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-59a0a98e-4901-4e77-9300-4d93b0f884e8" } 2020-09-27 23:15:44 | [Mutex] waiting for: [published:item:notifieditem-59a0a98e-4901-4e77-9300-4d93b0f884e8:admin@test-domain.com] 2020-09-27 23:15:44 | [Mutex] received everything. 2020-09-27 23:15:44 | [Mutex] isItemNotified: published:item:notifieditem-59a0a98e-4901-4e77-9300-4d93b0f884e8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2020-09-27 23:15:44 |
2020-09-27 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:44 | ------------------------------------ 2020-09-27 23:15:44 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "item-id": "item-59a0a98e-4901-4e77-9300-4d93b0f884e8" } 2020-09-27 23:15:44 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-59a0a98e-4901-4e77-9300-4d93b0f884e8" } 2020-09-27 23:15:44 | [Mutex] received everything. 2020-09-27 23:15:44 | [Mutex] isItemNotified: retracted:item:notifieditem-59a0a98e-4901-4e77-9300-4d93b0f884e8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.071s |
2020-09-27 23:15:44 |
2020-09-27 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:44 | ------------------------------------ 2020-09-27 23:15:44 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "item-id": "item-59a0a98e-4901-4e77-9300-4d93b0f884e8" } 2020-09-27 23:15:44 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "item-id": "item-59a0a98e-4901-4e77-9300-4d93b0f884e8", "item": [ "<item id=\"item-59a0a98e-4901-4e77-9300-4d93b0f884e8\"><test>item-59a0a98e-4901-4e77-9300-4d93b0f884e8</test></item>" ] } 2020-09-27 23:15:44 | [Mutex] notify: [retrieved:item:item-59a0a98e-4901-4e77-9300-4d93b0f884e8:payload-matches:true:localhost] 2020-09-27 23:15:44 | [Mutex] received everything. 2020-09-27 23:15:44 | [Mutex] isItemNotified: retrieved:item:item-59a0a98e-4901-4e77-9300-4d93b0f884e8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-09-27 23:15:44 |
2020-09-27 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:44 | ------------------------------------ 2020-09-27 23:15:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-27 23:15:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-7247e6a2-d6f7-4814-b2b2-8469fe5348b1", "test", "node-7cecd462-e523-450a-815e-01d2ca6f0fef" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2020-09-27 23:15:44 |
2020-09-27 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:44 | ------------------------------------ 2020-09-27 23:15:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7cecd462-e523-450a-815e-01d2ca6f0fef)" } 2020-09-27 23:15:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.015s |
2020-09-27 23:15:42 |
2020-09-27 23:15:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:42 | ------------------------------------ 2020-09-27 23:15:42 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "jids": [ "admin@test-domain.com" ] } 2020-09-27 23:15:42 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2020-09-27 23:15:44 |
2020-09-27 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-27 23:15:44 | ------------------------------------ 2020-09-27 23:15:44 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7cecd462-e523-450a-815e-01d2ca6f0fef", "jids": [ "admin@test-domain.com" ] } 2020-09-27 23:15:44 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |