Test duration : 10.377s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2021-04-06 22:36:59 |
2021-04-06 22:36:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:36:59 | ------------------------------------ 2021-04-06 22:36:59 | [Mutex] waiting for: [configured:node:node-50ecec29-b731-46f4-a935-8af2b100fbd0:node-35d32c1b-df77-49a3-910f-34ba19c1704f] 2021-04-06 22:36:59 | [Mutex] received everything. 2021-04-06 22:36:59 | [Mutex] isItemNotified: configured:node:node-50ecec29-b731-46f4-a935-8af2b100fbd0:node-35d32c1b-df77-49a3-910f-34ba19c1704f :: true 2021-04-06 22:37:00 | [Mutex] waiting for: [received:nodes:b76d5666-0186-455e-b46f-c181a094b61d:localhost] 2021-04-06 22:37:00 | [Mutex] received everything. 2021-04-06 22:37:00 | [Mutex] isItemNotified: received:node:b76d5666-0186-455e-b46f-c181a094b61d:localhost:node-50ecec29-b731-46f4-a935-8af2b100fbd0:Node 50ecec29-b731-46f4-a935-8af2b100fbd0 :: true 2021-04-06 22:37:00 | [Mutex] waiting for: [received:nodes:b112eb74-e754-49f5-a0f6-2bfb41d8355f:localhost] 2021-04-06 22:37:00 | [Mutex] waiting for: [received:nodes:b112eb74-e754-49f5-a0f6-2bfb41d8355f:localhost] 2021-04-06 22:37:00 | [Mutex] waiting for: [received:nodes:b112eb74-e754-49f5-a0f6-2bfb41d8355f:localhost] 2021-04-06 22:37:00 | [Mutex] received everything. 2021-04-06 22:37:00 | [Mutex] isItemNotified: received:node:b112eb74-e754-49f5-a0f6-2bfb41d8355f:localhost:node-50ecec29-b731-46f4-a935-8af2b100fbd0:Node 50ecec29-b731-46f4-a935-8af2b100fbd0 :: false |
createNodes | 1.601s |
2021-04-06 22:36:56 |
2021-04-06 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:36:56 | ------------------------------------ 2021-04-06 22:36:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 50ecec29-b731-46f4-a935-8af2b100fbd0</title></pubsub></data> 2021-04-06 22:36:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-06 22:36:58 | [Mutex] waiting for: [received:nodes:a80f7042-a880-488a-8ad2-6a327a3d3877:localhost] 2021-04-06 22:36:58 | [Mutex] received everything. 2021-04-06 22:36:58 | [Mutex] isItemNotified: received:node:a80f7042-a880-488a-8ad2-6a327a3d3877:localhost:node-50ecec29-b731-46f4-a935-8af2b100fbd0:Node 50ecec29-b731-46f4-a935-8af2b100fbd0 :: true |
createSubnodes | 1.033s |
2021-04-06 22:36:58 |
2021-04-06 22:36:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:36:58 | ------------------------------------ 2021-04-06 22:36:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-35d32c1b-df77-49a3-910f-34ba19c1704f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 35d32c1b-df77-49a3-910f-34ba19c1704f</title></pubsub></data> 2021-04-06 22:36:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-06 22:36:59 | [Mutex] waiting for: [received:nodes:b0befe8b-a22a-42db-87d6-ba8ff1bb96b5:localhost] 2021-04-06 22:36:59 | [Mutex] waiting for: [received:nodes:b0befe8b-a22a-42db-87d6-ba8ff1bb96b5:localhost] 2021-04-06 22:36:59 | [Mutex] received everything. 2021-04-06 22:36:59 | [Mutex] isItemNotified: received:node:b0befe8b-a22a-42db-87d6-ba8ff1bb96b5:localhost:node-35d32c1b-df77-49a3-910f-34ba19c1704f:Node 35d32c1b-df77-49a3-910f-34ba19c1704f :: true |
deleteNodes | 1.034s |
2021-04-06 22:37:04 |
2021-04-06 22:37:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:04 | ------------------------------------ 2021-04-06 22:37:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-35d32c1b-df77-49a3-910f-34ba19c1704f</node></data> 2021-04-06 22:37:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-06 22:37:06 | [Mutex] waiting for: [received:nodes:c43f4069-337f-47fb-9c5c-12a321b40c3d:localhost] 2021-04-06 22:37:06 | [Mutex] waiting for: [received:nodes:c43f4069-337f-47fb-9c5c-12a321b40c3d:localhost] 2021-04-06 22:37:06 | [Mutex] waiting for: [received:nodes:c43f4069-337f-47fb-9c5c-12a321b40c3d:localhost] 2021-04-06 22:37:06 | [Mutex] received everything. 2021-04-06 22:37:06 | [Mutex] isItemNotified: received:node:c43f4069-337f-47fb-9c5c-12a321b40c3d:localhost:node-35d32c1b-df77-49a3-910f-34ba19c1704f:Node 35d32c1b-df77-49a3-910f-34ba19c1704f :: false |
deleteSubnodes | 1.154s |
2021-04-06 22:37:03 |
2021-04-06 22:37:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:03 | ------------------------------------ 2021-04-06 22:37:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node></data> 2021-04-06 22:37:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-06 22:37:04 | [Mutex] waiting for: [received:nodes:208a2ba2-b136-4337-bf21-a000f2580b26:localhost] 2021-04-06 22:37:04 | [Mutex] received everything. 2021-04-06 22:37:04 | [Mutex] isItemNotified: received:node:208a2ba2-b136-4337-bf21-a000f2580b26:localhost:node-50ecec29-b731-46f4-a935-8af2b100fbd0:Node 50ecec29-b731-46f4-a935-8af2b100fbd0 :: false 2021-04-06 22:37:04 | [Mutex] waiting for: [received:nodes:d1ccf8f5-aac2-41a6-bd69-e760c6445829:localhost] 2021-04-06 22:37:04 | [Mutex] received everything. 2021-04-06 22:37:04 | [Mutex] isItemNotified: received:node:d1ccf8f5-aac2-41a6-bd69-e760c6445829:localhost:node-50ecec29-b731-46f4-a935-8af2b100fbd0:Node 50ecec29-b731-46f4-a935-8af2b100fbd0 :: false |
publishItemsToNodes | 0.225s |
2021-04-06 22:37:01 |
2021-04-06 22:37:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:01 | ------------------------------------ 2021-04-06 22:37:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node><item-id>item-59392c02-4724-4db4-9415-320b3371a5e8</item-id><entry><test>item-59392c02-4724-4db4-9415-320b3371a5e8</test></entry></data> 2021-04-06 22:37:01 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-59392c02-4724-4db4-9415-320b3371a5e8</value></item-id></result> 2021-04-06 22:37:01 | [Mutex] received everything. 2021-04-06 22:37:01 | [Mutex] isItemNotified: published:item:notifieditem-59392c02-4724-4db4-9415-320b3371a5e8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.320s |
2021-04-06 22:37:02 |
2021-04-06 22:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:02 | ------------------------------------ 2021-04-06 22:37:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node><item-id>item-59392c02-4724-4db4-9415-320b3371a5e8</item-id></data> 2021-04-06 22:37:02 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-59392c02-4724-4db4-9415-320b3371a5e8</value></item-id></result> 2021-04-06 22:37:02 | [Mutex] received everything. 2021-04-06 22:37:02 | [Mutex] isItemNotified: retracted:item:notifieditem-59392c02-4724-4db4-9415-320b3371a5e8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.347s |
2021-04-06 22:37:01 |
2021-04-06 22:37:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:01 | ------------------------------------ 2021-04-06 22:37:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node><item-id>item-59392c02-4724-4db4-9415-320b3371a5e8</item-id></data> 2021-04-06 22:37:02 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-50ecec29-b731-46f4-a935-8af2b100fbd0</value></node><item-id type="text-single" label="Item ID"><value>item-59392c02-4724-4db4-9415-320b3371a5e8</value></item-id><item type="text-multi" label="Item"><value><item id="item-59392c02-4724-4db4-9415-320b3371a5e8"><test>item-59392c02-4724-4db4-9415-320b3371a5e8</test></item></value></item></result> 2021-04-06 22:37:02 | [Mutex] notify: [retrieved:item:item-59392c02-4724-4db4-9415-320b3371a5e8:payload-matches:true:localhost] 2021-04-06 22:37:02 | [Mutex] received everything. 2021-04-06 22:37:02 | [Mutex] isItemNotified: retrieved:item:item-59392c02-4724-4db4-9415-320b3371a5e8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2021-04-06 22:37:02 |
2021-04-06 22:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:02 | ------------------------------------ 2021-04-06 22:37:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-06 22:37:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-50ecec29-b731-46f4-a935-8af2b100fbd0</value><value>node-35d32c1b-df77-49a3-910f-34ba19c1704f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2021-04-06 22:37:02 |
2021-04-06 22:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:02 | ------------------------------------ 2021-04-06 22:37:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-50ecec29-b731-46f4-a935-8af2b100fbd0)</node-pattern></data> 2021-04-06 22:37:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.137s |
2021-04-06 22:37:00 |
2021-04-06 22:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:00 | ------------------------------------ 2021-04-06 22:37:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-06 22:37:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.318s |
2021-04-06 22:37:02 |
2021-04-06 22:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-06 22:37:02 | ------------------------------------ 2021-04-06 22:37:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-50ecec29-b731-46f4-a935-8af2b100fbd0</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-06 22:37:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |