Test duration : 9.109s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.114s |
2021-04-23 10:01:17 |
2021-04-23 10:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:17 | ------------------------------------ 2021-04-23 10:01:17 | [Mutex] waiting for: [configured:node:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:node-e2d78553-b64b-4213-9309-da614ba5d138] 2021-04-23 10:01:17 | [Mutex] received everything. 2021-04-23 10:01:17 | [Mutex] isItemNotified: configured:node:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:node-e2d78553-b64b-4213-9309-da614ba5d138 :: true 2021-04-23 10:01:18 | [Mutex] waiting for: [received:nodes:a3ba3d38-d55a-4dbe-a8fa-8b8fd7308ba1:localhost] 2021-04-23 10:01:18 | [Mutex] received everything. 2021-04-23 10:01:18 | [Mutex] isItemNotified: received:node:a3ba3d38-d55a-4dbe-a8fa-8b8fd7308ba1:localhost:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:Node 455ec132-1c21-4fa2-a4d9-f66a5c059927 :: true 2021-04-23 10:01:18 | [Mutex] waiting for: [received:nodes:37510559-a48a-4617-83d5-d5ec6455963d:localhost] 2021-04-23 10:01:18 | [Mutex] waiting for: [received:nodes:37510559-a48a-4617-83d5-d5ec6455963d:localhost] 2021-04-23 10:01:18 | [Mutex] received everything. 2021-04-23 10:01:18 | [Mutex] isItemNotified: received:node:37510559-a48a-4617-83d5-d5ec6455963d:localhost:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:Node 455ec132-1c21-4fa2-a4d9-f66a5c059927 :: false |
createNodes | 1.611s |
2021-04-23 10:01:14 |
2021-04-23 10:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:14 | ------------------------------------ 2021-04-23 10:01:15 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "pubsub#title": "Node 455ec132-1c21-4fa2-a4d9-f66a5c059927" } 2021-04-23 10:01:15 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:01:16 | [Mutex] waiting for: [received:nodes:0a1eddea-0b7c-4e29-ab85-02e92f66075f:localhost] 2021-04-23 10:01:16 | [Mutex] received everything. 2021-04-23 10:01:16 | [Mutex] isItemNotified: received:node:0a1eddea-0b7c-4e29-ab85-02e92f66075f:localhost:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:Node 455ec132-1c21-4fa2-a4d9-f66a5c059927 :: true |
createSubnodes | 1.024s |
2021-04-23 10:01:16 |
2021-04-23 10:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:16 | ------------------------------------ 2021-04-23 10:01:16 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e2d78553-b64b-4213-9309-da614ba5d138", "pubsub#title": "Node e2d78553-b64b-4213-9309-da614ba5d138" } 2021-04-23 10:01:16 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:01:17 | [Mutex] waiting for: [received:nodes:1e37b56c-d7e2-4b72-9420-e70b68a6f3d1:localhost] 2021-04-23 10:01:17 | [Mutex] received everything. 2021-04-23 10:01:17 | [Mutex] isItemNotified: received:node:1e37b56c-d7e2-4b72-9420-e70b68a6f3d1:localhost:node-e2d78553-b64b-4213-9309-da614ba5d138:Node e2d78553-b64b-4213-9309-da614ba5d138 :: true |
deleteNodes | 1.022s |
2021-04-23 10:01:21 |
2021-04-23 10:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:21 | ------------------------------------ 2021-04-23 10:01:21 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e2d78553-b64b-4213-9309-da614ba5d138" } 2021-04-23 10:01:21 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:01:22 | [Mutex] waiting for: [received:nodes:c0c414d1-dafa-4787-be6c-d0f058ae93cf:localhost] 2021-04-23 10:01:22 | [Mutex] waiting for: [received:nodes:c0c414d1-dafa-4787-be6c-d0f058ae93cf:localhost] 2021-04-23 10:01:22 | [Mutex] received everything. 2021-04-23 10:01:22 | [Mutex] isItemNotified: received:node:c0c414d1-dafa-4787-be6c-d0f058ae93cf:localhost:node-e2d78553-b64b-4213-9309-da614ba5d138:Node e2d78553-b64b-4213-9309-da614ba5d138 :: false |
deleteSubnodes | 1.028s |
2021-04-23 10:01:20 |
2021-04-23 10:01:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:20 | ------------------------------------ 2021-04-23 10:01:20 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927" } 2021-04-23 10:01:20 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:01:21 | [Mutex] waiting for: [received:nodes:f36468a2-cc51-4c1f-8620-53c1576e3336:localhost] 2021-04-23 10:01:21 | [Mutex] received everything. 2021-04-23 10:01:21 | [Mutex] isItemNotified: received:node:f36468a2-cc51-4c1f-8620-53c1576e3336:localhost:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:Node 455ec132-1c21-4fa2-a4d9-f66a5c059927 :: false 2021-04-23 10:01:21 | [Mutex] waiting for: [received:nodes:918cc159-4046-4119-8458-fe2896d2958f:localhost] 2021-04-23 10:01:21 | [Mutex] received everything. 2021-04-23 10:01:21 | [Mutex] isItemNotified: received:node:918cc159-4046-4119-8458-fe2896d2958f:localhost:node-455ec132-1c21-4fa2-a4d9-f66a5c059927:Node 455ec132-1c21-4fa2-a4d9-f66a5c059927 :: false |
publishItemsToNodes | 0.096s |
2021-04-23 10:01:19 |
2021-04-23 10:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:19 | ------------------------------------ 2021-04-23 10:01:19 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "entry": "<test>item-c10187df-c45c-4cc8-bd11-ce3c8d66acba</test>", "item-id": "item-c10187df-c45c-4cc8-bd11-ce3c8d66acba" } 2021-04-23 10:01:19 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c10187df-c45c-4cc8-bd11-ce3c8d66acba" } 2021-04-23 10:01:19 | [Mutex] waiting for: [published:item:notifieditem-c10187df-c45c-4cc8-bd11-ce3c8d66acba:admin@test-domain.com] 2021-04-23 10:01:19 | [Mutex] received everything. 2021-04-23 10:01:19 | [Mutex] isItemNotified: published:item:notifieditem-c10187df-c45c-4cc8-bd11-ce3c8d66acba:admin@test-domain.com :: true |
retractItemsFromNodes | 0.076s |
2021-04-23 10:01:19 |
2021-04-23 10:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:19 | ------------------------------------ 2021-04-23 10:01:19 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "item-id": "item-c10187df-c45c-4cc8-bd11-ce3c8d66acba" } 2021-04-23 10:01:19 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c10187df-c45c-4cc8-bd11-ce3c8d66acba" } 2021-04-23 10:01:19 | [Mutex] waiting for: [retracted:item:notifieditem-c10187df-c45c-4cc8-bd11-ce3c8d66acba:admin@test-domain.com] 2021-04-23 10:01:19 | [Mutex] received everything. 2021-04-23 10:01:19 | [Mutex] isItemNotified: retracted:item:notifieditem-c10187df-c45c-4cc8-bd11-ce3c8d66acba:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.029s |
2021-04-23 10:01:19 |
2021-04-23 10:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:19 | ------------------------------------ 2021-04-23 10:01:19 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "item-id": "item-c10187df-c45c-4cc8-bd11-ce3c8d66acba" } 2021-04-23 10:01:19 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "item-id": "item-c10187df-c45c-4cc8-bd11-ce3c8d66acba", "item": [ "<item id=\"item-c10187df-c45c-4cc8-bd11-ce3c8d66acba\"><test>item-c10187df-c45c-4cc8-bd11-ce3c8d66acba</test></item>" ] } 2021-04-23 10:01:19 | [Mutex] notify: [retrieved:item:item-c10187df-c45c-4cc8-bd11-ce3c8d66acba:payload-matches:true:localhost] 2021-04-23 10:01:19 | [Mutex] received everything. 2021-04-23 10:01:19 | [Mutex] isItemNotified: retrieved:item:item-c10187df-c45c-4cc8-bd11-ce3c8d66acba:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-04-23 10:01:19 |
2021-04-23 10:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:19 | ------------------------------------ 2021-04-23 10:01:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-23 10:01:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "test", "node-e2d78553-b64b-4213-9309-da614ba5d138" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-04-23 10:01:19 |
2021-04-23 10:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:19 | ------------------------------------ 2021-04-23 10:01:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-455ec132-1c21-4fa2-a4d9-f66a5c059927)" } 2021-04-23 10:01:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2021-04-23 10:01:18 |
2021-04-23 10:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:18 | ------------------------------------ 2021-04-23 10:01:18 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "jids": [ "admin@test-domain.com" ] } 2021-04-23 10:01:18 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.156s |
2021-04-23 10:01:19 |
2021-04-23 10:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:01:19 | ------------------------------------ 2021-04-23 10:01:19 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-455ec132-1c21-4fa2-a4d9-f66a5c059927", "jids": [ "admin@test-domain.com" ] } 2021-04-23 10:01:19 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |