Test duration : 8.718s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.097s |
2022-08-18 22:34:24 |
2022-08-18 22:34:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:24 | ------------------------------------ 2022-08-18 22:34:24 | [Mutex] waiting for: [configured:node:node-e5061686-c3c8-4bed-bc63-cd86e0908070:node-b71b278f-456c-42a5-8008-f1dcdfcfd811] 2022-08-18 22:34:24 | [Mutex] received everything. 2022-08-18 22:34:24 | [Mutex] isItemNotified: configured:node:node-e5061686-c3c8-4bed-bc63-cd86e0908070:node-b71b278f-456c-42a5-8008-f1dcdfcfd811 :: true 2022-08-18 22:34:25 | [Mutex] waiting for: [received:nodes:fd78a05a-a7bc-4dd3-9353-c371fe6fc707:localhost] 2022-08-18 22:34:25 | [Mutex] received everything. 2022-08-18 22:34:25 | [Mutex] isItemNotified: received:node:fd78a05a-a7bc-4dd3-9353-c371fe6fc707:localhost:node-e5061686-c3c8-4bed-bc63-cd86e0908070:Node e5061686-c3c8-4bed-bc63-cd86e0908070 :: true 2022-08-18 22:34:25 | [Mutex] waiting for: [received:nodes:64c91f90-f63a-4355-9990-3f48b4128074:localhost] 2022-08-18 22:34:25 | [Mutex] waiting for: [received:nodes:64c91f90-f63a-4355-9990-3f48b4128074:localhost] 2022-08-18 22:34:25 | [Mutex] received everything. 2022-08-18 22:34:25 | [Mutex] isItemNotified: received:node:64c91f90-f63a-4355-9990-3f48b4128074:localhost:node-e5061686-c3c8-4bed-bc63-cd86e0908070:Node e5061686-c3c8-4bed-bc63-cd86e0908070 :: false |
createNodes | 1.550s |
2022-08-18 22:34:22 |
2022-08-18 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:22 | ------------------------------------ 2022-08-18 22:34:22 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "pubsub#title": "Node e5061686-c3c8-4bed-bc63-cd86e0908070" } 2022-08-18 22:34:22 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-18 22:34:23 | [Mutex] waiting for: [received:nodes:157fb71a-6d63-47d2-860b-7194483a5a6b:localhost] 2022-08-18 22:34:23 | [Mutex] waiting for: [received:nodes:157fb71a-6d63-47d2-860b-7194483a5a6b:localhost] 2022-08-18 22:34:23 | [Mutex] waiting for: [received:nodes:157fb71a-6d63-47d2-860b-7194483a5a6b:localhost] 2022-08-18 22:34:23 | [Mutex] waiting for: [received:nodes:157fb71a-6d63-47d2-860b-7194483a5a6b:localhost] 2022-08-18 22:34:23 | [Mutex] received everything. 2022-08-18 22:34:23 | [Mutex] isItemNotified: received:node:157fb71a-6d63-47d2-860b-7194483a5a6b:localhost:node-e5061686-c3c8-4bed-bc63-cd86e0908070:Node e5061686-c3c8-4bed-bc63-cd86e0908070 :: true |
createSubnodes | 1.024s |
2022-08-18 22:34:23 |
2022-08-18 22:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:23 | ------------------------------------ 2022-08-18 22:34:23 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-b71b278f-456c-42a5-8008-f1dcdfcfd811", "pubsub#title": "Node b71b278f-456c-42a5-8008-f1dcdfcfd811" } 2022-08-18 22:34:23 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-18 22:34:24 | [Mutex] waiting for: [received:nodes:5dc1a2eb-ec17-4eab-8890-e2f0b9660742:localhost] 2022-08-18 22:34:24 | [Mutex] received everything. 2022-08-18 22:34:24 | [Mutex] isItemNotified: received:node:5dc1a2eb-ec17-4eab-8890-e2f0b9660742:localhost:node-b71b278f-456c-42a5-8008-f1dcdfcfd811:Node b71b278f-456c-42a5-8008-f1dcdfcfd811 :: true |
deleteNodes | 1.022s |
2022-08-18 22:34:29 |
2022-08-18 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:29 | ------------------------------------ 2022-08-18 22:34:29 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b71b278f-456c-42a5-8008-f1dcdfcfd811" } 2022-08-18 22:34:29 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-18 22:34:30 | [Mutex] waiting for: [received:nodes:55e80810-40e9-456c-a33d-b16d9df524dd:localhost] 2022-08-18 22:34:30 | [Mutex] received everything. 2022-08-18 22:34:30 | [Mutex] isItemNotified: received:node:55e80810-40e9-456c-a33d-b16d9df524dd:localhost:node-b71b278f-456c-42a5-8008-f1dcdfcfd811:Node b71b278f-456c-42a5-8008-f1dcdfcfd811 :: false |
deleteSubnodes | 1.068s |
2022-08-18 22:34:28 |
2022-08-18 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:28 | ------------------------------------ 2022-08-18 22:34:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070" } 2022-08-18 22:34:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-18 22:34:29 | [Mutex] waiting for: [received:nodes:2a5cc6ab-cd68-41b1-845e-fd418d881ab4:localhost] 2022-08-18 22:34:29 | [Mutex] received everything. 2022-08-18 22:34:29 | [Mutex] isItemNotified: received:node:2a5cc6ab-cd68-41b1-845e-fd418d881ab4:localhost:node-e5061686-c3c8-4bed-bc63-cd86e0908070:Node e5061686-c3c8-4bed-bc63-cd86e0908070 :: false 2022-08-18 22:34:29 | [Mutex] waiting for: [received:nodes:fba18468-6dee-4a06-803a-ec1a8c644fc4:localhost] 2022-08-18 22:34:29 | [Mutex] received everything. 2022-08-18 22:34:29 | [Mutex] isItemNotified: received:node:fba18468-6dee-4a06-803a-ec1a8c644fc4:localhost:node-e5061686-c3c8-4bed-bc63-cd86e0908070:Node e5061686-c3c8-4bed-bc63-cd86e0908070 :: false |
publishItemsToNodes | 0.050s |
2022-08-18 22:34:26 |
2022-08-18 22:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:26 | ------------------------------------ 2022-08-18 22:34:26 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "entry": "<test>item-ecb6b57e-1332-4ecd-b95f-56025305e421</test>", "item-id": "item-ecb6b57e-1332-4ecd-b95f-56025305e421" } 2022-08-18 22:34:26 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-ecb6b57e-1332-4ecd-b95f-56025305e421" } 2022-08-18 22:34:26 | [Mutex] waiting for: [published:item:notifieditem-ecb6b57e-1332-4ecd-b95f-56025305e421:admin@test-domain.com] 2022-08-18 22:34:26 | [Mutex] received everything. 2022-08-18 22:34:26 | [Mutex] isItemNotified: published:item:notifieditem-ecb6b57e-1332-4ecd-b95f-56025305e421:admin@test-domain.com :: true |
retractItemsFromNodes | 0.064s |
2022-08-18 22:34:27 |
2022-08-18 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:27 | ------------------------------------ 2022-08-18 22:34:27 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "item-id": "item-ecb6b57e-1332-4ecd-b95f-56025305e421" } 2022-08-18 22:34:27 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-ecb6b57e-1332-4ecd-b95f-56025305e421" } 2022-08-18 22:34:27 | [Mutex] received everything. 2022-08-18 22:34:27 | [Mutex] isItemNotified: retracted:item:notifieditem-ecb6b57e-1332-4ecd-b95f-56025305e421:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.099s |
2022-08-18 22:34:26 |
2022-08-18 22:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:26 | ------------------------------------ 2022-08-18 22:34:26 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "item-id": "item-ecb6b57e-1332-4ecd-b95f-56025305e421" } 2022-08-18 22:34:27 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "item-id": "item-ecb6b57e-1332-4ecd-b95f-56025305e421", "item": [ "<item id=\"item-ecb6b57e-1332-4ecd-b95f-56025305e421\"><test>item-ecb6b57e-1332-4ecd-b95f-56025305e421</test></item>" ] } 2022-08-18 22:34:27 | [Mutex] notify: [retrieved:item:item-ecb6b57e-1332-4ecd-b95f-56025305e421:payload-matches:true:localhost] 2022-08-18 22:34:27 | [Mutex] received everything. 2022-08-18 22:34:27 | [Mutex] isItemNotified: retrieved:item:item-ecb6b57e-1332-4ecd-b95f-56025305e421:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-08-18 22:34:27 |
2022-08-18 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:27 | ------------------------------------ 2022-08-18 22:34:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-18 22:34:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "node-b71b278f-456c-42a5-8008-f1dcdfcfd811" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-08-18 22:34:27 |
2022-08-18 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:27 | ------------------------------------ 2022-08-18 22:34:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-e5061686-c3c8-4bed-bc63-cd86e0908070)" } 2022-08-18 22:34:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2022-08-18 22:34:25 |
2022-08-18 22:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:25 | ------------------------------------ 2022-08-18 22:34:25 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "jids": [ "admin@test-domain.com" ] } 2022-08-18 22:34:25 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.051s |
2022-08-18 22:34:27 |
2022-08-18 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-18 22:34:27 | ------------------------------------ 2022-08-18 22:34:27 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-e5061686-c3c8-4bed-bc63-cd86e0908070", "jids": [ "admin@test-domain.com" ] } 2022-08-18 22:34:27 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |