Test duration : 10.603s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.141s |
2022-01-19 21:44:39 |
2022-01-19 21:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:39 | ------------------------------------ 2022-01-19 21:44:39 | [Mutex] waiting for: [configured:node:node-509f282e-7204-45de-9227-cf4d86a0517a:node-3792db58-4e3f-425d-adaf-35967dd14702] 2022-01-19 21:44:39 | [Mutex] received everything. 2022-01-19 21:44:39 | [Mutex] isItemNotified: configured:node:node-509f282e-7204-45de-9227-cf4d86a0517a:node-3792db58-4e3f-425d-adaf-35967dd14702 :: true 2022-01-19 21:44:40 | [Mutex] waiting for: [received:nodes:c5ef9195-75f0-45a4-8704-ed3b43645442:localhost] 2022-01-19 21:44:40 | [Mutex] received everything. 2022-01-19 21:44:40 | [Mutex] isItemNotified: received:node:c5ef9195-75f0-45a4-8704-ed3b43645442:localhost:node-509f282e-7204-45de-9227-cf4d86a0517a:Node 509f282e-7204-45de-9227-cf4d86a0517a :: true 2022-01-19 21:44:40 | [Mutex] waiting for: [received:nodes:700e1008-d2e2-4e26-b0ce-e9308eea409c:localhost] 2022-01-19 21:44:40 | [Mutex] waiting for: [received:nodes:700e1008-d2e2-4e26-b0ce-e9308eea409c:localhost] 2022-01-19 21:44:40 | [Mutex] waiting for: [received:nodes:700e1008-d2e2-4e26-b0ce-e9308eea409c:localhost] 2022-01-19 21:44:40 | [Mutex] waiting for: [received:nodes:700e1008-d2e2-4e26-b0ce-e9308eea409c:localhost] 2022-01-19 21:44:40 | [Mutex] received everything. 2022-01-19 21:44:40 | [Mutex] isItemNotified: received:node:700e1008-d2e2-4e26-b0ce-e9308eea409c:localhost:node-509f282e-7204-45de-9227-cf4d86a0517a:Node 509f282e-7204-45de-9227-cf4d86a0517a :: false |
createNodes | 1.645s |
2022-01-19 21:44:36 |
2022-01-19 21:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:36 | ------------------------------------ 2022-01-19 21:44:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 509f282e-7204-45de-9227-cf4d86a0517a</title></pubsub></data> 2022-01-19 21:44:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:44:38 | [Mutex] waiting for: [received:nodes:8904d3a0-f075-4e06-b42a-f45cd211b816:localhost] 2022-01-19 21:44:38 | [Mutex] received everything. 2022-01-19 21:44:38 | [Mutex] isItemNotified: received:node:8904d3a0-f075-4e06-b42a-f45cd211b816:localhost:node-509f282e-7204-45de-9227-cf4d86a0517a:Node 509f282e-7204-45de-9227-cf4d86a0517a :: true |
createSubnodes | 1.038s |
2022-01-19 21:44:38 |
2022-01-19 21:44:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:38 | ------------------------------------ 2022-01-19 21:44:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3792db58-4e3f-425d-adaf-35967dd14702</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3792db58-4e3f-425d-adaf-35967dd14702</title></pubsub></data> 2022-01-19 21:44:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:44:39 | [Mutex] waiting for: [received:nodes:7bc86bfc-abeb-447a-a22a-82c28390309e:localhost] 2022-01-19 21:44:39 | [Mutex] received everything. 2022-01-19 21:44:39 | [Mutex] isItemNotified: received:node:7bc86bfc-abeb-447a-a22a-82c28390309e:localhost:node-3792db58-4e3f-425d-adaf-35967dd14702:Node 3792db58-4e3f-425d-adaf-35967dd14702 :: true |
deleteNodes | 1.028s |
2022-01-19 21:44:45 |
2022-01-19 21:44:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:45 | ------------------------------------ 2022-01-19 21:44:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3792db58-4e3f-425d-adaf-35967dd14702</node></data> 2022-01-19 21:44:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:44:46 | [Mutex] waiting for: [received:nodes:58d55d18-e47f-48f8-9a99-33027c1ae6b8:localhost] 2022-01-19 21:44:46 | [Mutex] waiting for: [received:nodes:58d55d18-e47f-48f8-9a99-33027c1ae6b8:localhost] 2022-01-19 21:44:46 | [Mutex] received everything. 2022-01-19 21:44:46 | [Mutex] isItemNotified: received:node:58d55d18-e47f-48f8-9a99-33027c1ae6b8:localhost:node-3792db58-4e3f-425d-adaf-35967dd14702:Node 3792db58-4e3f-425d-adaf-35967dd14702 :: false |
deleteSubnodes | 1.140s |
2022-01-19 21:44:44 |
2022-01-19 21:44:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:44 | ------------------------------------ 2022-01-19 21:44:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node></data> 2022-01-19 21:44:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:44:45 | [Mutex] waiting for: [received:nodes:d3ffedef-4e9b-4282-acd3-87c389f1e6b6:localhost] 2022-01-19 21:44:45 | [Mutex] waiting for: [received:nodes:d3ffedef-4e9b-4282-acd3-87c389f1e6b6:localhost] 2022-01-19 21:44:45 | [Mutex] waiting for: [received:nodes:d3ffedef-4e9b-4282-acd3-87c389f1e6b6:localhost] 2022-01-19 21:44:45 | [Mutex] received everything. 2022-01-19 21:44:45 | [Mutex] isItemNotified: received:node:d3ffedef-4e9b-4282-acd3-87c389f1e6b6:localhost:node-509f282e-7204-45de-9227-cf4d86a0517a:Node 509f282e-7204-45de-9227-cf4d86a0517a :: false 2022-01-19 21:44:45 | [Mutex] waiting for: [received:nodes:af225342-95b2-4962-94f6-6d6c8599b88a:localhost] 2022-01-19 21:44:45 | [Mutex] received everything. 2022-01-19 21:44:45 | [Mutex] isItemNotified: received:node:af225342-95b2-4962-94f6-6d6c8599b88a:localhost:node-509f282e-7204-45de-9227-cf4d86a0517a:Node 509f282e-7204-45de-9227-cf4d86a0517a :: false |
publishItemsToNodes | 0.285s |
2022-01-19 21:44:41 |
2022-01-19 21:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:41 | ------------------------------------ 2022-01-19 21:44:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node><item-id>item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</item-id><entry><test>item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</test></entry></data> 2022-01-19 21:44:41 | 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-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</value></item-id></result> 2022-01-19 21:44:41 | [Mutex] waiting for: [published:item:notifieditem-aa7e7b84-e3e5-4f2a-9b76-489a1984014a:admin@test-domain.com] 2022-01-19 21:44:42 | [Mutex] received everything. 2022-01-19 21:44:42 | [Mutex] isItemNotified: published:item:notifieditem-aa7e7b84-e3e5-4f2a-9b76-489a1984014a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2022-01-19 21:44:42 |
2022-01-19 21:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:42 | ------------------------------------ 2022-01-19 21:44:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node><item-id>item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</item-id></data> 2022-01-19 21:44:42 | 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-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</value></item-id></result> 2022-01-19 21:44:42 | [Mutex] waiting for: [retracted:item:notifieditem-aa7e7b84-e3e5-4f2a-9b76-489a1984014a:admin@test-domain.com] 2022-01-19 21:44:42 | [Mutex] received everything. 2022-01-19 21:44:42 | [Mutex] isItemNotified: retracted:item:notifieditem-aa7e7b84-e3e5-4f2a-9b76-489a1984014a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.310s |
2022-01-19 21:44:42 |
2022-01-19 21:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:42 | ------------------------------------ 2022-01-19 21:44:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node><item-id>item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</item-id></data> 2022-01-19 21:44:42 | 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-509f282e-7204-45de-9227-cf4d86a0517a</value></node><item-id label="Item ID" type="text-single"><value>item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</value></item-id><item label="Item" type="text-multi"><value><item id="item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a"><test>item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a</test></item></value></item></result> 2022-01-19 21:44:42 | [Mutex] notify: [retrieved:item:item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a:payload-matches:true:localhost] 2022-01-19 21:44:42 | [Mutex] received everything. 2022-01-19 21:44:42 | [Mutex] isItemNotified: retrieved:item:item-aa7e7b84-e3e5-4f2a-9b76-489a1984014a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2022-01-19 21:44:42 |
2022-01-19 21:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:42 | ------------------------------------ 2022-01-19 21:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-01-19 21:44:42 | 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-509f282e-7204-45de-9227-cf4d86a0517a</value><value>node-3792db58-4e3f-425d-adaf-35967dd14702</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-01-19 21:44:42 |
2022-01-19 21:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:42 | ------------------------------------ 2022-01-19 21:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-509f282e-7204-45de-9227-cf4d86a0517a)</node-pattern></data> 2022-01-19 21:44:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.186s |
2022-01-19 21:44:40 |
2022-01-19 21:44:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:40 | ------------------------------------ 2022-01-19 21:44:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-19 21:44:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.379s |
2022-01-19 21:44:42 |
2022-01-19 21:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:44:42 | ------------------------------------ 2022-01-19 21:44:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-509f282e-7204-45de-9227-cf4d86a0517a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-19 21:44:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |