Test duration : 8.649s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.105s |
2023-03-29 22:30:07 |
2023-03-29 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:07 | ------------------------------------ 2023-03-29 22:30:07 | [Mutex] waiting for: [configured:node:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:node-3a26f893-6605-49cb-bce1-978346f3c963] 2023-03-29 22:30:07 | [Mutex] received everything. 2023-03-29 22:30:07 | [Mutex] isItemNotified: configured:node:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:node-3a26f893-6605-49cb-bce1-978346f3c963 :: true 2023-03-29 22:30:08 | [Mutex] waiting for: [received:nodes:1f1b90f3-2ba5-4bc6-936b-38fee20caf72:localhost] 2023-03-29 22:30:08 | [Mutex] received everything. 2023-03-29 22:30:08 | [Mutex] isItemNotified: received:node:1f1b90f3-2ba5-4bc6-936b-38fee20caf72:localhost:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:Node 2ea1b722-fb6f-433c-b474-169eab7a20b6 :: true 2023-03-29 22:30:08 | [Mutex] waiting for: [received:nodes:98c781d9-93df-4446-9576-acf71cd66ede:localhost] 2023-03-29 22:30:08 | [Mutex] waiting for: [received:nodes:98c781d9-93df-4446-9576-acf71cd66ede:localhost] 2023-03-29 22:30:08 | [Mutex] waiting for: [received:nodes:98c781d9-93df-4446-9576-acf71cd66ede:localhost] 2023-03-29 22:30:08 | [Mutex] waiting for: [received:nodes:98c781d9-93df-4446-9576-acf71cd66ede:localhost] 2023-03-29 22:30:08 | [Mutex] received everything. 2023-03-29 22:30:08 | [Mutex] isItemNotified: received:node:98c781d9-93df-4446-9576-acf71cd66ede:localhost:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:Node 2ea1b722-fb6f-433c-b474-169eab7a20b6 :: false |
createNodes | 1.604s |
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:05 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "pubsub#title": "Node 2ea1b722-fb6f-433c-b474-169eab7a20b6" } 2023-03-29 22:30:05 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:06 | [Mutex] waiting for: [received:nodes:48a08261-5f68-429f-af8a-7c6ab633ee97:localhost] 2023-03-29 22:30:06 | [Mutex] received everything. 2023-03-29 22:30:06 | [Mutex] isItemNotified: received:node:48a08261-5f68-429f-af8a-7c6ab633ee97:localhost:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:Node 2ea1b722-fb6f-433c-b474-169eab7a20b6 :: true |
createSubnodes | 1.022s |
2023-03-29 22:30:06 |
2023-03-29 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:06 | ------------------------------------ 2023-03-29 22:30:06 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-3a26f893-6605-49cb-bce1-978346f3c963", "pubsub#title": "Node 3a26f893-6605-49cb-bce1-978346f3c963" } 2023-03-29 22:30:06 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:07 | [Mutex] waiting for: [received:nodes:6e14d22a-4ffa-447c-8375-8d9526d5be02:localhost] 2023-03-29 22:30:07 | [Mutex] waiting for: [received:nodes:6e14d22a-4ffa-447c-8375-8d9526d5be02:localhost] 2023-03-29 22:30:07 | [Mutex] waiting for: [received:nodes:6e14d22a-4ffa-447c-8375-8d9526d5be02:localhost] 2023-03-29 22:30:07 | [Mutex] waiting for: [received:nodes:6e14d22a-4ffa-447c-8375-8d9526d5be02:localhost] 2023-03-29 22:30:07 | [Mutex] waiting for: [received:nodes:6e14d22a-4ffa-447c-8375-8d9526d5be02:localhost] 2023-03-29 22:30:07 | [Mutex] received everything. 2023-03-29 22:30:07 | [Mutex] isItemNotified: received:node:6e14d22a-4ffa-447c-8375-8d9526d5be02:localhost:node-3a26f893-6605-49cb-bce1-978346f3c963:Node 3a26f893-6605-49cb-bce1-978346f3c963 :: true |
deleteNodes | 1.026s |
2023-03-29 22:30:11 |
2023-03-29 22:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:11 | ------------------------------------ 2023-03-29 22:30:11 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-3a26f893-6605-49cb-bce1-978346f3c963" } 2023-03-29 22:30:11 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:12 | [Mutex] waiting for: [received:nodes:29095ae1-7078-4326-ac4c-052f1a954684:localhost] 2023-03-29 22:30:12 | [Mutex] waiting for: [received:nodes:29095ae1-7078-4326-ac4c-052f1a954684:localhost] 2023-03-29 22:30:12 | [Mutex] received everything. 2023-03-29 22:30:12 | [Mutex] isItemNotified: received:node:29095ae1-7078-4326-ac4c-052f1a954684:localhost:node-3a26f893-6605-49cb-bce1-978346f3c963:Node 3a26f893-6605-49cb-bce1-978346f3c963 :: false |
deleteSubnodes | 1.024s |
2023-03-29 22:30:10 |
2023-03-29 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:10 | ------------------------------------ 2023-03-29 22:30:10 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6" } 2023-03-29 22:30:10 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-29 22:30:11 | [Mutex] waiting for: [received:nodes:34f5e68a-f690-4c3d-9a60-79dae534254f:localhost] 2023-03-29 22:30:11 | [Mutex] waiting for: [received:nodes:34f5e68a-f690-4c3d-9a60-79dae534254f:localhost] 2023-03-29 22:30:11 | [Mutex] waiting for: [received:nodes:34f5e68a-f690-4c3d-9a60-79dae534254f:localhost] 2023-03-29 22:30:11 | [Mutex] waiting for: [received:nodes:34f5e68a-f690-4c3d-9a60-79dae534254f:localhost] 2023-03-29 22:30:11 | [Mutex] received everything. 2023-03-29 22:30:11 | [Mutex] isItemNotified: received:node:34f5e68a-f690-4c3d-9a60-79dae534254f:localhost:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:Node 2ea1b722-fb6f-433c-b474-169eab7a20b6 :: false 2023-03-29 22:30:11 | [Mutex] waiting for: [received:nodes:aac58a0c-baf6-4f58-a4ee-72d5dad41095:localhost] 2023-03-29 22:30:11 | [Mutex] received everything. 2023-03-29 22:30:11 | [Mutex] isItemNotified: received:node:aac58a0c-baf6-4f58-a4ee-72d5dad41095:localhost:node-2ea1b722-fb6f-433c-b474-169eab7a20b6:Node 2ea1b722-fb6f-433c-b474-169eab7a20b6 :: false |
publishItemsToNodes | 0.091s |
2023-03-29 22:30:09 |
2023-03-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:09 | ------------------------------------ 2023-03-29 22:30:09 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "entry": "<test>item-907ac47a-df78-487e-a74a-6282650d08ad</test>", "item-id": "item-907ac47a-df78-487e-a74a-6282650d08ad" } 2023-03-29 22:30:09 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-907ac47a-df78-487e-a74a-6282650d08ad" } 2023-03-29 22:30:09 | [Mutex] waiting for: [published:item:notifieditem-907ac47a-df78-487e-a74a-6282650d08ad:admin@test-domain.com] 2023-03-29 22:30:09 | [Mutex] received everything. 2023-03-29 22:30:09 | [Mutex] isItemNotified: published:item:notifieditem-907ac47a-df78-487e-a74a-6282650d08ad:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2023-03-29 22:30:09 |
2023-03-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:09 | ------------------------------------ 2023-03-29 22:30:09 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "item-id": "item-907ac47a-df78-487e-a74a-6282650d08ad" } 2023-03-29 22:30:09 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-907ac47a-df78-487e-a74a-6282650d08ad" } 2023-03-29 22:30:09 | [Mutex] received everything. 2023-03-29 22:30:09 | [Mutex] isItemNotified: retracted:item:notifieditem-907ac47a-df78-487e-a74a-6282650d08ad:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.031s |
2023-03-29 22:30:09 |
2023-03-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:09 | ------------------------------------ 2023-03-29 22:30:09 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "item-id": "item-907ac47a-df78-487e-a74a-6282650d08ad" } 2023-03-29 22:30:09 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "item-id": "item-907ac47a-df78-487e-a74a-6282650d08ad", "item": [ "<item id=\"item-907ac47a-df78-487e-a74a-6282650d08ad\"><test>item-907ac47a-df78-487e-a74a-6282650d08ad</test></item>" ] } 2023-03-29 22:30:09 | [Mutex] notify: [retrieved:item:item-907ac47a-df78-487e-a74a-6282650d08ad:payload-matches:true:localhost] 2023-03-29 22:30:09 | [Mutex] received everything. 2023-03-29 22:30:09 | [Mutex] isItemNotified: retrieved:item:item-907ac47a-df78-487e-a74a-6282650d08ad:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2023-03-29 22:30:09 |
2023-03-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:09 | ------------------------------------ 2023-03-29 22:30:09 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-29 22:30:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-3a26f893-6605-49cb-bce1-978346f3c963", "test", "node-2ea1b722-fb6f-433c-b474-169eab7a20b6" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-03-29 22:30:09 |
2023-03-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:09 | ------------------------------------ 2023-03-29 22:30:09 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-2ea1b722-fb6f-433c-b474-169eab7a20b6)" } 2023-03-29 22:30:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2023-03-29 22:30:08 |
2023-03-29 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:08 | ------------------------------------ 2023-03-29 22:30:08 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "jids": [ "admin@test-domain.com" ] } 2023-03-29 22:30:08 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.074s |
2023-03-29 22:30:09 |
2023-03-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-29 22:30:09 | ------------------------------------ 2023-03-29 22:30:09 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-2ea1b722-fb6f-433c-b474-169eab7a20b6", "jids": [ "admin@test-domain.com" ] } 2023-03-29 22:30:09 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |