Test duration : 8.617s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.104s |
2023-02-15 21:30:37 |
2023-02-15 21:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:37 | ------------------------------------ 2023-02-15 21:30:37 | [Mutex] waiting for: [configured:node:node-3b15f658-e927-43dc-863a-515ca1865f41:node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3] 2023-02-15 21:30:37 | [Mutex] received everything. 2023-02-15 21:30:37 | [Mutex] isItemNotified: configured:node:node-3b15f658-e927-43dc-863a-515ca1865f41:node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3 :: true 2023-02-15 21:30:38 | [Mutex] waiting for: [received:nodes:7e9fb87d-3955-4d57-9ac6-1d88ba48f86f:localhost] 2023-02-15 21:30:38 | [Mutex] received everything. 2023-02-15 21:30:38 | [Mutex] isItemNotified: received:node:7e9fb87d-3955-4d57-9ac6-1d88ba48f86f:localhost:node-3b15f658-e927-43dc-863a-515ca1865f41:Node 3b15f658-e927-43dc-863a-515ca1865f41 :: true 2023-02-15 21:30:38 | [Mutex] waiting for: [received:nodes:15598716-30d8-4c5b-81f2-abf2a01f3775:localhost] 2023-02-15 21:30:38 | [Mutex] waiting for: [received:nodes:15598716-30d8-4c5b-81f2-abf2a01f3775:localhost] 2023-02-15 21:30:38 | [Mutex] waiting for: [received:nodes:15598716-30d8-4c5b-81f2-abf2a01f3775:localhost] 2023-02-15 21:30:38 | [Mutex] waiting for: [received:nodes:15598716-30d8-4c5b-81f2-abf2a01f3775:localhost] 2023-02-15 21:30:38 | [Mutex] received everything. 2023-02-15 21:30:38 | [Mutex] isItemNotified: received:node:15598716-30d8-4c5b-81f2-abf2a01f3775:localhost:node-3b15f658-e927-43dc-863a-515ca1865f41:Node 3b15f658-e927-43dc-863a-515ca1865f41 :: false |
createNodes | 1.576s |
2023-02-15 21:30:35 |
2023-02-15 21:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:35 | ------------------------------------ 2023-02-15 21:30:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "pubsub#title": "Node 3b15f658-e927-43dc-863a-515ca1865f41" } 2023-02-15 21:30:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:30:36 | [Mutex] waiting for: [received:nodes:0266139d-18a3-47fd-af14-cb0b4cfec811:localhost] 2023-02-15 21:30:36 | [Mutex] waiting for: [received:nodes:0266139d-18a3-47fd-af14-cb0b4cfec811:localhost] 2023-02-15 21:30:36 | [Mutex] waiting for: [received:nodes:0266139d-18a3-47fd-af14-cb0b4cfec811:localhost] 2023-02-15 21:30:36 | [Mutex] received everything. 2023-02-15 21:30:36 | [Mutex] isItemNotified: received:node:0266139d-18a3-47fd-af14-cb0b4cfec811:localhost:node-3b15f658-e927-43dc-863a-515ca1865f41:Node 3b15f658-e927-43dc-863a-515ca1865f41 :: true |
createSubnodes | 1.020s |
2023-02-15 21:30:36 |
2023-02-15 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:36 | ------------------------------------ 2023-02-15 21:30:36 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3", "pubsub#title": "Node a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3" } 2023-02-15 21:30:36 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:30:37 | [Mutex] waiting for: [received:nodes:b65d6044-fd57-423c-b7f9-273f5f496774:localhost] 2023-02-15 21:30:37 | [Mutex] waiting for: [received:nodes:b65d6044-fd57-423c-b7f9-273f5f496774:localhost] 2023-02-15 21:30:37 | [Mutex] waiting for: [received:nodes:b65d6044-fd57-423c-b7f9-273f5f496774:localhost] 2023-02-15 21:30:37 | [Mutex] waiting for: [received:nodes:b65d6044-fd57-423c-b7f9-273f5f496774:localhost] 2023-02-15 21:30:37 | [Mutex] waiting for: [received:nodes:b65d6044-fd57-423c-b7f9-273f5f496774:localhost] 2023-02-15 21:30:37 | [Mutex] received everything. 2023-02-15 21:30:37 | [Mutex] isItemNotified: received:node:b65d6044-fd57-423c-b7f9-273f5f496774:localhost:node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3:Node a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3 :: true |
deleteNodes | 1.019s |
2023-02-15 21:30:42 |
2023-02-15 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:42 | ------------------------------------ 2023-02-15 21:30:42 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3" } 2023-02-15 21:30:42 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:30:43 | [Mutex] waiting for: [received:nodes:0a6284b2-2f8f-4019-8300-7b28b69ea328:localhost] 2023-02-15 21:30:43 | [Mutex] waiting for: [received:nodes:0a6284b2-2f8f-4019-8300-7b28b69ea328:localhost] 2023-02-15 21:30:43 | [Mutex] waiting for: [received:nodes:0a6284b2-2f8f-4019-8300-7b28b69ea328:localhost] 2023-02-15 21:30:43 | [Mutex] received everything. 2023-02-15 21:30:43 | [Mutex] isItemNotified: received:node:0a6284b2-2f8f-4019-8300-7b28b69ea328:localhost:node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3:Node a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3 :: false |
deleteSubnodes | 1.032s |
2023-02-15 21:30:41 |
2023-02-15 21:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:41 | ------------------------------------ 2023-02-15 21:30:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-3b15f658-e927-43dc-863a-515ca1865f41" } 2023-02-15 21:30:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:30:42 | [Mutex] waiting for: [received:nodes:17c18f20-fc51-4614-bcc8-3b7be0a0a3c1:localhost] 2023-02-15 21:30:42 | [Mutex] waiting for: [received:nodes:17c18f20-fc51-4614-bcc8-3b7be0a0a3c1:localhost] 2023-02-15 21:30:42 | [Mutex] waiting for: [received:nodes:17c18f20-fc51-4614-bcc8-3b7be0a0a3c1:localhost] 2023-02-15 21:30:42 | [Mutex] waiting for: [received:nodes:17c18f20-fc51-4614-bcc8-3b7be0a0a3c1:localhost] 2023-02-15 21:30:42 | [Mutex] received everything. 2023-02-15 21:30:42 | [Mutex] isItemNotified: received:node:17c18f20-fc51-4614-bcc8-3b7be0a0a3c1:localhost:node-3b15f658-e927-43dc-863a-515ca1865f41:Node 3b15f658-e927-43dc-863a-515ca1865f41 :: false 2023-02-15 21:30:42 | [Mutex] waiting for: [received:nodes:796f21bf-bccb-4293-9322-194c9288562e:localhost] 2023-02-15 21:30:42 | [Mutex] received everything. 2023-02-15 21:30:42 | [Mutex] isItemNotified: received:node:796f21bf-bccb-4293-9322-194c9288562e:localhost:node-3b15f658-e927-43dc-863a-515ca1865f41:Node 3b15f658-e927-43dc-863a-515ca1865f41 :: false |
publishItemsToNodes | 0.027s |
2023-02-15 21:30:39 |
2023-02-15 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:39 | ------------------------------------ 2023-02-15 21:30:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "entry": "<test>item-f08baf25-137c-4c6e-803b-788ad49688d6</test>", "item-id": "item-f08baf25-137c-4c6e-803b-788ad49688d6" } 2023-02-15 21:30:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f08baf25-137c-4c6e-803b-788ad49688d6" } 2023-02-15 21:30:39 | [Mutex] received everything. 2023-02-15 21:30:39 | [Mutex] isItemNotified: published:item:notifieditem-f08baf25-137c-4c6e-803b-788ad49688d6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2023-02-15 21:30:39 |
2023-02-15 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:39 | ------------------------------------ 2023-02-15 21:30:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "item-id": "item-f08baf25-137c-4c6e-803b-788ad49688d6" } 2023-02-15 21:30:40 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f08baf25-137c-4c6e-803b-788ad49688d6" } 2023-02-15 21:30:40 | [Mutex] received everything. 2023-02-15 21:30:40 | [Mutex] isItemNotified: retracted:item:notifieditem-f08baf25-137c-4c6e-803b-788ad49688d6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.066s |
2023-02-15 21:30:39 |
2023-02-15 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:39 | ------------------------------------ 2023-02-15 21:30:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "item-id": "item-f08baf25-137c-4c6e-803b-788ad49688d6" } 2023-02-15 21:30:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "item-id": "item-f08baf25-137c-4c6e-803b-788ad49688d6", "item": [ "<item id=\"item-f08baf25-137c-4c6e-803b-788ad49688d6\"><test>item-f08baf25-137c-4c6e-803b-788ad49688d6</test></item>" ] } 2023-02-15 21:30:39 | [Mutex] notify: [retrieved:item:item-f08baf25-137c-4c6e-803b-788ad49688d6:payload-matches:true:localhost] 2023-02-15 21:30:39 | [Mutex] received everything. 2023-02-15 21:30:39 | [Mutex] isItemNotified: retrieved:item:item-f08baf25-137c-4c6e-803b-788ad49688d6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.102s |
2023-02-15 21:30:39 |
2023-02-15 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:39 | ------------------------------------ 2023-02-15 21:30:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-02-15 21:30:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-3b15f658-e927-43dc-863a-515ca1865f41", "test", "node-a7cbc8ad-8ca3-473e-bf04-2edc65c3b3e3" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-02-15 21:30:39 |
2023-02-15 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:39 | ------------------------------------ 2023-02-15 21:30:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-3b15f658-e927-43dc-863a-515ca1865f41)" } 2023-02-15 21:30:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2023-02-15 21:30:38 |
2023-02-15 21:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:38 | ------------------------------------ 2023-02-15 21:30:38 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "jids": [ "admin@test-domain.com" ] } 2023-02-15 21:30:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.074s |
2023-02-15 21:30:40 |
2023-02-15 21:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:30:40 | ------------------------------------ 2023-02-15 21:30:40 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-3b15f658-e927-43dc-863a-515ca1865f41", "jids": [ "admin@test-domain.com" ] } 2023-02-15 21:30:40 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |