Test duration : 9.553s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2023-07-09 22:59:25 |
2023-07-09 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:25 | ------------------------------------ 2023-07-09 22:59:25 | [Mutex] waiting for: [configured:node:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:node-2829d55e-027e-408a-afef-960900e453d9] 2023-07-09 22:59:25 | [Mutex] received everything. 2023-07-09 22:59:25 | [Mutex] isItemNotified: configured:node:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:node-2829d55e-027e-408a-afef-960900e453d9 :: true 2023-07-09 22:59:26 | [Mutex] waiting for: [received:nodes:90fb4754-13ed-4b0d-82fa-6713588b9bf4:localhost] 2023-07-09 22:59:26 | [Mutex] received everything. 2023-07-09 22:59:26 | [Mutex] isItemNotified: received:node:90fb4754-13ed-4b0d-82fa-6713588b9bf4:localhost:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:Node 7870b3f7-1c4d-497b-b791-759c1a8b8ed4 :: true 2023-07-09 22:59:26 | [Mutex] waiting for: [received:nodes:2fe7db8e-6f61-45d1-b0a4-faefcb566a7b:localhost] 2023-07-09 22:59:26 | [Mutex] waiting for: [received:nodes:2fe7db8e-6f61-45d1-b0a4-faefcb566a7b:localhost] 2023-07-09 22:59:26 | [Mutex] waiting for: [received:nodes:2fe7db8e-6f61-45d1-b0a4-faefcb566a7b:localhost] 2023-07-09 22:59:26 | [Mutex] received everything. 2023-07-09 22:59:26 | [Mutex] isItemNotified: received:node:2fe7db8e-6f61-45d1-b0a4-faefcb566a7b:localhost:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:Node 7870b3f7-1c4d-497b-b791-759c1a8b8ed4 :: false |
createNodes | 1.554s |
2023-07-09 22:59:22 |
2023-07-09 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:22 | ------------------------------------ 2023-07-09 22:59:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7870b3f7-1c4d-497b-b791-759c1a8b8ed4</title></pubsub></data> 2023-07-09 22:59:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-09 22:59:24 | [Mutex] waiting for: [received:nodes:1ec36c7f-4437-494a-b7e3-b334acfdf5ad:localhost] 2023-07-09 22:59:24 | [Mutex] waiting for: [received:nodes:1ec36c7f-4437-494a-b7e3-b334acfdf5ad:localhost] 2023-07-09 22:59:24 | [Mutex] waiting for: [received:nodes:1ec36c7f-4437-494a-b7e3-b334acfdf5ad:localhost] 2023-07-09 22:59:24 | [Mutex] waiting for: [received:nodes:1ec36c7f-4437-494a-b7e3-b334acfdf5ad:localhost] 2023-07-09 22:59:24 | [Mutex] received everything. 2023-07-09 22:59:24 | [Mutex] isItemNotified: received:node:1ec36c7f-4437-494a-b7e3-b334acfdf5ad:localhost:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:Node 7870b3f7-1c4d-497b-b791-759c1a8b8ed4 :: true |
createSubnodes | 1.026s |
2023-07-09 22:59:24 |
2023-07-09 22:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:24 | ------------------------------------ 2023-07-09 22:59:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2829d55e-027e-408a-afef-960900e453d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2829d55e-027e-408a-afef-960900e453d9</title></pubsub></data> 2023-07-09 22:59:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-09 22:59:25 | [Mutex] waiting for: [received:nodes:aeaa3333-7bfe-48bb-aea2-7c8526c26bfb:localhost] 2023-07-09 22:59:25 | [Mutex] waiting for: [received:nodes:aeaa3333-7bfe-48bb-aea2-7c8526c26bfb:localhost] 2023-07-09 22:59:25 | [Mutex] waiting for: [received:nodes:aeaa3333-7bfe-48bb-aea2-7c8526c26bfb:localhost] 2023-07-09 22:59:25 | [Mutex] waiting for: [received:nodes:aeaa3333-7bfe-48bb-aea2-7c8526c26bfb:localhost] 2023-07-09 22:59:25 | [Mutex] waiting for: [received:nodes:aeaa3333-7bfe-48bb-aea2-7c8526c26bfb:localhost] 2023-07-09 22:59:25 | [Mutex] received everything. 2023-07-09 22:59:25 | [Mutex] isItemNotified: received:node:aeaa3333-7bfe-48bb-aea2-7c8526c26bfb:localhost:node-2829d55e-027e-408a-afef-960900e453d9:Node 2829d55e-027e-408a-afef-960900e453d9 :: true |
deleteNodes | 1.017s |
2023-07-09 22:59:30 |
2023-07-09 22:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:30 | ------------------------------------ 2023-07-09 22:59:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2829d55e-027e-408a-afef-960900e453d9</node></data> 2023-07-09 22:59:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-09 22:59:31 | [Mutex] waiting for: [received:nodes:9f814b40-c32c-44dc-addc-bd4e2a47f5e8:localhost] 2023-07-09 22:59:31 | [Mutex] received everything. 2023-07-09 22:59:31 | [Mutex] isItemNotified: received:node:9f814b40-c32c-44dc-addc-bd4e2a47f5e8:localhost:node-2829d55e-027e-408a-afef-960900e453d9:Node 2829d55e-027e-408a-afef-960900e453d9 :: false |
deleteSubnodes | 1.128s |
2023-07-09 22:59:29 |
2023-07-09 22:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:29 | ------------------------------------ 2023-07-09 22:59:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node></data> 2023-07-09 22:59:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-09 22:59:30 | [Mutex] waiting for: [received:nodes:10f43e8d-6e5f-4dd8-b315-16dbb7de71fb:localhost] 2023-07-09 22:59:30 | [Mutex] waiting for: [received:nodes:10f43e8d-6e5f-4dd8-b315-16dbb7de71fb:localhost] 2023-07-09 22:59:30 | [Mutex] waiting for: [received:nodes:10f43e8d-6e5f-4dd8-b315-16dbb7de71fb:localhost] 2023-07-09 22:59:30 | [Mutex] waiting for: [received:nodes:10f43e8d-6e5f-4dd8-b315-16dbb7de71fb:localhost] 2023-07-09 22:59:30 | [Mutex] received everything. 2023-07-09 22:59:30 | [Mutex] isItemNotified: received:node:10f43e8d-6e5f-4dd8-b315-16dbb7de71fb:localhost:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:Node 7870b3f7-1c4d-497b-b791-759c1a8b8ed4 :: false 2023-07-09 22:59:30 | [Mutex] waiting for: [received:nodes:d8822322-ed18-431d-b7eb-ac20624ad77c:localhost] 2023-07-09 22:59:30 | [Mutex] received everything. 2023-07-09 22:59:30 | [Mutex] isItemNotified: received:node:d8822322-ed18-431d-b7eb-ac20624ad77c:localhost:node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4:Node 7870b3f7-1c4d-497b-b791-759c1a8b8ed4 :: false |
publishItemsToNodes | 0.275s |
2023-07-09 22:59:27 |
2023-07-09 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:27 | ------------------------------------ 2023-07-09 22:59:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node><item-id>item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</item-id><entry><test>item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</test></entry></data> 2023-07-09 22:59:27 | 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-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</value></item-id></result> 2023-07-09 22:59:27 | [Mutex] waiting for: [published:item:notifieditem-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2:admin@test-domain.com] 2023-07-09 22:59:27 | [Mutex] received everything. 2023-07-09 22:59:27 | [Mutex] isItemNotified: published:item:notifieditem-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2023-07-09 22:59:27 |
2023-07-09 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:27 | ------------------------------------ 2023-07-09 22:59:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node><item-id>item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</item-id></data> 2023-07-09 22:59:28 | 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-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</value></item-id></result> 2023-07-09 22:59:28 | [Mutex] received everything. 2023-07-09 22:59:28 | [Mutex] isItemNotified: retracted:item:notifieditem-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.159s |
2023-07-09 22:59:27 |
2023-07-09 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:27 | ------------------------------------ 2023-07-09 22:59:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node><item-id>item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</item-id></data> 2023-07-09 22:59:27 | 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-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</value></node><item-id type="text-single" label="Item ID"><value>item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</value></item-id><item type="text-multi" label="Item"><value><item id="item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2"><test>item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2</test></item></value></item></result> 2023-07-09 22:59:27 | [Mutex] notify: [retrieved:item:item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2:payload-matches:true:localhost] 2023-07-09 22:59:27 | [Mutex] received everything. 2023-07-09 22:59:27 | [Mutex] isItemNotified: retrieved:item:item-3318b70f-1a3a-43d7-bd06-3f2cb15da2d2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-09 22:59:27 |
2023-07-09 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:27 | ------------------------------------ 2023-07-09 22:59:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-09 22:59:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</value><value>test</value><value>node-2829d55e-027e-408a-afef-960900e453d9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-09 22:59:27 |
2023-07-09 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:27 | ------------------------------------ 2023-07-09 22:59:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4)</node-pattern></data> 2023-07-09 22:59:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2023-07-09 22:59:26 |
2023-07-09 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:26 | ------------------------------------ 2023-07-09 22:59:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-09 22:59:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.175s |
2023-07-09 22:59:28 |
2023-07-09 22:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:59:28 | ------------------------------------ 2023-07-09 22:59:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7870b3f7-1c4d-497b-b791-759c1a8b8ed4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-09 22:59:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |