Test duration : 9.563s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-07-03 23:03:33 |
2022-07-03 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:33 | ------------------------------------ 2022-07-03 23:03:33 | [Mutex] waiting for: [configured:node:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:node-81ef8f64-b827-4806-a862-34be0aec5bc4] 2022-07-03 23:03:33 | [Mutex] received everything. 2022-07-03 23:03:33 | [Mutex] isItemNotified: configured:node:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:node-81ef8f64-b827-4806-a862-34be0aec5bc4 :: true 2022-07-03 23:03:34 | [Mutex] waiting for: [received:nodes:a7a5691d-78d6-498f-be5a-360fdb3bf145:localhost] 2022-07-03 23:03:34 | [Mutex] received everything. 2022-07-03 23:03:34 | [Mutex] isItemNotified: received:node:a7a5691d-78d6-498f-be5a-360fdb3bf145:localhost:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:Node 7a87fc98-a546-4180-933f-4fcba01a5ba8 :: true 2022-07-03 23:03:34 | [Mutex] waiting for: [received:nodes:d36ca7f2-48c4-43c1-ae88-41b9511ee5da:localhost] 2022-07-03 23:03:34 | [Mutex] waiting for: [received:nodes:d36ca7f2-48c4-43c1-ae88-41b9511ee5da:localhost] 2022-07-03 23:03:34 | [Mutex] waiting for: [received:nodes:d36ca7f2-48c4-43c1-ae88-41b9511ee5da:localhost] 2022-07-03 23:03:34 | [Mutex] waiting for: [received:nodes:d36ca7f2-48c4-43c1-ae88-41b9511ee5da:localhost] 2022-07-03 23:03:34 | [Mutex] received everything. 2022-07-03 23:03:34 | [Mutex] isItemNotified: received:node:d36ca7f2-48c4-43c1-ae88-41b9511ee5da:localhost:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:Node 7a87fc98-a546-4180-933f-4fcba01a5ba8 :: false |
createNodes | 1.504s |
2022-07-03 23:03:30 |
2022-07-03 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:30 | ------------------------------------ 2022-07-03 23:03:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a87fc98-a546-4180-933f-4fcba01a5ba8</title></pubsub></data> 2022-07-03 23:03:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 23:03:32 | [Mutex] waiting for: [received:nodes:fddbc7fc-942b-4115-a681-a367add7379a:localhost] 2022-07-03 23:03:32 | [Mutex] received everything. 2022-07-03 23:03:32 | [Mutex] isItemNotified: received:node:fddbc7fc-942b-4115-a681-a367add7379a:localhost:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:Node 7a87fc98-a546-4180-933f-4fcba01a5ba8 :: true |
createSubnodes | 1.024s |
2022-07-03 23:03:32 |
2022-07-03 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:32 | ------------------------------------ 2022-07-03 23:03:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-81ef8f64-b827-4806-a862-34be0aec5bc4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 81ef8f64-b827-4806-a862-34be0aec5bc4</title></pubsub></data> 2022-07-03 23:03:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 23:03:33 | [Mutex] waiting for: [received:nodes:0fab56db-ffd3-402c-a4c1-ef8c53e0d1f9:localhost] 2022-07-03 23:03:33 | [Mutex] waiting for: [received:nodes:0fab56db-ffd3-402c-a4c1-ef8c53e0d1f9:localhost] 2022-07-03 23:03:33 | [Mutex] received everything. 2022-07-03 23:03:33 | [Mutex] isItemNotified: received:node:0fab56db-ffd3-402c-a4c1-ef8c53e0d1f9:localhost:node-81ef8f64-b827-4806-a862-34be0aec5bc4:Node 81ef8f64-b827-4806-a862-34be0aec5bc4 :: true |
deleteNodes | 1.015s |
2022-07-03 23:03:38 |
2022-07-03 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:38 | ------------------------------------ 2022-07-03 23:03:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-81ef8f64-b827-4806-a862-34be0aec5bc4</node></data> 2022-07-03 23:03:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 23:03:39 | [Mutex] waiting for: [received:nodes:10363525-5257-46df-8034-fa866d774da8:localhost] 2022-07-03 23:03:39 | [Mutex] received everything. 2022-07-03 23:03:39 | [Mutex] isItemNotified: received:node:10363525-5257-46df-8034-fa866d774da8:localhost:node-81ef8f64-b827-4806-a862-34be0aec5bc4:Node 81ef8f64-b827-4806-a862-34be0aec5bc4 :: false |
deleteSubnodes | 1.134s |
2022-07-03 23:03:37 |
2022-07-03 23:03:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:37 | ------------------------------------ 2022-07-03 23:03:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node></data> 2022-07-03 23:03:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-03 23:03:38 | [Mutex] waiting for: [received:nodes:b76e420e-1052-4db9-b8f2-486e9de729ca:localhost] 2022-07-03 23:03:38 | [Mutex] waiting for: [received:nodes:b76e420e-1052-4db9-b8f2-486e9de729ca:localhost] 2022-07-03 23:03:38 | [Mutex] received everything. 2022-07-03 23:03:38 | [Mutex] isItemNotified: received:node:b76e420e-1052-4db9-b8f2-486e9de729ca:localhost:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:Node 7a87fc98-a546-4180-933f-4fcba01a5ba8 :: false 2022-07-03 23:03:38 | [Mutex] waiting for: [received:nodes:e3bcce9e-271f-4a92-92aa-f35d5bb5f967:localhost] 2022-07-03 23:03:38 | [Mutex] received everything. 2022-07-03 23:03:38 | [Mutex] isItemNotified: received:node:e3bcce9e-271f-4a92-92aa-f35d5bb5f967:localhost:node-7a87fc98-a546-4180-933f-4fcba01a5ba8:Node 7a87fc98-a546-4180-933f-4fcba01a5ba8 :: false |
publishItemsToNodes | 0.189s |
2022-07-03 23:03:35 |
2022-07-03 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:35 | ------------------------------------ 2022-07-03 23:03:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node><item-id>item-dcf1b000-1185-4389-926f-4a1c0dba8313</item-id><entry><test>item-dcf1b000-1185-4389-926f-4a1c0dba8313</test></entry></data> 2022-07-03 23:03:35 | 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-dcf1b000-1185-4389-926f-4a1c0dba8313</value></item-id></result> 2022-07-03 23:03:35 | [Mutex] waiting for: [published:item:notifieditem-dcf1b000-1185-4389-926f-4a1c0dba8313:admin@test-domain.com] 2022-07-03 23:03:35 | [Mutex] received everything. 2022-07-03 23:03:35 | [Mutex] isItemNotified: published:item:notifieditem-dcf1b000-1185-4389-926f-4a1c0dba8313:admin@test-domain.com :: true |
retractItemsFromNodes | 0.236s |
2022-07-03 23:03:35 |
2022-07-03 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:35 | ------------------------------------ 2022-07-03 23:03:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node><item-id>item-dcf1b000-1185-4389-926f-4a1c0dba8313</item-id></data> 2022-07-03 23:03:36 | 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-dcf1b000-1185-4389-926f-4a1c0dba8313</value></item-id></result> 2022-07-03 23:03:36 | [Mutex] waiting for: [retracted:item:notifieditem-dcf1b000-1185-4389-926f-4a1c0dba8313:admin@test-domain.com] 2022-07-03 23:03:36 | [Mutex] received everything. 2022-07-03 23:03:36 | [Mutex] isItemNotified: retracted:item:notifieditem-dcf1b000-1185-4389-926f-4a1c0dba8313:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.184s |
2022-07-03 23:03:35 |
2022-07-03 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:35 | ------------------------------------ 2022-07-03 23:03:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node><item-id>item-dcf1b000-1185-4389-926f-4a1c0dba8313</item-id></data> 2022-07-03 23:03:35 | 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-7a87fc98-a546-4180-933f-4fcba01a5ba8</value></node><item-id label="Item ID" type="text-single"><value>item-dcf1b000-1185-4389-926f-4a1c0dba8313</value></item-id><item label="Item" type="text-multi"><value><item id="item-dcf1b000-1185-4389-926f-4a1c0dba8313"><test>item-dcf1b000-1185-4389-926f-4a1c0dba8313</test></item></value></item></result> 2022-07-03 23:03:35 | [Mutex] notify: [retrieved:item:item-dcf1b000-1185-4389-926f-4a1c0dba8313:payload-matches:true:localhost] 2022-07-03 23:03:35 | [Mutex] received everything. 2022-07-03 23:03:35 | [Mutex] isItemNotified: retrieved:item:item-dcf1b000-1185-4389-926f-4a1c0dba8313:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-03 23:03:35 |
2022-07-03 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:35 | ------------------------------------ 2022-07-03 23:03:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-03 23:03:35 | 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-81ef8f64-b827-4806-a862-34be0aec5bc4</value><value>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-07-03 23:03:35 |
2022-07-03 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:35 | ------------------------------------ 2022-07-03 23:03:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a87fc98-a546-4180-933f-4fcba01a5ba8)</node-pattern></data> 2022-07-03 23:03:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.125s |
2022-07-03 23:03:34 |
2022-07-03 23:03:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:34 | ------------------------------------ 2022-07-03 23:03:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-03 23:03:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.294s |
2022-07-03 23:03:36 |
2022-07-03 23:03:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-03 23:03:36 | ------------------------------------ 2022-07-03 23:03:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7a87fc98-a546-4180-933f-4fcba01a5ba8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-03 23:03:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |