Test duration : 9.509s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-09-22 23:07:16 |
2022-09-22 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:16 | ------------------------------------ 2022-09-22 23:07:16 | [Mutex] waiting for: [configured:node:node-f06c3136-6401-4363-9200-925b6a4a7801:node-90b4b22f-d855-4594-b484-7d69178f7f9f] 2022-09-22 23:07:16 | [Mutex] received everything. 2022-09-22 23:07:16 | [Mutex] isItemNotified: configured:node:node-f06c3136-6401-4363-9200-925b6a4a7801:node-90b4b22f-d855-4594-b484-7d69178f7f9f :: true 2022-09-22 23:07:17 | [Mutex] waiting for: [received:nodes:4fbb302b-1fe4-4261-95b3-42a911f084d0:localhost] 2022-09-22 23:07:17 | [Mutex] received everything. 2022-09-22 23:07:17 | [Mutex] isItemNotified: received:node:4fbb302b-1fe4-4261-95b3-42a911f084d0:localhost:node-f06c3136-6401-4363-9200-925b6a4a7801:Node f06c3136-6401-4363-9200-925b6a4a7801 :: true 2022-09-22 23:07:17 | [Mutex] waiting for: [received:nodes:fa784ee2-33b1-44e8-923a-e6f7fdf21a05:localhost] 2022-09-22 23:07:17 | [Mutex] waiting for: [received:nodes:fa784ee2-33b1-44e8-923a-e6f7fdf21a05:localhost] 2022-09-22 23:07:17 | [Mutex] received everything. 2022-09-22 23:07:17 | [Mutex] isItemNotified: received:node:fa784ee2-33b1-44e8-923a-e6f7fdf21a05:localhost:node-f06c3136-6401-4363-9200-925b6a4a7801:Node f06c3136-6401-4363-9200-925b6a4a7801 :: false |
createNodes | 1.495s |
2022-09-22 23:07:14 |
2022-09-22 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:14 | ------------------------------------ 2022-09-22 23:07:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f06c3136-6401-4363-9200-925b6a4a7801</title></pubsub></data> 2022-09-22 23:07:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 23:07:15 | [Mutex] waiting for: [received:nodes:8a495a3e-06ad-44ee-8e92-da5a683db64b:localhost] 2022-09-22 23:07:15 | [Mutex] waiting for: [received:nodes:8a495a3e-06ad-44ee-8e92-da5a683db64b:localhost] 2022-09-22 23:07:15 | [Mutex] received everything. 2022-09-22 23:07:15 | [Mutex] isItemNotified: received:node:8a495a3e-06ad-44ee-8e92-da5a683db64b:localhost:node-f06c3136-6401-4363-9200-925b6a4a7801:Node f06c3136-6401-4363-9200-925b6a4a7801 :: true |
createSubnodes | 1.021s |
2022-09-22 23:07:15 |
2022-09-22 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:15 | ------------------------------------ 2022-09-22 23:07:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-90b4b22f-d855-4594-b484-7d69178f7f9f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 90b4b22f-d855-4594-b484-7d69178f7f9f</title></pubsub></data> 2022-09-22 23:07:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 23:07:16 | [Mutex] waiting for: [received:nodes:c9722660-3781-4ce6-ba3a-da0caec4c2f0:localhost] 2022-09-22 23:07:16 | [Mutex] received everything. 2022-09-22 23:07:16 | [Mutex] isItemNotified: received:node:c9722660-3781-4ce6-ba3a-da0caec4c2f0:localhost:node-90b4b22f-d855-4594-b484-7d69178f7f9f:Node 90b4b22f-d855-4594-b484-7d69178f7f9f :: true |
deleteNodes | 1.016s |
2022-09-22 23:07:21 |
2022-09-22 23:07:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:21 | ------------------------------------ 2022-09-22 23:07:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-90b4b22f-d855-4594-b484-7d69178f7f9f</node></data> 2022-09-22 23:07:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 23:07:22 | [Mutex] waiting for: [received:nodes:290abc09-1786-4b8f-a35f-581a4e7bf5e8:localhost] 2022-09-22 23:07:22 | [Mutex] received everything. 2022-09-22 23:07:22 | [Mutex] isItemNotified: received:node:290abc09-1786-4b8f-a35f-581a4e7bf5e8:localhost:node-90b4b22f-d855-4594-b484-7d69178f7f9f:Node 90b4b22f-d855-4594-b484-7d69178f7f9f :: false |
deleteSubnodes | 1.141s |
2022-09-22 23:07:20 |
2022-09-22 23:07:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:20 | ------------------------------------ 2022-09-22 23:07:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node></data> 2022-09-22 23:07:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 23:07:21 | [Mutex] waiting for: [received:nodes:5e26db7a-a607-4a25-bd55-c8735baadcc7:localhost] 2022-09-22 23:07:21 | [Mutex] waiting for: [received:nodes:5e26db7a-a607-4a25-bd55-c8735baadcc7:localhost] 2022-09-22 23:07:21 | [Mutex] received everything. 2022-09-22 23:07:21 | [Mutex] isItemNotified: received:node:5e26db7a-a607-4a25-bd55-c8735baadcc7:localhost:node-f06c3136-6401-4363-9200-925b6a4a7801:Node f06c3136-6401-4363-9200-925b6a4a7801 :: false 2022-09-22 23:07:21 | [Mutex] waiting for: [received:nodes:386834dd-b87b-4d17-8ed5-8ac2faabf161:localhost] 2022-09-22 23:07:21 | [Mutex] received everything. 2022-09-22 23:07:21 | [Mutex] isItemNotified: received:node:386834dd-b87b-4d17-8ed5-8ac2faabf161:localhost:node-f06c3136-6401-4363-9200-925b6a4a7801:Node f06c3136-6401-4363-9200-925b6a4a7801 :: false |
publishItemsToNodes | 0.174s |
2022-09-22 23:07:18 |
2022-09-22 23:07:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:18 | ------------------------------------ 2022-09-22 23:07:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node><item-id>item-1b360192-475d-4aa2-a4eb-89bea6316d2d</item-id><entry><test>item-1b360192-475d-4aa2-a4eb-89bea6316d2d</test></entry></data> 2022-09-22 23:07:19 | 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-1b360192-475d-4aa2-a4eb-89bea6316d2d</value></item-id></result> 2022-09-22 23:07:19 | [Mutex] waiting for: [published:item:notifieditem-1b360192-475d-4aa2-a4eb-89bea6316d2d:admin@test-domain.com] 2022-09-22 23:07:19 | [Mutex] received everything. 2022-09-22 23:07:19 | [Mutex] isItemNotified: published:item:notifieditem-1b360192-475d-4aa2-a4eb-89bea6316d2d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.159s |
2022-09-22 23:07:19 |
2022-09-22 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:19 | ------------------------------------ 2022-09-22 23:07:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node><item-id>item-1b360192-475d-4aa2-a4eb-89bea6316d2d</item-id></data> 2022-09-22 23:07:19 | 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-1b360192-475d-4aa2-a4eb-89bea6316d2d</value></item-id></result> 2022-09-22 23:07:19 | [Mutex] received everything. 2022-09-22 23:07:19 | [Mutex] isItemNotified: retracted:item:notifieditem-1b360192-475d-4aa2-a4eb-89bea6316d2d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.287s |
2022-09-22 23:07:19 |
2022-09-22 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:19 | ------------------------------------ 2022-09-22 23:07:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node><item-id>item-1b360192-475d-4aa2-a4eb-89bea6316d2d</item-id></data> 2022-09-22 23:07:19 | 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-f06c3136-6401-4363-9200-925b6a4a7801</value></node><item-id type="text-single" label="Item ID"><value>item-1b360192-475d-4aa2-a4eb-89bea6316d2d</value></item-id><item type="text-multi" label="Item"><value><item id="item-1b360192-475d-4aa2-a4eb-89bea6316d2d"><test>item-1b360192-475d-4aa2-a4eb-89bea6316d2d</test></item></value></item></result> 2022-09-22 23:07:19 | [Mutex] notify: [retrieved:item:item-1b360192-475d-4aa2-a4eb-89bea6316d2d:payload-matches:true:localhost] 2022-09-22 23:07:19 | [Mutex] received everything. 2022-09-22 23:07:19 | [Mutex] isItemNotified: retrieved:item:item-1b360192-475d-4aa2-a4eb-89bea6316d2d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-22 23:07:19 |
2022-09-22 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:19 | ------------------------------------ 2022-09-22 23:07:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-22 23:07:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-90b4b22f-d855-4594-b484-7d69178f7f9f</value><value>test</value><value>node-f06c3136-6401-4363-9200-925b6a4a7801</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-09-22 23:07:19 |
2022-09-22 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:19 | ------------------------------------ 2022-09-22 23:07:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f06c3136-6401-4363-9200-925b6a4a7801)</node-pattern></data> 2022-09-22 23:07:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.168s |
2022-09-22 23:07:17 |
2022-09-22 23:07:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:17 | ------------------------------------ 2022-09-22 23:07:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-22 23:07:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.147s |
2022-09-22 23:07:19 |
2022-09-22 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 23:07:19 | ------------------------------------ 2022-09-22 23:07:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f06c3136-6401-4363-9200-925b6a4a7801</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-22 23:07:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |