Test duration : 8.746s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.107s |
2022-10-25 04:28:45 |
2022-10-25 04:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:45 | ------------------------------------ 2022-10-25 04:28:45 | [Mutex] waiting for: [configured:node:node-2648d51e-eaa7-4810-bc6e-da090f223076:node-5b1feacc-0651-4936-ab71-8ecc5b143c1b] 2022-10-25 04:28:45 | [Mutex] received everything. 2022-10-25 04:28:45 | [Mutex] isItemNotified: configured:node:node-2648d51e-eaa7-4810-bc6e-da090f223076:node-5b1feacc-0651-4936-ab71-8ecc5b143c1b :: true 2022-10-25 04:28:46 | [Mutex] waiting for: [received:nodes:2e57e534-ba7c-451b-a7e6-cd1d045f42e6:localhost] 2022-10-25 04:28:46 | [Mutex] received everything. 2022-10-25 04:28:46 | [Mutex] isItemNotified: received:node:2e57e534-ba7c-451b-a7e6-cd1d045f42e6:localhost:node-2648d51e-eaa7-4810-bc6e-da090f223076:Node 2648d51e-eaa7-4810-bc6e-da090f223076 :: true 2022-10-25 04:28:46 | [Mutex] waiting for: [received:nodes:f9b0ba25-19bf-4263-9ef6-b70bb1a0e5e4:localhost] 2022-10-25 04:28:46 | [Mutex] received everything. 2022-10-25 04:28:46 | [Mutex] isItemNotified: received:node:f9b0ba25-19bf-4263-9ef6-b70bb1a0e5e4:localhost:node-2648d51e-eaa7-4810-bc6e-da090f223076:Node 2648d51e-eaa7-4810-bc6e-da090f223076 :: false |
createNodes | 1.680s |
2022-10-25 04:28:43 |
2022-10-25 04:28:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:43 | ------------------------------------ 2022-10-25 04:28:43 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "pubsub#title": "Node 2648d51e-eaa7-4810-bc6e-da090f223076" } 2022-10-25 04:28:43 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-10-25 04:28:44 | [Mutex] waiting for: [received:nodes:a708c077-d6a1-4d8d-ac4c-f8c329fc7d35:localhost] 2022-10-25 04:28:44 | [Mutex] received everything. 2022-10-25 04:28:44 | [Mutex] isItemNotified: received:node:a708c077-d6a1-4d8d-ac4c-f8c329fc7d35:localhost:node-2648d51e-eaa7-4810-bc6e-da090f223076:Node 2648d51e-eaa7-4810-bc6e-da090f223076 :: true |
createSubnodes | 1.021s |
2022-10-25 04:28:44 |
2022-10-25 04:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:44 | ------------------------------------ 2022-10-25 04:28:44 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-5b1feacc-0651-4936-ab71-8ecc5b143c1b", "pubsub#title": "Node 5b1feacc-0651-4936-ab71-8ecc5b143c1b" } 2022-10-25 04:28:44 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-10-25 04:28:45 | [Mutex] waiting for: [received:nodes:93ec8540-1f9b-433a-a484-2c1989efb173:localhost] 2022-10-25 04:28:45 | [Mutex] received everything. 2022-10-25 04:28:45 | [Mutex] isItemNotified: received:node:93ec8540-1f9b-433a-a484-2c1989efb173:localhost:node-5b1feacc-0651-4936-ab71-8ecc5b143c1b:Node 5b1feacc-0651-4936-ab71-8ecc5b143c1b :: true |
deleteNodes | 1.017s |
2022-10-25 04:28:50 |
2022-10-25 04:28:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:50 | ------------------------------------ 2022-10-25 04:28:50 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-5b1feacc-0651-4936-ab71-8ecc5b143c1b" } 2022-10-25 04:28:50 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-10-25 04:28:51 | [Mutex] waiting for: [received:nodes:c1222d64-f660-442d-8d25-73f135967e92:localhost] 2022-10-25 04:28:51 | [Mutex] received everything. 2022-10-25 04:28:51 | [Mutex] isItemNotified: received:node:c1222d64-f660-442d-8d25-73f135967e92:localhost:node-5b1feacc-0651-4936-ab71-8ecc5b143c1b:Node 5b1feacc-0651-4936-ab71-8ecc5b143c1b :: false |
deleteSubnodes | 1.023s |
2022-10-25 04:28:49 |
2022-10-25 04:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:49 | ------------------------------------ 2022-10-25 04:28:49 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076" } 2022-10-25 04:28:49 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-10-25 04:28:50 | [Mutex] waiting for: [received:nodes:5e59aa05-f327-4a20-8aa7-3ab7c44a1edd:localhost] 2022-10-25 04:28:50 | [Mutex] waiting for: [received:nodes:5e59aa05-f327-4a20-8aa7-3ab7c44a1edd:localhost] 2022-10-25 04:28:50 | [Mutex] received everything. 2022-10-25 04:28:50 | [Mutex] isItemNotified: received:node:5e59aa05-f327-4a20-8aa7-3ab7c44a1edd:localhost:node-2648d51e-eaa7-4810-bc6e-da090f223076:Node 2648d51e-eaa7-4810-bc6e-da090f223076 :: false 2022-10-25 04:28:50 | [Mutex] waiting for: [received:nodes:ef5fae48-4cb7-4d0f-a63b-fbb3178d70dc:localhost] 2022-10-25 04:28:50 | [Mutex] received everything. 2022-10-25 04:28:50 | [Mutex] isItemNotified: received:node:ef5fae48-4cb7-4d0f-a63b-fbb3178d70dc:localhost:node-2648d51e-eaa7-4810-bc6e-da090f223076:Node 2648d51e-eaa7-4810-bc6e-da090f223076 :: false |
publishItemsToNodes | 0.043s |
2022-10-25 04:28:47 |
2022-10-25 04:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:47 | ------------------------------------ 2022-10-25 04:28:47 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "entry": "<test>item-14ac1038-bdde-4944-84f5-222441076608</test>", "item-id": "item-14ac1038-bdde-4944-84f5-222441076608" } 2022-10-25 04:28:47 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-14ac1038-bdde-4944-84f5-222441076608" } 2022-10-25 04:28:47 | [Mutex] waiting for: [published:item:notifieditem-14ac1038-bdde-4944-84f5-222441076608:admin@test-domain.com] 2022-10-25 04:28:47 | [Mutex] received everything. 2022-10-25 04:28:47 | [Mutex] isItemNotified: published:item:notifieditem-14ac1038-bdde-4944-84f5-222441076608:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2022-10-25 04:28:48 |
2022-10-25 04:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:48 | ------------------------------------ 2022-10-25 04:28:48 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "item-id": "item-14ac1038-bdde-4944-84f5-222441076608" } 2022-10-25 04:28:48 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-14ac1038-bdde-4944-84f5-222441076608" } 2022-10-25 04:28:48 | [Mutex] waiting for: [retracted:item:notifieditem-14ac1038-bdde-4944-84f5-222441076608:admin@test-domain.com] 2022-10-25 04:28:48 | [Mutex] received everything. 2022-10-25 04:28:48 | [Mutex] isItemNotified: retracted:item:notifieditem-14ac1038-bdde-4944-84f5-222441076608:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.057s |
2022-10-25 04:28:47 |
2022-10-25 04:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:47 | ------------------------------------ 2022-10-25 04:28:47 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "item-id": "item-14ac1038-bdde-4944-84f5-222441076608" } 2022-10-25 04:28:48 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "item-id": "item-14ac1038-bdde-4944-84f5-222441076608", "item": [ "<item id=\"item-14ac1038-bdde-4944-84f5-222441076608\"><test>item-14ac1038-bdde-4944-84f5-222441076608</test></item>" ] } 2022-10-25 04:28:48 | [Mutex] notify: [retrieved:item:item-14ac1038-bdde-4944-84f5-222441076608:payload-matches:true:localhost] 2022-10-25 04:28:48 | [Mutex] received everything. 2022-10-25 04:28:48 | [Mutex] isItemNotified: retrieved:item:item-14ac1038-bdde-4944-84f5-222441076608:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-10-25 04:28:48 |
2022-10-25 04:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:48 | ------------------------------------ 2022-10-25 04:28:48 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-10-25 04:28:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-2648d51e-eaa7-4810-bc6e-da090f223076", "node-5b1feacc-0651-4936-ab71-8ecc5b143c1b" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-10-25 04:28:48 |
2022-10-25 04:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:48 | ------------------------------------ 2022-10-25 04:28:48 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-2648d51e-eaa7-4810-bc6e-da090f223076)" } 2022-10-25 04:28:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.008s |
2022-10-25 04:28:46 |
2022-10-25 04:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:46 | ------------------------------------ 2022-10-25 04:28:46 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "jids": [ "admin@test-domain.com" ] } 2022-10-25 04:28:46 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.069s |
2022-10-25 04:28:48 |
2022-10-25 04:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-10-25 04:28:48 | ------------------------------------ 2022-10-25 04:28:48 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-2648d51e-eaa7-4810-bc6e-da090f223076", "jids": [ "admin@test-domain.com" ] } 2022-10-25 04:28:48 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |