Test duration : 9.958s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2022-02-17 21:32:14 |
2022-02-17 21:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:14 | ------------------------------------ 2022-02-17 21:32:14 | [Mutex] waiting for: [configured:node:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f] 2022-02-17 21:32:14 | [Mutex] received everything. 2022-02-17 21:32:14 | [Mutex] isItemNotified: configured:node:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f :: true 2022-02-17 21:32:15 | [Mutex] waiting for: [received:nodes:c88861eb-a6d3-4397-b801-0abe308d855a:localhost] 2022-02-17 21:32:15 | [Mutex] received everything. 2022-02-17 21:32:15 | [Mutex] isItemNotified: received:node:c88861eb-a6d3-4397-b801-0abe308d855a:localhost:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:Node 7e8f1cb0-0e41-4a12-ba38-2983e64665c8 :: true 2022-02-17 21:32:15 | [Mutex] waiting for: [received:nodes:38c817ac-2a3c-4a64-bd55-513f36eaaed6:localhost] 2022-02-17 21:32:15 | [Mutex] received everything. 2022-02-17 21:32:15 | [Mutex] isItemNotified: received:node:38c817ac-2a3c-4a64-bd55-513f36eaaed6:localhost:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:Node 7e8f1cb0-0e41-4a12-ba38-2983e64665c8 :: false |
createNodes | 1.438s |
2022-02-17 21:32:11 |
2022-02-17 21:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:11 | ------------------------------------ 2022-02-17 21:32:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e8f1cb0-0e41-4a12-ba38-2983e64665c8</title></pubsub></data> 2022-02-17 21:32:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 21:32:13 | [Mutex] waiting for: [received:nodes:b162cfae-4427-435d-adef-65a0d1496eea:localhost] 2022-02-17 21:32:13 | [Mutex] received everything. 2022-02-17 21:32:13 | [Mutex] isItemNotified: received:node:b162cfae-4427-435d-adef-65a0d1496eea:localhost:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:Node 7e8f1cb0-0e41-4a12-ba38-2983e64665c8 :: true |
createSubnodes | 1.024s |
2022-02-17 21:32:13 |
2022-02-17 21:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:13 | ------------------------------------ 2022-02-17 21:32:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f</title></pubsub></data> 2022-02-17 21:32:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 21:32:14 | [Mutex] waiting for: [received:nodes:97b6eb1b-a2b9-4aaa-97f1-19e84e39ddda:localhost] 2022-02-17 21:32:14 | [Mutex] received everything. 2022-02-17 21:32:14 | [Mutex] isItemNotified: received:node:97b6eb1b-a2b9-4aaa-97f1-19e84e39ddda:localhost:node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f:Node 7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f :: true |
deleteNodes | 1.026s |
2022-02-17 21:32:19 |
2022-02-17 21:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:19 | ------------------------------------ 2022-02-17 21:32:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f</node></data> 2022-02-17 21:32:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 21:32:20 | [Mutex] waiting for: [received:nodes:454617f0-fdc6-4de6-ac23-fa306b023154:localhost] 2022-02-17 21:32:20 | [Mutex] waiting for: [received:nodes:454617f0-fdc6-4de6-ac23-fa306b023154:localhost] 2022-02-17 21:32:20 | [Mutex] received everything. 2022-02-17 21:32:20 | [Mutex] isItemNotified: received:node:454617f0-fdc6-4de6-ac23-fa306b023154:localhost:node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f:Node 7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f :: false |
deleteSubnodes | 1.183s |
2022-02-17 21:32:18 |
2022-02-17 21:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:18 | ------------------------------------ 2022-02-17 21:32:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node></data> 2022-02-17 21:32:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 21:32:19 | [Mutex] waiting for: [received:nodes:084e8d3f-6980-402e-958b-2f66517f1371:localhost] 2022-02-17 21:32:19 | [Mutex] waiting for: [received:nodes:084e8d3f-6980-402e-958b-2f66517f1371:localhost] 2022-02-17 21:32:19 | [Mutex] received everything. 2022-02-17 21:32:19 | [Mutex] isItemNotified: received:node:084e8d3f-6980-402e-958b-2f66517f1371:localhost:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:Node 7e8f1cb0-0e41-4a12-ba38-2983e64665c8 :: false 2022-02-17 21:32:19 | [Mutex] waiting for: [received:nodes:52d5af44-280d-43a2-9e0f-df5122ec0d59:localhost] 2022-02-17 21:32:19 | [Mutex] received everything. 2022-02-17 21:32:19 | [Mutex] isItemNotified: received:node:52d5af44-280d-43a2-9e0f-df5122ec0d59:localhost:node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8:Node 7e8f1cb0-0e41-4a12-ba38-2983e64665c8 :: false |
publishItemsToNodes | 0.232s |
2022-02-17 21:32:16 |
2022-02-17 21:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:16 | ------------------------------------ 2022-02-17 21:32:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node><item-id>item-58ea2142-dfff-471e-973a-aa6391859639</item-id><entry><test>item-58ea2142-dfff-471e-973a-aa6391859639</test></entry></data> 2022-02-17 21:32:16 | 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-58ea2142-dfff-471e-973a-aa6391859639</value></item-id></result> 2022-02-17 21:32:16 | [Mutex] received everything. 2022-02-17 21:32:16 | [Mutex] isItemNotified: published:item:notifieditem-58ea2142-dfff-471e-973a-aa6391859639:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2022-02-17 21:32:17 |
2022-02-17 21:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:17 | ------------------------------------ 2022-02-17 21:32:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node><item-id>item-58ea2142-dfff-471e-973a-aa6391859639</item-id></data> 2022-02-17 21:32:17 | 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-58ea2142-dfff-471e-973a-aa6391859639</value></item-id></result> 2022-02-17 21:32:17 | [Mutex] received everything. 2022-02-17 21:32:17 | [Mutex] isItemNotified: retracted:item:notifieditem-58ea2142-dfff-471e-973a-aa6391859639:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.340s |
2022-02-17 21:32:16 |
2022-02-17 21:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:16 | ------------------------------------ 2022-02-17 21:32:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node><item-id>item-58ea2142-dfff-471e-973a-aa6391859639</item-id></data> 2022-02-17 21:32:17 | 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-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</value></node><item-id type="text-single" label="Item ID"><value>item-58ea2142-dfff-471e-973a-aa6391859639</value></item-id><item type="text-multi" label="Item"><value><item id="item-58ea2142-dfff-471e-973a-aa6391859639"><test>item-58ea2142-dfff-471e-973a-aa6391859639</test></item></value></item></result> 2022-02-17 21:32:17 | [Mutex] notify: [retrieved:item:item-58ea2142-dfff-471e-973a-aa6391859639:payload-matches:true:localhost] 2022-02-17 21:32:17 | [Mutex] received everything. 2022-02-17 21:32:17 | [Mutex] isItemNotified: retrieved:item:item-58ea2142-dfff-471e-973a-aa6391859639:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-17 21:32:17 |
2022-02-17 21:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:17 | ------------------------------------ 2022-02-17 21:32:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-17 21:32:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</value><value>node-7cc7e3f1-9ab1-4085-87d8-82673e6c8e3f</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-17 21:32:17 |
2022-02-17 21:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:17 | ------------------------------------ 2022-02-17 21:32:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8)</node-pattern></data> 2022-02-17 21:32:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.137s |
2022-02-17 21:32:15 |
2022-02-17 21:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:15 | ------------------------------------ 2022-02-17 21:32:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 21:32:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2022-02-17 21:32:17 |
2022-02-17 21:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:32:17 | ------------------------------------ 2022-02-17 21:32:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7e8f1cb0-0e41-4a12-ba38-2983e64665c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 21:32:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |