Test duration : 9.221s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.145s |
2021-04-06 22:38:21 |
2021-04-06 22:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:21 | ------------------------------------ 2021-04-06 22:38:21 | [Mutex] waiting for: [configured:node:node-44a0478c-1606-4749-8057-c1a836ba45c6:node-64328170-0d39-4bd2-bd12-7e0f10365106] 2021-04-06 22:38:21 | [Mutex] received everything. 2021-04-06 22:38:21 | [Mutex] isItemNotified: configured:node:node-44a0478c-1606-4749-8057-c1a836ba45c6:node-64328170-0d39-4bd2-bd12-7e0f10365106 :: true 2021-04-06 22:38:22 | [Mutex] waiting for: [received:nodes:b631857a-060e-49e4-af9c-4a078e9eba9d:localhost] 2021-04-06 22:38:22 | [Mutex] received everything. 2021-04-06 22:38:22 | [Mutex] isItemNotified: received:node:b631857a-060e-49e4-af9c-4a078e9eba9d:localhost:node-44a0478c-1606-4749-8057-c1a836ba45c6:Node 44a0478c-1606-4749-8057-c1a836ba45c6 :: true 2021-04-06 22:38:22 | [Mutex] waiting for: [received:nodes:6cda8e05-a21a-49aa-8e9f-5d7744392077:localhost] 2021-04-06 22:38:22 | [Mutex] received everything. 2021-04-06 22:38:22 | [Mutex] isItemNotified: received:node:6cda8e05-a21a-49aa-8e9f-5d7744392077:localhost:node-44a0478c-1606-4749-8057-c1a836ba45c6:Node 44a0478c-1606-4749-8057-c1a836ba45c6 :: false |
createNodes | 1.683s |
2021-04-06 22:38:18 |
2021-04-06 22:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:18 | ------------------------------------ 2021-04-06 22:38:19 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "pubsub#title": "Node 44a0478c-1606-4749-8057-c1a836ba45c6" } 2021-04-06 22:38:19 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-06 22:38:20 | [Mutex] waiting for: [received:nodes:185304b0-613e-4f61-92b3-387c879c91f8:localhost] 2021-04-06 22:38:20 | [Mutex] received everything. 2021-04-06 22:38:20 | [Mutex] isItemNotified: received:node:185304b0-613e-4f61-92b3-387c879c91f8:localhost:node-44a0478c-1606-4749-8057-c1a836ba45c6:Node 44a0478c-1606-4749-8057-c1a836ba45c6 :: true |
createSubnodes | 1.028s |
2021-04-06 22:38:20 |
2021-04-06 22:38:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:20 | ------------------------------------ 2021-04-06 22:38:20 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-64328170-0d39-4bd2-bd12-7e0f10365106", "pubsub#title": "Node 64328170-0d39-4bd2-bd12-7e0f10365106" } 2021-04-06 22:38:20 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-06 22:38:21 | [Mutex] waiting for: [received:nodes:b068cb3f-c8cc-4820-a2ae-892dc46da9bf:localhost] 2021-04-06 22:38:21 | [Mutex] waiting for: [received:nodes:b068cb3f-c8cc-4820-a2ae-892dc46da9bf:localhost] 2021-04-06 22:38:21 | [Mutex] received everything. 2021-04-06 22:38:21 | [Mutex] isItemNotified: received:node:b068cb3f-c8cc-4820-a2ae-892dc46da9bf:localhost:node-64328170-0d39-4bd2-bd12-7e0f10365106:Node 64328170-0d39-4bd2-bd12-7e0f10365106 :: true |
deleteNodes | 1.023s |
2021-04-06 22:38:25 |
2021-04-06 22:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:25 | ------------------------------------ 2021-04-06 22:38:25 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-64328170-0d39-4bd2-bd12-7e0f10365106" } 2021-04-06 22:38:25 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-06 22:38:26 | [Mutex] waiting for: [received:nodes:2fd57bc1-6eb4-4bcf-aff2-f5c204373fe1:localhost] 2021-04-06 22:38:26 | [Mutex] waiting for: [received:nodes:2fd57bc1-6eb4-4bcf-aff2-f5c204373fe1:localhost] 2021-04-06 22:38:26 | [Mutex] received everything. 2021-04-06 22:38:26 | [Mutex] isItemNotified: received:node:2fd57bc1-6eb4-4bcf-aff2-f5c204373fe1:localhost:node-64328170-0d39-4bd2-bd12-7e0f10365106:Node 64328170-0d39-4bd2-bd12-7e0f10365106 :: false |
deleteSubnodes | 1.026s |
2021-04-06 22:38:24 |
2021-04-06 22:38:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:24 | ------------------------------------ 2021-04-06 22:38:24 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6" } 2021-04-06 22:38:24 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-06 22:38:25 | [Mutex] waiting for: [received:nodes:b98df7b5-4b2d-4c63-8e57-62d9674c42f6:localhost] 2021-04-06 22:38:25 | [Mutex] received everything. 2021-04-06 22:38:25 | [Mutex] isItemNotified: received:node:b98df7b5-4b2d-4c63-8e57-62d9674c42f6:localhost:node-44a0478c-1606-4749-8057-c1a836ba45c6:Node 44a0478c-1606-4749-8057-c1a836ba45c6 :: false 2021-04-06 22:38:25 | [Mutex] waiting for: [received:nodes:13927b1b-8ad5-424e-8ad7-5de3f0715fe6:localhost] 2021-04-06 22:38:25 | [Mutex] received everything. 2021-04-06 22:38:25 | [Mutex] isItemNotified: received:node:13927b1b-8ad5-424e-8ad7-5de3f0715fe6:localhost:node-44a0478c-1606-4749-8057-c1a836ba45c6:Node 44a0478c-1606-4749-8057-c1a836ba45c6 :: false |
publishItemsToNodes | 0.035s |
2021-04-06 22:38:23 |
2021-04-06 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:23 | ------------------------------------ 2021-04-06 22:38:23 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "entry": "<test>item-0c5cf737-8c98-4af1-a0eb-aad5603b5668</test>", "item-id": "item-0c5cf737-8c98-4af1-a0eb-aad5603b5668" } 2021-04-06 22:38:23 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0c5cf737-8c98-4af1-a0eb-aad5603b5668" } 2021-04-06 22:38:23 | [Mutex] waiting for: [published:item:notifieditem-0c5cf737-8c98-4af1-a0eb-aad5603b5668:admin@test-domain.com] 2021-04-06 22:38:23 | [Mutex] received everything. 2021-04-06 22:38:23 | [Mutex] isItemNotified: published:item:notifieditem-0c5cf737-8c98-4af1-a0eb-aad5603b5668:admin@test-domain.com :: true |
retractItemsFromNodes | 0.076s |
2021-04-06 22:38:23 |
2021-04-06 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:23 | ------------------------------------ 2021-04-06 22:38:23 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "item-id": "item-0c5cf737-8c98-4af1-a0eb-aad5603b5668" } 2021-04-06 22:38:23 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0c5cf737-8c98-4af1-a0eb-aad5603b5668" } 2021-04-06 22:38:23 | [Mutex] received everything. 2021-04-06 22:38:23 | [Mutex] isItemNotified: retracted:item:notifieditem-0c5cf737-8c98-4af1-a0eb-aad5603b5668:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.103s |
2021-04-06 22:38:23 |
2021-04-06 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:23 | ------------------------------------ 2021-04-06 22:38:23 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "item-id": "item-0c5cf737-8c98-4af1-a0eb-aad5603b5668" } 2021-04-06 22:38:23 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "item-id": "item-0c5cf737-8c98-4af1-a0eb-aad5603b5668", "item": [ "<item id=\"item-0c5cf737-8c98-4af1-a0eb-aad5603b5668\"><test>item-0c5cf737-8c98-4af1-a0eb-aad5603b5668</test></item>" ] } 2021-04-06 22:38:23 | [Mutex] notify: [retrieved:item:item-0c5cf737-8c98-4af1-a0eb-aad5603b5668:payload-matches:true:localhost] 2021-04-06 22:38:23 | [Mutex] received everything. 2021-04-06 22:38:23 | [Mutex] isItemNotified: retrieved:item:item-0c5cf737-8c98-4af1-a0eb-aad5603b5668:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2021-04-06 22:38:23 |
2021-04-06 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:23 | ------------------------------------ 2021-04-06 22:38:23 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-06 22:38:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-44a0478c-1606-4749-8057-c1a836ba45c6", "node-64328170-0d39-4bd2-bd12-7e0f10365106", "test" ] } |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-04-06 22:38:23 |
2021-04-06 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:23 | ------------------------------------ 2021-04-06 22:38:23 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-44a0478c-1606-4749-8057-c1a836ba45c6)" } 2021-04-06 22:38:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2021-04-06 22:38:22 |
2021-04-06 22:38:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:22 | ------------------------------------ 2021-04-06 22:38:22 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "jids": [ "admin@test-domain.com" ] } 2021-04-06 22:38:22 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.079s |
2021-04-06 22:38:23 |
2021-04-06 22:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-06 22:38:23 | ------------------------------------ 2021-04-06 22:38:23 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-44a0478c-1606-4749-8057-c1a836ba45c6", "jids": [ "admin@test-domain.com" ] } 2021-04-06 22:38:23 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |