Test duration : 8.479s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.106s |
2023-03-29 22:30:00 |
2023-03-29 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:00 | ------------------------------------ 2023-03-29 22:30:00 | [Mutex] waiting for: [configured:node:node-dac733fe-fee9-482e-8a2f-628494880fab:node-70671e70-d77e-422a-92e8-c97876e39a9a] 2023-03-29 22:30:00 | [Mutex] received everything. 2023-03-29 22:30:00 | [Mutex] isItemNotified: configured:node:node-dac733fe-fee9-482e-8a2f-628494880fab:node-70671e70-d77e-422a-92e8-c97876e39a9a :: true 2023-03-29 22:30:01 | [Mutex] waiting for: [received:nodes:633f09c4-da9b-44d1-b798-bbe5ba12aa46:localhost] 2023-03-29 22:30:01 | [Mutex] received everything. 2023-03-29 22:30:01 | [Mutex] isItemNotified: received:node:633f09c4-da9b-44d1-b798-bbe5ba12aa46:localhost:node-dac733fe-fee9-482e-8a2f-628494880fab:Node dac733fe-fee9-482e-8a2f-628494880fab :: true 2023-03-29 22:30:01 | [Mutex] waiting for: [received:nodes:28781f0d-8f9d-4153-91a9-eeac28386de5:localhost] 2023-03-29 22:30:01 | [Mutex] received everything. 2023-03-29 22:30:01 | [Mutex] isItemNotified: received:node:28781f0d-8f9d-4153-91a9-eeac28386de5:localhost:node-dac733fe-fee9-482e-8a2f-628494880fab:Node dac733fe-fee9-482e-8a2f-628494880fab :: false |
createNodes | 1.517s |
2023-03-29 22:29:57 |
2023-03-29 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:29:57 | ------------------------------------ 2023-03-29 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-dac733fe-fee9-482e-8a2f-628494880fab", "pubsub#title": "Node dac733fe-fee9-482e-8a2f-628494880fab" } 2023-03-29 22:29:57 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:48d0be6e-21bf-4f10-bf73-da0134092aad:localhost] 2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:48d0be6e-21bf-4f10-bf73-da0134092aad:localhost] 2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:48d0be6e-21bf-4f10-bf73-da0134092aad:localhost] 2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:48d0be6e-21bf-4f10-bf73-da0134092aad:localhost] 2023-03-29 22:29:58 | [Mutex] received everything. 2023-03-29 22:29:58 | [Mutex] isItemNotified: received:node:48d0be6e-21bf-4f10-bf73-da0134092aad:localhost:node-dac733fe-fee9-482e-8a2f-628494880fab:Node dac733fe-fee9-482e-8a2f-628494880fab :: true |
createSubnodes | 1.021s |
2023-03-29 22:29:58 |
2023-03-29 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:29:58 | ------------------------------------ 2023-03-29 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-70671e70-d77e-422a-92e8-c97876e39a9a", "pubsub#title": "Node 70671e70-d77e-422a-92e8-c97876e39a9a" } 2023-03-29 22:29:59 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:00 | [Mutex] waiting for: [received:nodes:f2fb91c0-1e8f-42dd-9ee4-d5b2365634ea:localhost] 2023-03-29 22:30:00 | [Mutex] waiting for: [received:nodes:f2fb91c0-1e8f-42dd-9ee4-d5b2365634ea:localhost] 2023-03-29 22:30:00 | [Mutex] waiting for: [received:nodes:f2fb91c0-1e8f-42dd-9ee4-d5b2365634ea:localhost] 2023-03-29 22:30:00 | [Mutex] received everything. 2023-03-29 22:30:00 | [Mutex] isItemNotified: received:node:f2fb91c0-1e8f-42dd-9ee4-d5b2365634ea:localhost:node-70671e70-d77e-422a-92e8-c97876e39a9a:Node 70671e70-d77e-422a-92e8-c97876e39a9a :: true |
deleteNodes | 1.028s |
2023-03-29 22:30:04 |
2023-03-29 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:04 | ------------------------------------ 2023-03-29 22:30:04 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-70671e70-d77e-422a-92e8-c97876e39a9a" } 2023-03-29 22:30:04 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:05 | [Mutex] waiting for: [received:nodes:e69c1698-c349-422b-97a7-4ba7cde552a5:localhost] 2023-03-29 22:30:05 | [Mutex] waiting for: [received:nodes:e69c1698-c349-422b-97a7-4ba7cde552a5:localhost] 2023-03-29 22:30:05 | [Mutex] waiting for: [received:nodes:e69c1698-c349-422b-97a7-4ba7cde552a5:localhost] 2023-03-29 22:30:05 | [Mutex] received everything. 2023-03-29 22:30:05 | [Mutex] isItemNotified: received:node:e69c1698-c349-422b-97a7-4ba7cde552a5:localhost:node-70671e70-d77e-422a-92e8-c97876e39a9a:Node 70671e70-d77e-422a-92e8-c97876e39a9a :: false |
deleteSubnodes | 1.022s |
2023-03-29 22:30:03 |
2023-03-29 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:03 | ------------------------------------ 2023-03-29 22:30:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-dac733fe-fee9-482e-8a2f-628494880fab" } 2023-03-29 22:30:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:04 | [Mutex] waiting for: [received:nodes:039e4b8e-06f5-4824-9516-9515b76e7729:localhost] 2023-03-29 22:30:04 | [Mutex] waiting for: [received:nodes:039e4b8e-06f5-4824-9516-9515b76e7729:localhost] 2023-03-29 22:30:04 | [Mutex] waiting for: [received:nodes:039e4b8e-06f5-4824-9516-9515b76e7729:localhost] 2023-03-29 22:30:04 | [Mutex] received everything. 2023-03-29 22:30:04 | [Mutex] isItemNotified: received:node:039e4b8e-06f5-4824-9516-9515b76e7729:localhost:node-dac733fe-fee9-482e-8a2f-628494880fab:Node dac733fe-fee9-482e-8a2f-628494880fab :: false 2023-03-29 22:30:04 | [Mutex] waiting for: [received:nodes:b02fc812-5839-4c2d-96e9-71a3ba0b831f:localhost] 2023-03-29 22:30:04 | [Mutex] received everything. 2023-03-29 22:30:04 | [Mutex] isItemNotified: received:node:b02fc812-5839-4c2d-96e9-71a3ba0b831f:localhost:node-dac733fe-fee9-482e-8a2f-628494880fab:Node dac733fe-fee9-482e-8a2f-628494880fab :: false |
publishItemsToNodes | 0.035s |
2023-03-29 22:30:02 |
2023-03-29 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:02 | ------------------------------------ 2023-03-29 22:30:02 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-dac733fe-fee9-482e-8a2f-628494880fab", "entry": "<test>item-759af51f-8d2b-4360-98f9-b42f1db46e3a</test>", "item-id": "item-759af51f-8d2b-4360-98f9-b42f1db46e3a" } 2023-03-29 22:30:02 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-759af51f-8d2b-4360-98f9-b42f1db46e3a" } 2023-03-29 22:30:02 | [Mutex] waiting for: [published:item:notifieditem-759af51f-8d2b-4360-98f9-b42f1db46e3a:admin@test-domain.com] 2023-03-29 22:30:02 | [Mutex] received everything. 2023-03-29 22:30:02 | [Mutex] isItemNotified: published:item:notifieditem-759af51f-8d2b-4360-98f9-b42f1db46e3a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.054s |
2023-03-29 22:30:02 |
2023-03-29 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:02 | ------------------------------------ 2023-03-29 22:30:02 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-dac733fe-fee9-482e-8a2f-628494880fab", "item-id": "item-759af51f-8d2b-4360-98f9-b42f1db46e3a" } 2023-03-29 22:30:02 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-759af51f-8d2b-4360-98f9-b42f1db46e3a" } 2023-03-29 22:30:02 | [Mutex] received everything. 2023-03-29 22:30:02 | [Mutex] isItemNotified: retracted:item:notifieditem-759af51f-8d2b-4360-98f9-b42f1db46e3a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.073s |
2023-03-29 22:30:02 |
2023-03-29 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:02 | ------------------------------------ 2023-03-29 22:30:02 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-dac733fe-fee9-482e-8a2f-628494880fab", "item-id": "item-759af51f-8d2b-4360-98f9-b42f1db46e3a" } 2023-03-29 22:30:02 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-dac733fe-fee9-482e-8a2f-628494880fab", "item-id": "item-759af51f-8d2b-4360-98f9-b42f1db46e3a", "item": [ "<item id=\"item-759af51f-8d2b-4360-98f9-b42f1db46e3a\"><test>item-759af51f-8d2b-4360-98f9-b42f1db46e3a</test></item>" ] } 2023-03-29 22:30:02 | [Mutex] notify: [retrieved:item:item-759af51f-8d2b-4360-98f9-b42f1db46e3a:payload-matches:true:localhost] 2023-03-29 22:30:02 | [Mutex] received everything. 2023-03-29 22:30:02 | [Mutex] isItemNotified: retrieved:item:item-759af51f-8d2b-4360-98f9-b42f1db46e3a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2023-03-29 22:30:02 |
2023-03-29 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:02 | ------------------------------------ 2023-03-29 22:30:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-29 22:30:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-70671e70-d77e-422a-92e8-c97876e39a9a", "node-dac733fe-fee9-482e-8a2f-628494880fab" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-03-29 22:30:02 |
2023-03-29 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:02 | ------------------------------------ 2023-03-29 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-dac733fe-fee9-482e-8a2f-628494880fab)" } 2023-03-29 22:30:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-03-29 22:30:01 |
2023-03-29 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:01 | ------------------------------------ 2023-03-29 22:30:01 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-dac733fe-fee9-482e-8a2f-628494880fab", "jids": [ "admin@test-domain.com" ] } 2023-03-29 22:30:01 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.060s |
2023-03-29 22:30:02 |
2023-03-29 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:02 | ------------------------------------ 2023-03-29 22:30:02 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-dac733fe-fee9-482e-8a2f-628494880fab", "jids": [ "admin@test-domain.com" ] } 2023-03-29 22:30:02 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |