Test duration : 10.156s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-11-03 21:57:46 |
2020-11-03 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:46 | ------------------------------------ 2020-11-03 21:57:46 | [Mutex] waiting for: [configured:node:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:node-7c166ed4-6c33-40e5-ac56-8790f4cad86b] 2020-11-03 21:57:46 | [Mutex] received everything. 2020-11-03 21:57:46 | [Mutex] isItemNotified: configured:node:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:node-7c166ed4-6c33-40e5-ac56-8790f4cad86b :: true 2020-11-03 21:57:47 | [Mutex] waiting for: [received:nodes:6316c0d6-10e1-4cd6-9ee5-ce2459385cff:localhost] 2020-11-03 21:57:47 | [Mutex] waiting for: [received:nodes:6316c0d6-10e1-4cd6-9ee5-ce2459385cff:localhost] 2020-11-03 21:57:47 | [Mutex] received everything. 2020-11-03 21:57:47 | [Mutex] isItemNotified: received:node:6316c0d6-10e1-4cd6-9ee5-ce2459385cff:localhost:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:Node b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a :: true 2020-11-03 21:57:47 | [Mutex] waiting for: [received:nodes:156d4e91-b182-495f-9e8c-b68661bc0b7b:localhost] 2020-11-03 21:57:47 | [Mutex] waiting for: [received:nodes:156d4e91-b182-495f-9e8c-b68661bc0b7b:localhost] 2020-11-03 21:57:47 | [Mutex] waiting for: [received:nodes:156d4e91-b182-495f-9e8c-b68661bc0b7b:localhost] 2020-11-03 21:57:47 | [Mutex] received everything. 2020-11-03 21:57:47 | [Mutex] isItemNotified: received:node:156d4e91-b182-495f-9e8c-b68661bc0b7b:localhost:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:Node b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a :: false |
createNodes | 1.456s |
2020-11-03 21:57:43 |
2020-11-03 21:57:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:43 | ------------------------------------ 2020-11-03 21:57:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</title></pubsub></data> 2020-11-03 21:57:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:57:45 | [Mutex] waiting for: [received:nodes:534af206-0164-4b5b-9a21-71817a69c0e4:localhost] 2020-11-03 21:57:45 | [Mutex] received everything. 2020-11-03 21:57:45 | [Mutex] isItemNotified: received:node:534af206-0164-4b5b-9a21-71817a69c0e4:localhost:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:Node b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a :: true |
createSubnodes | 1.032s |
2020-11-03 21:57:45 |
2020-11-03 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:45 | ------------------------------------ 2020-11-03 21:57:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7c166ed4-6c33-40e5-ac56-8790f4cad86b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7c166ed4-6c33-40e5-ac56-8790f4cad86b</title></pubsub></data> 2020-11-03 21:57:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:57:46 | [Mutex] waiting for: [received:nodes:57b6b334-76c5-4752-a9f8-9781c3880821:localhost] 2020-11-03 21:57:46 | [Mutex] received everything. 2020-11-03 21:57:46 | [Mutex] isItemNotified: received:node:57b6b334-76c5-4752-a9f8-9781c3880821:localhost:node-7c166ed4-6c33-40e5-ac56-8790f4cad86b:Node 7c166ed4-6c33-40e5-ac56-8790f4cad86b :: true |
deleteNodes | 1.030s |
2020-11-03 21:57:51 |
2020-11-03 21:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:51 | ------------------------------------ 2020-11-03 21:57:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7c166ed4-6c33-40e5-ac56-8790f4cad86b</node></data> 2020-11-03 21:57:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:57:52 | [Mutex] waiting for: [received:nodes:3a852320-e322-4b83-abf7-0bbc5a1906e3:localhost] 2020-11-03 21:57:52 | [Mutex] waiting for: [received:nodes:3a852320-e322-4b83-abf7-0bbc5a1906e3:localhost] 2020-11-03 21:57:52 | [Mutex] received everything. 2020-11-03 21:57:52 | [Mutex] isItemNotified: received:node:3a852320-e322-4b83-abf7-0bbc5a1906e3:localhost:node-7c166ed4-6c33-40e5-ac56-8790f4cad86b:Node 7c166ed4-6c33-40e5-ac56-8790f4cad86b :: false |
deleteSubnodes | 1.141s |
2020-11-03 21:57:50 |
2020-11-03 21:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:50 | ------------------------------------ 2020-11-03 21:57:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node></data> 2020-11-03 21:57:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:57:51 | [Mutex] waiting for: [received:nodes:127b5709-dee8-4ac0-85ac-f9d6be977b82:localhost] 2020-11-03 21:57:51 | [Mutex] received everything. 2020-11-03 21:57:51 | [Mutex] isItemNotified: received:node:127b5709-dee8-4ac0-85ac-f9d6be977b82:localhost:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:Node b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a :: false 2020-11-03 21:57:51 | [Mutex] waiting for: [received:nodes:81d21c67-114d-4bd5-abac-78b9b1ca19de:localhost] 2020-11-03 21:57:51 | [Mutex] received everything. 2020-11-03 21:57:51 | [Mutex] isItemNotified: received:node:81d21c67-114d-4bd5-abac-78b9b1ca19de:localhost:node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a:Node b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a :: false |
publishItemsToNodes | 0.244s |
2020-11-03 21:57:48 |
2020-11-03 21:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:48 | ------------------------------------ 2020-11-03 21:57:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node><item-id>item-7eca7d15-f4d0-492b-90c5-7f6603132351</item-id><entry><test>item-7eca7d15-f4d0-492b-90c5-7f6603132351</test></entry></data> 2020-11-03 21:57:48 | 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-7eca7d15-f4d0-492b-90c5-7f6603132351</value></item-id></result> 2020-11-03 21:57:48 | [Mutex] waiting for: [published:item:notifieditem-7eca7d15-f4d0-492b-90c5-7f6603132351:admin@test-domain.com] 2020-11-03 21:57:48 | [Mutex] received everything. 2020-11-03 21:57:48 | [Mutex] isItemNotified: published:item:notifieditem-7eca7d15-f4d0-492b-90c5-7f6603132351:admin@test-domain.com :: true |
retractItemsFromNodes | 0.208s |
2020-11-03 21:57:49 |
2020-11-03 21:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:49 | ------------------------------------ 2020-11-03 21:57:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node><item-id>item-7eca7d15-f4d0-492b-90c5-7f6603132351</item-id></data> 2020-11-03 21:57:49 | 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-7eca7d15-f4d0-492b-90c5-7f6603132351</value></item-id></result> 2020-11-03 21:57:49 | [Mutex] received everything. 2020-11-03 21:57:49 | [Mutex] isItemNotified: retracted:item:notifieditem-7eca7d15-f4d0-492b-90c5-7f6603132351:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.250s |
2020-11-03 21:57:48 |
2020-11-03 21:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:48 | ------------------------------------ 2020-11-03 21:57:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node><item-id>item-7eca7d15-f4d0-492b-90c5-7f6603132351</item-id></data> 2020-11-03 21:57:49 | 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-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</value></node><item-id label="Item ID" type="text-single"><value>item-7eca7d15-f4d0-492b-90c5-7f6603132351</value></item-id><item label="Item" type="text-multi"><value><item id="item-7eca7d15-f4d0-492b-90c5-7f6603132351"><test>item-7eca7d15-f4d0-492b-90c5-7f6603132351</test></item></value></item></result> 2020-11-03 21:57:49 | [Mutex] notify: [retrieved:item:item-7eca7d15-f4d0-492b-90c5-7f6603132351:payload-matches:true:localhost] 2020-11-03 21:57:49 | [Mutex] received everything. 2020-11-03 21:57:49 | [Mutex] isItemNotified: retrieved:item:item-7eca7d15-f4d0-492b-90c5-7f6603132351:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2020-11-03 21:57:49 |
2020-11-03 21:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:49 | ------------------------------------ 2020-11-03 21:57:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-03 21:57:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</value><value>test</value><value>node-7c166ed4-6c33-40e5-ac56-8790f4cad86b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2020-11-03 21:57:49 |
2020-11-03 21:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:49 | ------------------------------------ 2020-11-03 21:57:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a)</node-pattern></data> 2020-11-03 21:57:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.146s |
2020-11-03 21:57:47 |
2020-11-03 21:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:47 | ------------------------------------ 2020-11-03 21:57:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-03 21:57:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.282s |
2020-11-03 21:57:49 |
2020-11-03 21:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:57:49 | ------------------------------------ 2020-11-03 21:57:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b97f7d61-8dfb-45eb-b5c0-5db2d72bf99a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-03 21:57:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |