Test duration : 9.128s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.124s |
2021-05-27 10:00:59 |
2021-05-27 10:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:00:59 | ------------------------------------ 2021-05-27 10:00:59 | [Mutex] waiting for: [configured:node:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:node-6d2f8fbc-317a-4bcf-980b-f1e62486a916] 2021-05-27 10:00:59 | [Mutex] received everything. 2021-05-27 10:00:59 | [Mutex] isItemNotified: configured:node:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:node-6d2f8fbc-317a-4bcf-980b-f1e62486a916 :: true 2021-05-27 10:01:00 | [Mutex] waiting for: [received:nodes:2ba74bb7-0407-4d8f-97f8-425e15e537a1:localhost] 2021-05-27 10:01:00 | [Mutex] waiting for: [received:nodes:2ba74bb7-0407-4d8f-97f8-425e15e537a1:localhost] 2021-05-27 10:01:00 | [Mutex] received everything. 2021-05-27 10:01:00 | [Mutex] isItemNotified: received:node:2ba74bb7-0407-4d8f-97f8-425e15e537a1:localhost:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:Node 6a548ab8-a7a0-48a0-8f43-1ed78913ae93 :: true 2021-05-27 10:01:00 | [Mutex] waiting for: [received:nodes:81e08d98-6e5b-45bb-8611-0d9d7fc964c1:localhost] 2021-05-27 10:01:00 | [Mutex] received everything. 2021-05-27 10:01:00 | [Mutex] isItemNotified: received:node:81e08d98-6e5b-45bb-8611-0d9d7fc964c1:localhost:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:Node 6a548ab8-a7a0-48a0-8f43-1ed78913ae93 :: false |
createNodes | 1.655s |
2021-05-27 10:00:56 |
2021-05-27 10:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:00:56 | ------------------------------------ 2021-05-27 10:00:57 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "pubsub#title": "Node 6a548ab8-a7a0-48a0-8f43-1ed78913ae93" } 2021-05-27 10:00:57 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-27 10:00:58 | [Mutex] waiting for: [received:nodes:1014ff9d-7aa5-4ba5-87dd-c674d2db622a:localhost] 2021-05-27 10:00:58 | [Mutex] received everything. 2021-05-27 10:00:58 | [Mutex] isItemNotified: received:node:1014ff9d-7aa5-4ba5-87dd-c674d2db622a:localhost:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:Node 6a548ab8-a7a0-48a0-8f43-1ed78913ae93 :: true |
createSubnodes | 1.027s |
2021-05-27 10:00:58 |
2021-05-27 10:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:00:58 | ------------------------------------ 2021-05-27 10:00:58 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-6d2f8fbc-317a-4bcf-980b-f1e62486a916", "pubsub#title": "Node 6d2f8fbc-317a-4bcf-980b-f1e62486a916" } 2021-05-27 10:00:58 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-27 10:00:59 | [Mutex] waiting for: [received:nodes:961a1c1a-2e0f-4a59-b9b0-d6b49cc85902:localhost] 2021-05-27 10:00:59 | [Mutex] received everything. 2021-05-27 10:00:59 | [Mutex] isItemNotified: received:node:961a1c1a-2e0f-4a59-b9b0-d6b49cc85902:localhost:node-6d2f8fbc-317a-4bcf-980b-f1e62486a916:Node 6d2f8fbc-317a-4bcf-980b-f1e62486a916 :: true |
deleteNodes | 1.019s |
2021-05-27 10:01:03 |
2021-05-27 10:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:03 | ------------------------------------ 2021-05-27 10:01:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-6d2f8fbc-317a-4bcf-980b-f1e62486a916" } 2021-05-27 10:01:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-27 10:01:04 | [Mutex] waiting for: [received:nodes:b1166a3b-0519-4015-820e-c79442677457:localhost] 2021-05-27 10:01:04 | [Mutex] received everything. 2021-05-27 10:01:04 | [Mutex] isItemNotified: received:node:b1166a3b-0519-4015-820e-c79442677457:localhost:node-6d2f8fbc-317a-4bcf-980b-f1e62486a916:Node 6d2f8fbc-317a-4bcf-980b-f1e62486a916 :: false |
deleteSubnodes | 1.027s |
2021-05-27 10:01:02 |
2021-05-27 10:01:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:02 | ------------------------------------ 2021-05-27 10:01:02 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93" } 2021-05-27 10:01:02 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-27 10:01:03 | [Mutex] waiting for: [received:nodes:232ff9e3-bfce-48e8-a98a-4161f4a914f0:localhost] 2021-05-27 10:01:03 | [Mutex] received everything. 2021-05-27 10:01:03 | [Mutex] isItemNotified: received:node:232ff9e3-bfce-48e8-a98a-4161f4a914f0:localhost:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:Node 6a548ab8-a7a0-48a0-8f43-1ed78913ae93 :: false 2021-05-27 10:01:03 | [Mutex] waiting for: [received:nodes:7c565b47-84f9-4a27-b012-918b7d472639:localhost] 2021-05-27 10:01:03 | [Mutex] received everything. 2021-05-27 10:01:03 | [Mutex] isItemNotified: received:node:7c565b47-84f9-4a27-b012-918b7d472639:localhost:node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93:Node 6a548ab8-a7a0-48a0-8f43-1ed78913ae93 :: false |
publishItemsToNodes | 0.099s |
2021-05-27 10:01:01 |
2021-05-27 10:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:01 | ------------------------------------ 2021-05-27 10:01:01 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "entry": "<test>item-e6440b40-c00a-41a4-baa3-ac8baaede4d0</test>", "item-id": "item-e6440b40-c00a-41a4-baa3-ac8baaede4d0" } 2021-05-27 10:01:01 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e6440b40-c00a-41a4-baa3-ac8baaede4d0" } 2021-05-27 10:01:01 | [Mutex] waiting for: [published:item:notifieditem-e6440b40-c00a-41a4-baa3-ac8baaede4d0:admin@test-domain.com] 2021-05-27 10:01:01 | [Mutex] received everything. 2021-05-27 10:01:01 | [Mutex] isItemNotified: published:item:notifieditem-e6440b40-c00a-41a4-baa3-ac8baaede4d0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.066s |
2021-05-27 10:01:01 |
2021-05-27 10:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:01 | ------------------------------------ 2021-05-27 10:01:01 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "item-id": "item-e6440b40-c00a-41a4-baa3-ac8baaede4d0" } 2021-05-27 10:01:01 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e6440b40-c00a-41a4-baa3-ac8baaede4d0" } 2021-05-27 10:01:01 | [Mutex] received everything. 2021-05-27 10:01:01 | [Mutex] isItemNotified: retracted:item:notifieditem-e6440b40-c00a-41a4-baa3-ac8baaede4d0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.027s |
2021-05-27 10:01:01 |
2021-05-27 10:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:01 | ------------------------------------ 2021-05-27 10:01:01 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "item-id": "item-e6440b40-c00a-41a4-baa3-ac8baaede4d0" } 2021-05-27 10:01:01 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "item-id": "item-e6440b40-c00a-41a4-baa3-ac8baaede4d0", "item": [ "<item id=\"item-e6440b40-c00a-41a4-baa3-ac8baaede4d0\"><test>item-e6440b40-c00a-41a4-baa3-ac8baaede4d0</test></item>" ] } 2021-05-27 10:01:01 | [Mutex] notify: [retrieved:item:item-e6440b40-c00a-41a4-baa3-ac8baaede4d0:payload-matches:true:localhost] 2021-05-27 10:01:01 | [Mutex] received everything. 2021-05-27 10:01:01 | [Mutex] isItemNotified: retrieved:item:item-e6440b40-c00a-41a4-baa3-ac8baaede4d0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.073s |
2021-05-27 10:01:01 |
2021-05-27 10:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:01 | ------------------------------------ 2021-05-27 10:01:01 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-05-27 10:01:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-6d2f8fbc-317a-4bcf-980b-f1e62486a916", "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93" ] } |
retrieveUserSubscriptionsWithRegex | 0.060s |
2021-05-27 10:01:01 |
2021-05-27 10:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:01 | ------------------------------------ 2021-05-27 10:01:01 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93)" } 2021-05-27 10:01:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2021-05-27 10:01:00 |
2021-05-27 10:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:00 | ------------------------------------ 2021-05-27 10:01:00 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "jids": [ "admin@test-domain.com" ] } 2021-05-27 10:01:00 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.142s |
2021-05-27 10:01:01 |
2021-05-27 10:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-27 10:01:01 | ------------------------------------ 2021-05-27 10:01:01 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-6a548ab8-a7a0-48a0-8f43-1ed78913ae93", "jids": [ "admin@test-domain.com" ] } 2021-05-27 10:01:01 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |