Test duration : 8.590s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.110s |
2023-07-05 21:53:40 |
2023-07-05 21:53:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:40 | ------------------------------------ 2023-07-05 21:53:40 | [Mutex] waiting for: [configured:node:node-9bae43a8-d48f-4042-ab3c-8354544a7536:node-bd41fa46-6528-40ea-ad9b-629677bbf3c5] 2023-07-05 21:53:40 | [Mutex] received everything. 2023-07-05 21:53:40 | [Mutex] isItemNotified: configured:node:node-9bae43a8-d48f-4042-ab3c-8354544a7536:node-bd41fa46-6528-40ea-ad9b-629677bbf3c5 :: true 2023-07-05 21:53:41 | [Mutex] waiting for: [received:nodes:109a395b-ed7d-4003-a293-b08f1ab4d8d7:localhost] 2023-07-05 21:53:41 | [Mutex] received everything. 2023-07-05 21:53:41 | [Mutex] isItemNotified: received:node:109a395b-ed7d-4003-a293-b08f1ab4d8d7:localhost:node-9bae43a8-d48f-4042-ab3c-8354544a7536:Node 9bae43a8-d48f-4042-ab3c-8354544a7536 :: true 2023-07-05 21:53:41 | [Mutex] waiting for: [received:nodes:446f9923-6e83-4f3b-80d4-e81bfc142038:localhost] 2023-07-05 21:53:41 | [Mutex] waiting for: [received:nodes:446f9923-6e83-4f3b-80d4-e81bfc142038:localhost] 2023-07-05 21:53:41 | [Mutex] waiting for: [received:nodes:446f9923-6e83-4f3b-80d4-e81bfc142038:localhost] 2023-07-05 21:53:41 | [Mutex] waiting for: [received:nodes:446f9923-6e83-4f3b-80d4-e81bfc142038:localhost] 2023-07-05 21:53:41 | [Mutex] received everything. 2023-07-05 21:53:41 | [Mutex] isItemNotified: received:node:446f9923-6e83-4f3b-80d4-e81bfc142038:localhost:node-9bae43a8-d48f-4042-ab3c-8354544a7536:Node 9bae43a8-d48f-4042-ab3c-8354544a7536 :: false |
createNodes | 1.602s |
2023-07-05 21:53:37 |
2023-07-05 21:53:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:37 | ------------------------------------ 2023-07-05 21:53:37 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "pubsub#title": "Node 9bae43a8-d48f-4042-ab3c-8354544a7536" } 2023-07-05 21:53:37 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:53:38 | [Mutex] waiting for: [received:nodes:50579e92-d53a-48ff-a658-ba2ac7c4a7e2:localhost] 2023-07-05 21:53:38 | [Mutex] waiting for: [received:nodes:50579e92-d53a-48ff-a658-ba2ac7c4a7e2:localhost] 2023-07-05 21:53:38 | [Mutex] waiting for: [received:nodes:50579e92-d53a-48ff-a658-ba2ac7c4a7e2:localhost] 2023-07-05 21:53:38 | [Mutex] waiting for: [received:nodes:50579e92-d53a-48ff-a658-ba2ac7c4a7e2:localhost] 2023-07-05 21:53:38 | [Mutex] received everything. 2023-07-05 21:53:38 | [Mutex] isItemNotified: received:node:50579e92-d53a-48ff-a658-ba2ac7c4a7e2:localhost:node-9bae43a8-d48f-4042-ab3c-8354544a7536:Node 9bae43a8-d48f-4042-ab3c-8354544a7536 :: true |
createSubnodes | 1.074s |
2023-07-05 21:53:39 |
2023-07-05 21:53:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:39 | ------------------------------------ 2023-07-05 21:53:39 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-bd41fa46-6528-40ea-ad9b-629677bbf3c5", "pubsub#title": "Node bd41fa46-6528-40ea-ad9b-629677bbf3c5" } 2023-07-05 21:53:39 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:53:40 | [Mutex] waiting for: [received:nodes:cae87d4a-c4aa-44ce-bf39-3112dba69009:localhost] 2023-07-05 21:53:40 | [Mutex] waiting for: [received:nodes:cae87d4a-c4aa-44ce-bf39-3112dba69009:localhost] 2023-07-05 21:53:40 | [Mutex] waiting for: [received:nodes:cae87d4a-c4aa-44ce-bf39-3112dba69009:localhost] 2023-07-05 21:53:40 | [Mutex] waiting for: [received:nodes:cae87d4a-c4aa-44ce-bf39-3112dba69009:localhost] 2023-07-05 21:53:40 | [Mutex] received everything. 2023-07-05 21:53:40 | [Mutex] isItemNotified: received:node:cae87d4a-c4aa-44ce-bf39-3112dba69009:localhost:node-bd41fa46-6528-40ea-ad9b-629677bbf3c5:Node bd41fa46-6528-40ea-ad9b-629677bbf3c5 :: true |
deleteNodes | 1.024s |
2023-07-05 21:53:44 |
2023-07-05 21:53:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:44 | ------------------------------------ 2023-07-05 21:53:44 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-bd41fa46-6528-40ea-ad9b-629677bbf3c5" } 2023-07-05 21:53:44 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:53:45 | [Mutex] waiting for: [received:nodes:3de93c43-d5ad-4b8b-80c9-2d1d0b47f6b1:localhost] 2023-07-05 21:53:45 | [Mutex] waiting for: [received:nodes:3de93c43-d5ad-4b8b-80c9-2d1d0b47f6b1:localhost] 2023-07-05 21:53:45 | [Mutex] waiting for: [received:nodes:3de93c43-d5ad-4b8b-80c9-2d1d0b47f6b1:localhost] 2023-07-05 21:53:45 | [Mutex] received everything. 2023-07-05 21:53:45 | [Mutex] isItemNotified: received:node:3de93c43-d5ad-4b8b-80c9-2d1d0b47f6b1:localhost:node-bd41fa46-6528-40ea-ad9b-629677bbf3c5:Node bd41fa46-6528-40ea-ad9b-629677bbf3c5 :: false |
deleteSubnodes | 1.022s |
2023-07-05 21:53:43 |
2023-07-05 21:53:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:43 | ------------------------------------ 2023-07-05 21:53:43 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536" } 2023-07-05 21:53:43 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:53:44 | [Mutex] waiting for: [received:nodes:7d66832d-bb7b-4ab2-a523-f4daa384bc23:localhost] 2023-07-05 21:53:44 | [Mutex] waiting for: [received:nodes:7d66832d-bb7b-4ab2-a523-f4daa384bc23:localhost] 2023-07-05 21:53:44 | [Mutex] waiting for: [received:nodes:7d66832d-bb7b-4ab2-a523-f4daa384bc23:localhost] 2023-07-05 21:53:44 | [Mutex] waiting for: [received:nodes:7d66832d-bb7b-4ab2-a523-f4daa384bc23:localhost] 2023-07-05 21:53:44 | [Mutex] received everything. 2023-07-05 21:53:44 | [Mutex] isItemNotified: received:node:7d66832d-bb7b-4ab2-a523-f4daa384bc23:localhost:node-9bae43a8-d48f-4042-ab3c-8354544a7536:Node 9bae43a8-d48f-4042-ab3c-8354544a7536 :: false 2023-07-05 21:53:44 | [Mutex] waiting for: [received:nodes:097ea1d0-9140-4007-920c-0fe72e8db2e4:localhost] 2023-07-05 21:53:44 | [Mutex] received everything. 2023-07-05 21:53:44 | [Mutex] isItemNotified: received:node:097ea1d0-9140-4007-920c-0fe72e8db2e4:localhost:node-9bae43a8-d48f-4042-ab3c-8354544a7536:Node 9bae43a8-d48f-4042-ab3c-8354544a7536 :: false |
publishItemsToNodes | 0.041s |
2023-07-05 21:53:42 |
2023-07-05 21:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:42 | ------------------------------------ 2023-07-05 21:53:42 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "entry": "<test>item-568c9081-eaf2-43f3-a279-a382c744198a</test>", "item-id": "item-568c9081-eaf2-43f3-a279-a382c744198a" } 2023-07-05 21:53:42 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-568c9081-eaf2-43f3-a279-a382c744198a" } 2023-07-05 21:53:42 | [Mutex] waiting for: [published:item:notifieditem-568c9081-eaf2-43f3-a279-a382c744198a:admin@test-domain.com] 2023-07-05 21:53:42 | [Mutex] received everything. 2023-07-05 21:53:42 | [Mutex] isItemNotified: published:item:notifieditem-568c9081-eaf2-43f3-a279-a382c744198a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-07-05 21:53:42 |
2023-07-05 21:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:42 | ------------------------------------ 2023-07-05 21:53:42 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "item-id": "item-568c9081-eaf2-43f3-a279-a382c744198a" } 2023-07-05 21:53:42 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-568c9081-eaf2-43f3-a279-a382c744198a" } 2023-07-05 21:53:42 | [Mutex] waiting for: [retracted:item:notifieditem-568c9081-eaf2-43f3-a279-a382c744198a:admin@test-domain.com] 2023-07-05 21:53:42 | [Mutex] received everything. 2023-07-05 21:53:42 | [Mutex] isItemNotified: retracted:item:notifieditem-568c9081-eaf2-43f3-a279-a382c744198a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.057s |
2023-07-05 21:53:42 |
2023-07-05 21:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:42 | ------------------------------------ 2023-07-05 21:53:42 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "item-id": "item-568c9081-eaf2-43f3-a279-a382c744198a" } 2023-07-05 21:53:42 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "item-id": "item-568c9081-eaf2-43f3-a279-a382c744198a", "item": [ "<item id=\"item-568c9081-eaf2-43f3-a279-a382c744198a\"><test>item-568c9081-eaf2-43f3-a279-a382c744198a</test></item>" ] } 2023-07-05 21:53:42 | [Mutex] notify: [retrieved:item:item-568c9081-eaf2-43f3-a279-a382c744198a:payload-matches:true:localhost] 2023-07-05 21:53:42 | [Mutex] received everything. 2023-07-05 21:53:42 | [Mutex] isItemNotified: retrieved:item:item-568c9081-eaf2-43f3-a279-a382c744198a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-07-05 21:53:42 |
2023-07-05 21:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:42 | ------------------------------------ 2023-07-05 21:53:42 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-05 21:53:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "test", "node-bd41fa46-6528-40ea-ad9b-629677bbf3c5" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-07-05 21:53:42 |
2023-07-05 21:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:42 | ------------------------------------ 2023-07-05 21:53:42 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-9bae43a8-d48f-4042-ab3c-8354544a7536)" } 2023-07-05 21:53:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-07-05 21:53:41 |
2023-07-05 21:53:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:41 | ------------------------------------ 2023-07-05 21:53:41 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "jids": [ "admin@test-domain.com" ] } 2023-07-05 21:53:41 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.047s |
2023-07-05 21:53:42 |
2023-07-05 21:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:53:42 | ------------------------------------ 2023-07-05 21:53:42 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-9bae43a8-d48f-4042-ab3c-8354544a7536", "jids": [ "admin@test-domain.com" ] } 2023-07-05 21:53:42 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |