Test duration : 10.126s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2021-09-20 22:52:14 |
2021-09-20 22:52:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:14 | ------------------------------------ 2021-09-20 22:52:14 | [Mutex] waiting for: [configured:node:node-0c806676-ec70-462c-a13c-1800f7f7125f:node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a] 2021-09-20 22:52:14 | [Mutex] received everything. 2021-09-20 22:52:14 | [Mutex] isItemNotified: configured:node:node-0c806676-ec70-462c-a13c-1800f7f7125f:node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a :: true 2021-09-20 22:52:15 | [Mutex] waiting for: [received:nodes:d402683c-4853-4ce7-bb65-489dd19753fc:localhost] 2021-09-20 22:52:15 | [Mutex] received everything. 2021-09-20 22:52:15 | [Mutex] isItemNotified: received:node:d402683c-4853-4ce7-bb65-489dd19753fc:localhost:node-0c806676-ec70-462c-a13c-1800f7f7125f:Node 0c806676-ec70-462c-a13c-1800f7f7125f :: true 2021-09-20 22:52:15 | [Mutex] waiting for: [received:nodes:61b077e5-7ca3-41a4-b948-e3bdf60d97d5:localhost] 2021-09-20 22:52:15 | [Mutex] received everything. 2021-09-20 22:52:15 | [Mutex] isItemNotified: received:node:61b077e5-7ca3-41a4-b948-e3bdf60d97d5:localhost:node-0c806676-ec70-462c-a13c-1800f7f7125f:Node 0c806676-ec70-462c-a13c-1800f7f7125f :: false |
createNodes | 1.523s |
2021-09-20 22:52:11 |
2021-09-20 22:52:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:11 | ------------------------------------ 2021-09-20 22:52:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0c806676-ec70-462c-a13c-1800f7f7125f</title></pubsub></data> 2021-09-20 22:52:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 22:52:13 | [Mutex] waiting for: [received:nodes:e726c7bb-be50-436f-80a0-8cc89dc8fc8c:localhost] 2021-09-20 22:52:13 | [Mutex] received everything. 2021-09-20 22:52:13 | [Mutex] isItemNotified: received:node:e726c7bb-be50-436f-80a0-8cc89dc8fc8c:localhost:node-0c806676-ec70-462c-a13c-1800f7f7125f:Node 0c806676-ec70-462c-a13c-1800f7f7125f :: true |
createSubnodes | 1.030s |
2021-09-20 22:52:13 |
2021-09-20 22:52:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:13 | ------------------------------------ 2021-09-20 22:52:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 99c6d8dc-5c27-4c06-b82b-4eadbf52107a</title></pubsub></data> 2021-09-20 22:52:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 22:52:14 | [Mutex] waiting for: [received:nodes:6e0ef0b3-29a9-4e16-b723-1739bf1e0b14:localhost] 2021-09-20 22:52:14 | [Mutex] received everything. 2021-09-20 22:52:14 | [Mutex] isItemNotified: received:node:6e0ef0b3-29a9-4e16-b723-1739bf1e0b14:localhost:node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a:Node 99c6d8dc-5c27-4c06-b82b-4eadbf52107a :: true |
deleteNodes | 1.021s |
2021-09-20 22:52:19 |
2021-09-20 22:52:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:19 | ------------------------------------ 2021-09-20 22:52:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a</node></data> 2021-09-20 22:52:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 22:52:20 | [Mutex] waiting for: [received:nodes:68ec06a6-f614-4d34-b74e-5becf7f590d9:localhost] 2021-09-20 22:52:20 | [Mutex] received everything. 2021-09-20 22:52:20 | [Mutex] isItemNotified: received:node:68ec06a6-f614-4d34-b74e-5becf7f590d9:localhost:node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a:Node 99c6d8dc-5c27-4c06-b82b-4eadbf52107a :: false |
deleteSubnodes | 1.142s |
2021-09-20 22:52:18 |
2021-09-20 22:52:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:18 | ------------------------------------ 2021-09-20 22:52:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node></data> 2021-09-20 22:52:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 22:52:19 | [Mutex] waiting for: [received:nodes:121ab96c-3fe0-4b71-afba-6c75b7590566:localhost] 2021-09-20 22:52:19 | [Mutex] received everything. 2021-09-20 22:52:19 | [Mutex] isItemNotified: received:node:121ab96c-3fe0-4b71-afba-6c75b7590566:localhost:node-0c806676-ec70-462c-a13c-1800f7f7125f:Node 0c806676-ec70-462c-a13c-1800f7f7125f :: false 2021-09-20 22:52:19 | [Mutex] waiting for: [received:nodes:29eeb5f5-ff1b-4b90-8d87-d6687dd3d595:localhost] 2021-09-20 22:52:19 | [Mutex] received everything. 2021-09-20 22:52:19 | [Mutex] isItemNotified: received:node:29eeb5f5-ff1b-4b90-8d87-d6687dd3d595:localhost:node-0c806676-ec70-462c-a13c-1800f7f7125f:Node 0c806676-ec70-462c-a13c-1800f7f7125f :: false |
publishItemsToNodes | 0.245s |
2021-09-20 22:52:16 |
2021-09-20 22:52:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:16 | ------------------------------------ 2021-09-20 22:52:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node><item-id>item-9c53f591-0c56-4e9f-9f62-9554683b3ac3</item-id><entry><test>item-9c53f591-0c56-4e9f-9f62-9554683b3ac3</test></entry></data> 2021-09-20 22:52: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-9c53f591-0c56-4e9f-9f62-9554683b3ac3</value></item-id></result> 2021-09-20 22:52:16 | [Mutex] received everything. 2021-09-20 22:52:16 | [Mutex] isItemNotified: published:item:notifieditem-9c53f591-0c56-4e9f-9f62-9554683b3ac3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2021-09-20 22:52:17 |
2021-09-20 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:17 | ------------------------------------ 2021-09-20 22:52:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node><item-id>item-9c53f591-0c56-4e9f-9f62-9554683b3ac3</item-id></data> 2021-09-20 22:52: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-9c53f591-0c56-4e9f-9f62-9554683b3ac3</value></item-id></result> 2021-09-20 22:52:17 | [Mutex] waiting for: [retracted:item:notifieditem-9c53f591-0c56-4e9f-9f62-9554683b3ac3:admin@test-domain.com] 2021-09-20 22:52:17 | [Mutex] received everything. 2021-09-20 22:52:17 | [Mutex] isItemNotified: retracted:item:notifieditem-9c53f591-0c56-4e9f-9f62-9554683b3ac3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.342s |
2021-09-20 22:52:16 |
2021-09-20 22:52:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:16 | ------------------------------------ 2021-09-20 22:52:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node><item-id>item-9c53f591-0c56-4e9f-9f62-9554683b3ac3</item-id></data> 2021-09-20 22:52: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-0c806676-ec70-462c-a13c-1800f7f7125f</value></node><item-id type="text-single" label="Item ID"><value>item-9c53f591-0c56-4e9f-9f62-9554683b3ac3</value></item-id><item type="text-multi" label="Item"><value><item id="item-9c53f591-0c56-4e9f-9f62-9554683b3ac3"><test>item-9c53f591-0c56-4e9f-9f62-9554683b3ac3</test></item></value></item></result> 2021-09-20 22:52:17 | [Mutex] notify: [retrieved:item:item-9c53f591-0c56-4e9f-9f62-9554683b3ac3:payload-matches:true:localhost] 2021-09-20 22:52:17 | [Mutex] received everything. 2021-09-20 22:52:17 | [Mutex] isItemNotified: retrieved:item:item-9c53f591-0c56-4e9f-9f62-9554683b3ac3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-09-20 22:52:17 |
2021-09-20 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:17 | ------------------------------------ 2021-09-20 22:52:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-20 22:52:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-99c6d8dc-5c27-4c06-b82b-4eadbf52107a</value><value>node-0c806676-ec70-462c-a13c-1800f7f7125f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-09-20 22:52:17 |
2021-09-20 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:17 | ------------------------------------ 2021-09-20 22:52: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-0c806676-ec70-462c-a13c-1800f7f7125f)</node-pattern></data> 2021-09-20 22:52:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.133s |
2021-09-20 22:52:15 |
2021-09-20 22:52:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:15 | ------------------------------------ 2021-09-20 22:52:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-20 22:52: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.276s |
2021-09-20 22:52:17 |
2021-09-20 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 22:52:17 | ------------------------------------ 2021-09-20 22:52:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0c806676-ec70-462c-a13c-1800f7f7125f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-20 22:52:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |