Test duration : 9.639s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2022-05-01 23:04:46 |
2022-05-01 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:46 | ------------------------------------ 2022-05-01 23:04:46 | [Mutex] waiting for: [configured:node:node-7e1846c1-5626-4191-85e5-262d6179dce4:node-96eb0339-b245-48c2-b8dd-3af20ceec1c4] 2022-05-01 23:04:46 | [Mutex] received everything. 2022-05-01 23:04:46 | [Mutex] isItemNotified: configured:node:node-7e1846c1-5626-4191-85e5-262d6179dce4:node-96eb0339-b245-48c2-b8dd-3af20ceec1c4 :: true 2022-05-01 23:04:47 | [Mutex] waiting for: [received:nodes:582e07dc-5a2c-40a8-bd5a-1318dc96016a:localhost] 2022-05-01 23:04:47 | [Mutex] received everything. 2022-05-01 23:04:47 | [Mutex] isItemNotified: received:node:582e07dc-5a2c-40a8-bd5a-1318dc96016a:localhost:node-7e1846c1-5626-4191-85e5-262d6179dce4:Node 7e1846c1-5626-4191-85e5-262d6179dce4 :: true 2022-05-01 23:04:47 | [Mutex] waiting for: [received:nodes:bc27cf12-034a-47fd-8e09-e198ffedf632:localhost] 2022-05-01 23:04:47 | [Mutex] received everything. 2022-05-01 23:04:47 | [Mutex] isItemNotified: received:node:bc27cf12-034a-47fd-8e09-e198ffedf632:localhost:node-7e1846c1-5626-4191-85e5-262d6179dce4:Node 7e1846c1-5626-4191-85e5-262d6179dce4 :: false |
createNodes | 1.432s |
2022-05-01 23:04:44 |
2022-05-01 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:44 | ------------------------------------ 2022-05-01 23:04:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e1846c1-5626-4191-85e5-262d6179dce4</title></pubsub></data> 2022-05-01 23:04:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:04:45 | [Mutex] waiting for: [received:nodes:40358b2c-9f4f-4f03-96b4-b5a224d0da10:localhost] 2022-05-01 23:04:45 | [Mutex] received everything. 2022-05-01 23:04:45 | [Mutex] isItemNotified: received:node:40358b2c-9f4f-4f03-96b4-b5a224d0da10:localhost:node-7e1846c1-5626-4191-85e5-262d6179dce4:Node 7e1846c1-5626-4191-85e5-262d6179dce4 :: true |
createSubnodes | 1.029s |
2022-05-01 23:04:45 |
2022-05-01 23:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:45 | ------------------------------------ 2022-05-01 23:04:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-96eb0339-b245-48c2-b8dd-3af20ceec1c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 96eb0339-b245-48c2-b8dd-3af20ceec1c4</title></pubsub></data> 2022-05-01 23:04:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:04:46 | [Mutex] waiting for: [received:nodes:6bf90653-5625-41fe-81e2-7cf1dc3a620c:localhost] 2022-05-01 23:04:46 | [Mutex] received everything. 2022-05-01 23:04:46 | [Mutex] isItemNotified: received:node:6bf90653-5625-41fe-81e2-7cf1dc3a620c:localhost:node-96eb0339-b245-48c2-b8dd-3af20ceec1c4:Node 96eb0339-b245-48c2-b8dd-3af20ceec1c4 :: true |
deleteNodes | 1.016s |
2022-05-01 23:04:52 |
2022-05-01 23:04:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:52 | ------------------------------------ 2022-05-01 23:04:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-96eb0339-b245-48c2-b8dd-3af20ceec1c4</node></data> 2022-05-01 23:04:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:04:53 | [Mutex] waiting for: [received:nodes:50dec78f-4bf5-41f2-a92a-545d45ecf421:localhost] 2022-05-01 23:04:53 | [Mutex] waiting for: [received:nodes:50dec78f-4bf5-41f2-a92a-545d45ecf421:localhost] 2022-05-01 23:04:53 | [Mutex] received everything. 2022-05-01 23:04:53 | [Mutex] isItemNotified: received:node:50dec78f-4bf5-41f2-a92a-545d45ecf421:localhost:node-96eb0339-b245-48c2-b8dd-3af20ceec1c4:Node 96eb0339-b245-48c2-b8dd-3af20ceec1c4 :: false |
deleteSubnodes | 1.147s |
2022-05-01 23:04:51 |
2022-05-01 23:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:51 | ------------------------------------ 2022-05-01 23:04:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node></data> 2022-05-01 23:04:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:04:52 | [Mutex] waiting for: [received:nodes:16ceb227-a4b5-4620-bd2b-09caa4168c74:localhost] 2022-05-01 23:04:52 | [Mutex] waiting for: [received:nodes:16ceb227-a4b5-4620-bd2b-09caa4168c74:localhost] 2022-05-01 23:04:52 | [Mutex] waiting for: [received:nodes:16ceb227-a4b5-4620-bd2b-09caa4168c74:localhost] 2022-05-01 23:04:52 | [Mutex] received everything. 2022-05-01 23:04:52 | [Mutex] isItemNotified: received:node:16ceb227-a4b5-4620-bd2b-09caa4168c74:localhost:node-7e1846c1-5626-4191-85e5-262d6179dce4:Node 7e1846c1-5626-4191-85e5-262d6179dce4 :: false 2022-05-01 23:04:52 | [Mutex] waiting for: [received:nodes:90addb8f-0a13-49b8-95c1-688d6ead3a19:localhost] 2022-05-01 23:04:52 | [Mutex] received everything. 2022-05-01 23:04:52 | [Mutex] isItemNotified: received:node:90addb8f-0a13-49b8-95c1-688d6ead3a19:localhost:node-7e1846c1-5626-4191-85e5-262d6179dce4:Node 7e1846c1-5626-4191-85e5-262d6179dce4 :: false |
publishItemsToNodes | 0.314s |
2022-05-01 23:04:48 |
2022-05-01 23:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:48 | ------------------------------------ 2022-05-01 23:04:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node><item-id>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</item-id><entry><test>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</test></entry></data> 2022-05-01 23:04:49 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</value></item-id></result> 2022-05-01 23:04:49 | [Mutex] received everything. 2022-05-01 23:04:49 | [Mutex] isItemNotified: published:item:notifieditem-0ed0f67d-84dc-4948-9cab-f7bd564b64eb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.223s |
2022-05-01 23:04:49 |
2022-05-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:49 | ------------------------------------ 2022-05-01 23:04:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node><item-id>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</item-id></data> 2022-05-01 23:04:49 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</value></item-id></result> 2022-05-01 23:04:49 | [Mutex] received everything. 2022-05-01 23:04:49 | [Mutex] isItemNotified: retracted:item:notifieditem-0ed0f67d-84dc-4948-9cab-f7bd564b64eb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-05-01 23:04:49 |
2022-05-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:49 | ------------------------------------ 2022-05-01 23:04:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node><item-id>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</item-id></data> 2022-05-01 23:04:49 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-7e1846c1-5626-4191-85e5-262d6179dce4</value></node><item-id label="Item ID" type="text-single"><value>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</value></item-id><item label="Item" type="text-multi"><value><item id="item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb"><test>item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb</test></item></value></item></result> 2022-05-01 23:04:49 | [Mutex] notify: [retrieved:item:item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb:payload-matches:true:localhost] 2022-05-01 23:04:49 | [Mutex] received everything. 2022-05-01 23:04:49 | [Mutex] isItemNotified: retrieved:item:item-0ed0f67d-84dc-4948-9cab-f7bd564b64eb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-01 23:04:49 |
2022-05-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:49 | ------------------------------------ 2022-05-01 23:04:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-01 23:04:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-96eb0339-b245-48c2-b8dd-3af20ceec1c4</value><value>test</value><value>node-7e1846c1-5626-4191-85e5-262d6179dce4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-05-01 23:04:49 |
2022-05-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:49 | ------------------------------------ 2022-05-01 23:04:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e1846c1-5626-4191-85e5-262d6179dce4)</node-pattern></data> 2022-05-01 23:04:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2022-05-01 23:04:47 |
2022-05-01 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:47 | ------------------------------------ 2022-05-01 23:04:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 23:04:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2022-05-01 23:04:49 |
2022-05-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:04:49 | ------------------------------------ 2022-05-01 23:04:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7e1846c1-5626-4191-85e5-262d6179dce4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 23:04:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |