Test duration : 9.332s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.126s |
2021-10-06 22:29:59 |
2021-10-06 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:29:59 | ------------------------------------ 2021-10-06 22:29:59 | [Mutex] waiting for: [configured:node:node-192df3c5-8cea-453d-9257-255f46c55e66:node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6] 2021-10-06 22:29:59 | [Mutex] received everything. 2021-10-06 22:29:59 | [Mutex] isItemNotified: configured:node:node-192df3c5-8cea-453d-9257-255f46c55e66:node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6 :: true 2021-10-06 22:30:00 | [Mutex] waiting for: [received:nodes:556d3a7c-9405-43f3-98ab-f78845f9790e:localhost] 2021-10-06 22:30:00 | [Mutex] received everything. 2021-10-06 22:30:00 | [Mutex] isItemNotified: received:node:556d3a7c-9405-43f3-98ab-f78845f9790e:localhost:node-192df3c5-8cea-453d-9257-255f46c55e66:Node 192df3c5-8cea-453d-9257-255f46c55e66 :: true 2021-10-06 22:30:00 | [Mutex] waiting for: [received:nodes:ef1da7fe-fdff-4488-a0f1-ab384182693b:localhost] 2021-10-06 22:30:00 | [Mutex] received everything. 2021-10-06 22:30:00 | [Mutex] isItemNotified: received:node:ef1da7fe-fdff-4488-a0f1-ab384182693b:localhost:node-192df3c5-8cea-453d-9257-255f46c55e66:Node 192df3c5-8cea-453d-9257-255f46c55e66 :: false |
createNodes | 1.630s |
2021-10-06 22:29:56 |
2021-10-06 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:29:56 | ------------------------------------ 2021-10-06 22:29:57 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "pubsub#title": "Node 192df3c5-8cea-453d-9257-255f46c55e66" } 2021-10-06 22:29:57 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-10-06 22:29:58 | [Mutex] waiting for: [received:nodes:f118a5ab-0f51-4f59-a087-c9dc6a2d26ee:localhost] 2021-10-06 22:29:58 | [Mutex] received everything. 2021-10-06 22:29:58 | [Mutex] isItemNotified: received:node:f118a5ab-0f51-4f59-a087-c9dc6a2d26ee:localhost:node-192df3c5-8cea-453d-9257-255f46c55e66:Node 192df3c5-8cea-453d-9257-255f46c55e66 :: true |
createSubnodes | 1.036s |
2021-10-06 22:29:58 |
2021-10-06 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:29:58 | ------------------------------------ 2021-10-06 22:29:58 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6", "pubsub#title": "Node 9c3f2cc0-fc41-4087-8bc6-55dc470941b6" } 2021-10-06 22:29:58 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-10-06 22:29:59 | [Mutex] waiting for: [received:nodes:08e198f1-443b-4987-bd09-dcec221268eb:localhost] 2021-10-06 22:29:59 | [Mutex] received everything. 2021-10-06 22:29:59 | [Mutex] isItemNotified: received:node:08e198f1-443b-4987-bd09-dcec221268eb:localhost:node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6:Node 9c3f2cc0-fc41-4087-8bc6-55dc470941b6 :: true |
deleteNodes | 1.031s |
2021-10-06 22:30:04 |
2021-10-06 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:04 | ------------------------------------ 2021-10-06 22:30:04 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6" } 2021-10-06 22:30:04 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-10-06 22:30:05 | [Mutex] waiting for: [received:nodes:8605bc69-b52f-4b5c-833a-dd7c76fc1755:localhost] 2021-10-06 22:30:05 | [Mutex] waiting for: [received:nodes:8605bc69-b52f-4b5c-833a-dd7c76fc1755:localhost] 2021-10-06 22:30:05 | [Mutex] received everything. 2021-10-06 22:30:05 | [Mutex] isItemNotified: received:node:8605bc69-b52f-4b5c-833a-dd7c76fc1755:localhost:node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6:Node 9c3f2cc0-fc41-4087-8bc6-55dc470941b6 :: false |
deleteSubnodes | 1.032s |
2021-10-06 22:30:03 |
2021-10-06 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:03 | ------------------------------------ 2021-10-06 22:30:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-192df3c5-8cea-453d-9257-255f46c55e66" } 2021-10-06 22:30:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-10-06 22:30:04 | [Mutex] waiting for: [received:nodes:3bee1a06-91c4-4249-9978-682f96422cd5:localhost] 2021-10-06 22:30:04 | [Mutex] received everything. 2021-10-06 22:30:04 | [Mutex] isItemNotified: received:node:3bee1a06-91c4-4249-9978-682f96422cd5:localhost:node-192df3c5-8cea-453d-9257-255f46c55e66:Node 192df3c5-8cea-453d-9257-255f46c55e66 :: false 2021-10-06 22:30:04 | [Mutex] waiting for: [received:nodes:81e21b32-1bfe-4f0b-a17a-e8adf85c66a1:localhost] 2021-10-06 22:30:04 | [Mutex] received everything. 2021-10-06 22:30:04 | [Mutex] isItemNotified: received:node:81e21b32-1bfe-4f0b-a17a-e8adf85c66a1:localhost:node-192df3c5-8cea-453d-9257-255f46c55e66:Node 192df3c5-8cea-453d-9257-255f46c55e66 :: false |
publishItemsToNodes | 0.084s |
2021-10-06 22:30:01 |
2021-10-06 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:01 | ------------------------------------ 2021-10-06 22:30:01 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "entry": "<test>item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38</test>", "item-id": "item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38" } 2021-10-06 22:30:01 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38" } 2021-10-06 22:30:01 | [Mutex] waiting for: [published:item:notifieditem-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38:admin@test-domain.com] 2021-10-06 22:30:01 | [Mutex] received everything. 2021-10-06 22:30:01 | [Mutex] isItemNotified: published:item:notifieditem-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38:admin@test-domain.com :: true |
retractItemsFromNodes | 0.139s |
2021-10-06 22:30:02 |
2021-10-06 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:02 | ------------------------------------ 2021-10-06 22:30:02 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "item-id": "item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38" } 2021-10-06 22:30:02 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38" } 2021-10-06 22:30:02 | [Mutex] waiting for: [retracted:item:notifieditem-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38:admin@test-domain.com] 2021-10-06 22:30:02 | [Mutex] received everything. 2021-10-06 22:30:02 | [Mutex] isItemNotified: retracted:item:notifieditem-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.162s |
2021-10-06 22:30:01 |
2021-10-06 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:01 | ------------------------------------ 2021-10-06 22:30:01 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "item-id": "item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38" } 2021-10-06 22:30:02 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "item-id": "item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38", "item": [ "<item id=\"item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38\"><test>item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38</test></item>" ] } 2021-10-06 22:30:02 | [Mutex] notify: [retrieved:item:item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38:payload-matches:true:localhost] 2021-10-06 22:30:02 | [Mutex] received everything. 2021-10-06 22:30:02 | [Mutex] isItemNotified: retrieved:item:item-3f0362f5-8c35-4112-8b7f-5f6d46a9dc38:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.063s |
2021-10-06 22:30:02 |
2021-10-06 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:02 | ------------------------------------ 2021-10-06 22:30:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-10-06 22:30:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-192df3c5-8cea-453d-9257-255f46c55e66", "test", "node-9c3f2cc0-fc41-4087-8bc6-55dc470941b6" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-10-06 22:30:02 |
2021-10-06 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:02 | ------------------------------------ 2021-10-06 22:30:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-192df3c5-8cea-453d-9257-255f46c55e66)" } 2021-10-06 22:30:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.019s |
2021-10-06 22:30:00 |
2021-10-06 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:00 | ------------------------------------ 2021-10-06 22:30:00 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "jids": [ "admin@test-domain.com" ] } 2021-10-06 22:30:00 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.073s |
2021-10-06 22:30:02 |
2021-10-06 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-10-06 22:30:02 | ------------------------------------ 2021-10-06 22:30:02 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-192df3c5-8cea-453d-9257-255f46c55e66", "jids": [ "admin@test-domain.com" ] } 2021-10-06 22:30:02 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |