Test duration : 10.405s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2021-06-04 22:30:21 |
2021-06-04 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:21 | ------------------------------------ 2021-06-04 22:30:21 | [Mutex] waiting for: [configured:node:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:node-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01] 2021-06-04 22:30:21 | [Mutex] received everything. 2021-06-04 22:30:21 | [Mutex] isItemNotified: configured:node:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:node-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01 :: true 2021-06-04 22:30:22 | [Mutex] waiting for: [received:nodes:bac07296-9a33-4d23-aed7-532842c9212c:localhost] 2021-06-04 22:30:22 | [Mutex] received everything. 2021-06-04 22:30:22 | [Mutex] isItemNotified: received:node:bac07296-9a33-4d23-aed7-532842c9212c:localhost:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:Node 359ad9f1-6157-45e8-8abf-c67275fd87e8 :: true 2021-06-04 22:30:22 | [Mutex] waiting for: [received:nodes:1edff993-b073-47a2-9859-f3eeafcaf1be:localhost] 2021-06-04 22:30:22 | [Mutex] received everything. 2021-06-04 22:30:22 | [Mutex] isItemNotified: received:node:1edff993-b073-47a2-9859-f3eeafcaf1be:localhost:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:Node 359ad9f1-6157-45e8-8abf-c67275fd87e8 :: false |
createNodes | 1.729s |
2021-06-04 22:30:18 |
2021-06-04 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:18 | ------------------------------------ 2021-06-04 22:30:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 359ad9f1-6157-45e8-8abf-c67275fd87e8</title></pubsub></data> 2021-06-04 22:30:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:30:20 | [Mutex] waiting for: [received:nodes:30d914f2-2581-4218-9122-e1f116c9b723:localhost] 2021-06-04 22:30:20 | [Mutex] received everything. 2021-06-04 22:30:20 | [Mutex] isItemNotified: received:node:30d914f2-2581-4218-9122-e1f116c9b723:localhost:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:Node 359ad9f1-6157-45e8-8abf-c67275fd87e8 :: true |
createSubnodes | 1.030s |
2021-06-04 22:30:20 |
2021-06-04 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:20 | ------------------------------------ 2021-06-04 22:30:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6616ebd8-3e8a-4ea7-9bde-c0aec8554f01</title></pubsub></data> 2021-06-04 22:30:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:30:21 | [Mutex] waiting for: [received:nodes:bc4157b7-3d11-4422-ae44-1558ac3c94f1:localhost] 2021-06-04 22:30:21 | [Mutex] received everything. 2021-06-04 22:30:21 | [Mutex] isItemNotified: received:node:bc4157b7-3d11-4422-ae44-1558ac3c94f1:localhost:node-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01:Node 6616ebd8-3e8a-4ea7-9bde-c0aec8554f01 :: true |
deleteNodes | 1.017s |
2021-06-04 22:30:27 |
2021-06-04 22:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:27 | ------------------------------------ 2021-06-04 22:30:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01</node></data> 2021-06-04 22:30:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:30:28 | [Mutex] waiting for: [received:nodes:d17978c4-c78b-4390-af7f-24ce8171c5fa:localhost] 2021-06-04 22:30:28 | [Mutex] received everything. 2021-06-04 22:30:28 | [Mutex] isItemNotified: received:node:d17978c4-c78b-4390-af7f-24ce8171c5fa:localhost:node-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01:Node 6616ebd8-3e8a-4ea7-9bde-c0aec8554f01 :: false |
deleteSubnodes | 1.218s |
2021-06-04 22:30:26 |
2021-06-04 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:26 | ------------------------------------ 2021-06-04 22:30:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node></data> 2021-06-04 22:30:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-04 22:30:27 | [Mutex] waiting for: [received:nodes:b2e58db2-a2a7-4c96-881f-717912053747:localhost] 2021-06-04 22:30:27 | [Mutex] received everything. 2021-06-04 22:30:27 | [Mutex] isItemNotified: received:node:b2e58db2-a2a7-4c96-881f-717912053747:localhost:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:Node 359ad9f1-6157-45e8-8abf-c67275fd87e8 :: false 2021-06-04 22:30:27 | [Mutex] waiting for: [received:nodes:8ae5e97d-07a4-4edf-a0a6-d4258065f185:localhost] 2021-06-04 22:30:27 | [Mutex] received everything. 2021-06-04 22:30:27 | [Mutex] isItemNotified: received:node:8ae5e97d-07a4-4edf-a0a6-d4258065f185:localhost:node-359ad9f1-6157-45e8-8abf-c67275fd87e8:Node 359ad9f1-6157-45e8-8abf-c67275fd87e8 :: false |
publishItemsToNodes | 0.270s |
2021-06-04 22:30:23 |
2021-06-04 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:23 | ------------------------------------ 2021-06-04 22:30:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node><item-id>item-0dc00b49-4235-4ced-8711-2f61463182b8</item-id><entry><test>item-0dc00b49-4235-4ced-8711-2f61463182b8</test></entry></data> 2021-06-04 22:30:24 | 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-0dc00b49-4235-4ced-8711-2f61463182b8</value></item-id></result> 2021-06-04 22:30:24 | [Mutex] received everything. 2021-06-04 22:30:24 | [Mutex] isItemNotified: published:item:notifieditem-0dc00b49-4235-4ced-8711-2f61463182b8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2021-06-04 22:30:24 |
2021-06-04 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:24 | ------------------------------------ 2021-06-04 22:30:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node><item-id>item-0dc00b49-4235-4ced-8711-2f61463182b8</item-id></data> 2021-06-04 22:30:24 | 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-0dc00b49-4235-4ced-8711-2f61463182b8</value></item-id></result> 2021-06-04 22:30:24 | [Mutex] received everything. 2021-06-04 22:30:24 | [Mutex] isItemNotified: retracted:item:notifieditem-0dc00b49-4235-4ced-8711-2f61463182b8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.286s |
2021-06-04 22:30:24 |
2021-06-04 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:24 | ------------------------------------ 2021-06-04 22:30:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node><item-id>item-0dc00b49-4235-4ced-8711-2f61463182b8</item-id></data> 2021-06-04 22:30:24 | 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-359ad9f1-6157-45e8-8abf-c67275fd87e8</value></node><item-id type="text-single" label="Item ID"><value>item-0dc00b49-4235-4ced-8711-2f61463182b8</value></item-id><item type="text-multi" label="Item"><value><item id="item-0dc00b49-4235-4ced-8711-2f61463182b8"><test>item-0dc00b49-4235-4ced-8711-2f61463182b8</test></item></value></item></result> 2021-06-04 22:30:24 | [Mutex] notify: [retrieved:item:item-0dc00b49-4235-4ced-8711-2f61463182b8:payload-matches:true:localhost] 2021-06-04 22:30:24 | [Mutex] received everything. 2021-06-04 22:30:24 | [Mutex] isItemNotified: retrieved:item:item-0dc00b49-4235-4ced-8711-2f61463182b8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-06-04 22:30:24 |
2021-06-04 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:24 | ------------------------------------ 2021-06-04 22:30:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-04 22:30:24 | 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-6616ebd8-3e8a-4ea7-9bde-c0aec8554f01</value><value>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-06-04 22:30:24 |
2021-06-04 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:24 | ------------------------------------ 2021-06-04 22:30:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-359ad9f1-6157-45e8-8abf-c67275fd87e8)</node-pattern></data> 2021-06-04 22:30:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.184s |
2021-06-04 22:30:22 |
2021-06-04 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:22 | ------------------------------------ 2021-06-04 22:30:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-04 22:30:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.283s |
2021-06-04 22:30:24 |
2021-06-04 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-04 22:30:24 | ------------------------------------ 2021-06-04 22:30:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-359ad9f1-6157-45e8-8abf-c67275fd87e8</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-04 22:30:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |