Test duration : 9.742s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2022-04-13 22:48:21 |
2022-04-13 22:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:21 | ------------------------------------ 2022-04-13 22:48:21 | [Mutex] waiting for: [configured:node:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:node-71a76eef-d8d1-4c77-8261-89af689d608e] 2022-04-13 22:48:21 | [Mutex] received everything. 2022-04-13 22:48:21 | [Mutex] isItemNotified: configured:node:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:node-71a76eef-d8d1-4c77-8261-89af689d608e :: true 2022-04-13 22:48:22 | [Mutex] waiting for: [received:nodes:de092156-5cfc-4770-9499-c55af4ba840a:localhost] 2022-04-13 22:48:22 | [Mutex] received everything. 2022-04-13 22:48:22 | [Mutex] isItemNotified: received:node:de092156-5cfc-4770-9499-c55af4ba840a:localhost:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:Node 7f04c47b-ca04-44ff-9d05-0975d7dd5a9d :: true 2022-04-13 22:48:22 | [Mutex] waiting for: [received:nodes:70c79e48-40e1-4655-887f-6a834ac1eecd:localhost] 2022-04-13 22:48:22 | [Mutex] waiting for: [received:nodes:70c79e48-40e1-4655-887f-6a834ac1eecd:localhost] 2022-04-13 22:48:22 | [Mutex] received everything. 2022-04-13 22:48:22 | [Mutex] isItemNotified: received:node:70c79e48-40e1-4655-887f-6a834ac1eecd:localhost:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:Node 7f04c47b-ca04-44ff-9d05-0975d7dd5a9d :: false |
createNodes | 1.409s |
2022-04-13 22:48:19 |
2022-04-13 22:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:19 | ------------------------------------ 2022-04-13 22:48:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</title></pubsub></data> 2022-04-13 22:48:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 22:48:20 | [Mutex] waiting for: [received:nodes:36648eb7-d558-441f-ae31-5530cae067ff:localhost] 2022-04-13 22:48:20 | [Mutex] received everything. 2022-04-13 22:48:20 | [Mutex] isItemNotified: received:node:36648eb7-d558-441f-ae31-5530cae067ff:localhost:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:Node 7f04c47b-ca04-44ff-9d05-0975d7dd5a9d :: true |
createSubnodes | 1.036s |
2022-04-13 22:48:20 |
2022-04-13 22:48:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:20 | ------------------------------------ 2022-04-13 22:48:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-71a76eef-d8d1-4c77-8261-89af689d608e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 71a76eef-d8d1-4c77-8261-89af689d608e</title></pubsub></data> 2022-04-13 22:48:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 22:48:21 | [Mutex] waiting for: [received:nodes:ed729a77-77e4-467f-a4f0-3428f41476a5:localhost] 2022-04-13 22:48:21 | [Mutex] received everything. 2022-04-13 22:48:21 | [Mutex] isItemNotified: received:node:ed729a77-77e4-467f-a4f0-3428f41476a5:localhost:node-71a76eef-d8d1-4c77-8261-89af689d608e:Node 71a76eef-d8d1-4c77-8261-89af689d608e :: true |
deleteNodes | 1.026s |
2022-04-13 22:48:27 |
2022-04-13 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:27 | ------------------------------------ 2022-04-13 22:48:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-71a76eef-d8d1-4c77-8261-89af689d608e</node></data> 2022-04-13 22:48:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 22:48:28 | [Mutex] waiting for: [received:nodes:a937931f-1020-403b-bf78-91ea441dd863:localhost] 2022-04-13 22:48:28 | [Mutex] received everything. 2022-04-13 22:48:28 | [Mutex] isItemNotified: received:node:a937931f-1020-403b-bf78-91ea441dd863:localhost:node-71a76eef-d8d1-4c77-8261-89af689d608e:Node 71a76eef-d8d1-4c77-8261-89af689d608e :: false |
deleteSubnodes | 1.134s |
2022-04-13 22:48:25 |
2022-04-13 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:25 | ------------------------------------ 2022-04-13 22:48:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node></data> 2022-04-13 22:48:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 22:48:26 | [Mutex] waiting for: [received:nodes:61963110-a55a-4d74-a8d8-ab663b24946c:localhost] 2022-04-13 22:48:26 | [Mutex] received everything. 2022-04-13 22:48:26 | [Mutex] isItemNotified: received:node:61963110-a55a-4d74-a8d8-ab663b24946c:localhost:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:Node 7f04c47b-ca04-44ff-9d05-0975d7dd5a9d :: false 2022-04-13 22:48:26 | [Mutex] waiting for: [received:nodes:9c3074bd-627f-4ffa-b207-0db94cbb7142:localhost] 2022-04-13 22:48:27 | [Mutex] received everything. 2022-04-13 22:48:27 | [Mutex] isItemNotified: received:node:9c3074bd-627f-4ffa-b207-0db94cbb7142:localhost:node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d:Node 7f04c47b-ca04-44ff-9d05-0975d7dd5a9d :: false |
publishItemsToNodes | 0.201s |
2022-04-13 22:48:23 |
2022-04-13 22:48:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:23 | ------------------------------------ 2022-04-13 22:48:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node><item-id>item-a6477f46-36d5-4757-8236-d63e1e8a89a5</item-id><entry><test>item-a6477f46-36d5-4757-8236-d63e1e8a89a5</test></entry></data> 2022-04-13 22:48:23 | 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-a6477f46-36d5-4757-8236-d63e1e8a89a5</value></item-id></result> 2022-04-13 22:48:23 | [Mutex] received everything. 2022-04-13 22:48:23 | [Mutex] isItemNotified: published:item:notifieditem-a6477f46-36d5-4757-8236-d63e1e8a89a5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.254s |
2022-04-13 22:48:24 |
2022-04-13 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:24 | ------------------------------------ 2022-04-13 22:48:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node><item-id>item-a6477f46-36d5-4757-8236-d63e1e8a89a5</item-id></data> 2022-04-13 22:48:24 | 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-a6477f46-36d5-4757-8236-d63e1e8a89a5</value></item-id></result> 2022-04-13 22:48:24 | [Mutex] waiting for: [retracted:item:notifieditem-a6477f46-36d5-4757-8236-d63e1e8a89a5:admin@test-domain.com] 2022-04-13 22:48:24 | [Mutex] received everything. 2022-04-13 22:48:24 | [Mutex] isItemNotified: retracted:item:notifieditem-a6477f46-36d5-4757-8236-d63e1e8a89a5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.268s |
2022-04-13 22:48:23 |
2022-04-13 22:48:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:23 | ------------------------------------ 2022-04-13 22:48:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node><item-id>item-a6477f46-36d5-4757-8236-d63e1e8a89a5</item-id></data> 2022-04-13 22:48:24 | 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-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</value></node><item-id label="Item ID" type="text-single"><value>item-a6477f46-36d5-4757-8236-d63e1e8a89a5</value></item-id><item label="Item" type="text-multi"><value><item id="item-a6477f46-36d5-4757-8236-d63e1e8a89a5"><test>item-a6477f46-36d5-4757-8236-d63e1e8a89a5</test></item></value></item></result> 2022-04-13 22:48:24 | [Mutex] notify: [retrieved:item:item-a6477f46-36d5-4757-8236-d63e1e8a89a5:payload-matches:true:localhost] 2022-04-13 22:48:24 | [Mutex] received everything. 2022-04-13 22:48:24 | [Mutex] isItemNotified: retrieved:item:item-a6477f46-36d5-4757-8236-d63e1e8a89a5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-04-13 22:48:24 |
2022-04-13 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:24 | ------------------------------------ 2022-04-13 22:48:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-13 22:48:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</value><value>node-71a76eef-d8d1-4c77-8261-89af689d608e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-04-13 22:48:24 |
2022-04-13 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:24 | ------------------------------------ 2022-04-13 22:48:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d)</node-pattern></data> 2022-04-13 22:48:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.184s |
2022-04-13 22:48:22 |
2022-04-13 22:48:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:22 | ------------------------------------ 2022-04-13 22:48:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-13 22:48:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.255s |
2022-04-13 22:48:24 |
2022-04-13 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 22:48:24 | ------------------------------------ 2022-04-13 22:48:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7f04c47b-ca04-44ff-9d05-0975d7dd5a9d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-13 22:48:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |