Test duration : 9.784s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2020-08-28 22:49:42 |
2020-08-28 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:42 | ------------------------------------ 2020-08-28 22:49:42 | [Mutex] waiting for: [configured:node:node-026ec014-b64f-4b0d-a44e-fd37e3311696:node-13b17d6e-e594-4a13-9aac-021845945bc1] 2020-08-28 22:49:42 | [Mutex] received everything. 2020-08-28 22:49:42 | [Mutex] isItemNotified: configured:node:node-026ec014-b64f-4b0d-a44e-fd37e3311696:node-13b17d6e-e594-4a13-9aac-021845945bc1 :: true 2020-08-28 22:49:43 | [Mutex] waiting for: [received:nodes:432ed2be-d5b4-42da-872f-f77541541fd1:localhost] 2020-08-28 22:49:43 | [Mutex] received everything. 2020-08-28 22:49:43 | [Mutex] isItemNotified: received:node:432ed2be-d5b4-42da-872f-f77541541fd1:localhost:node-026ec014-b64f-4b0d-a44e-fd37e3311696:Node 026ec014-b64f-4b0d-a44e-fd37e3311696 :: true 2020-08-28 22:49:43 | [Mutex] waiting for: [received:nodes:c869e67d-3c37-432d-912c-7d878a5ae74e:localhost] 2020-08-28 22:49:43 | [Mutex] received everything. 2020-08-28 22:49:43 | [Mutex] isItemNotified: received:node:c869e67d-3c37-432d-912c-7d878a5ae74e:localhost:node-026ec014-b64f-4b0d-a44e-fd37e3311696:Node 026ec014-b64f-4b0d-a44e-fd37e3311696 :: false |
createNodes | 1.418s |
2020-08-28 22:49:39 |
2020-08-28 22:49:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:39 | ------------------------------------ 2020-08-28 22:49:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 026ec014-b64f-4b0d-a44e-fd37e3311696</title></pubsub></data> 2020-08-28 22:49:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 22:49:41 | [Mutex] waiting for: [received:nodes:d1cd080b-32dd-49ff-a438-9f88d8555273:localhost] 2020-08-28 22:49:41 | [Mutex] received everything. 2020-08-28 22:49:41 | [Mutex] isItemNotified: received:node:d1cd080b-32dd-49ff-a438-9f88d8555273:localhost:node-026ec014-b64f-4b0d-a44e-fd37e3311696:Node 026ec014-b64f-4b0d-a44e-fd37e3311696 :: true |
createSubnodes | 1.023s |
2020-08-28 22:49:41 |
2020-08-28 22:49:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:41 | ------------------------------------ 2020-08-28 22:49:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-13b17d6e-e594-4a13-9aac-021845945bc1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 13b17d6e-e594-4a13-9aac-021845945bc1</title></pubsub></data> 2020-08-28 22:49:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 22:49:42 | [Mutex] waiting for: [received:nodes:319e84fd-830d-4c8a-a8fa-139418b82d73:localhost] 2020-08-28 22:49:42 | [Mutex] received everything. 2020-08-28 22:49:42 | [Mutex] isItemNotified: received:node:319e84fd-830d-4c8a-a8fa-139418b82d73:localhost:node-13b17d6e-e594-4a13-9aac-021845945bc1:Node 13b17d6e-e594-4a13-9aac-021845945bc1 :: true |
deleteNodes | 1.023s |
2020-08-28 22:49:47 |
2020-08-28 22:49:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:47 | ------------------------------------ 2020-08-28 22:49:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-13b17d6e-e594-4a13-9aac-021845945bc1</node></data> 2020-08-28 22:49:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 22:49:48 | [Mutex] waiting for: [received:nodes:f9e5b337-8572-4590-b707-4ae93316792b:localhost] 2020-08-28 22:49:48 | [Mutex] waiting for: [received:nodes:f9e5b337-8572-4590-b707-4ae93316792b:localhost] 2020-08-28 22:49:48 | [Mutex] received everything. 2020-08-28 22:49:48 | [Mutex] isItemNotified: received:node:f9e5b337-8572-4590-b707-4ae93316792b:localhost:node-13b17d6e-e594-4a13-9aac-021845945bc1:Node 13b17d6e-e594-4a13-9aac-021845945bc1 :: false |
deleteSubnodes | 1.120s |
2020-08-28 22:49:46 |
2020-08-28 22:49:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:46 | ------------------------------------ 2020-08-28 22:49:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node></data> 2020-08-28 22:49:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 22:49:47 | [Mutex] waiting for: [received:nodes:98be4790-f619-428f-84a8-148a1bb4e400:localhost] 2020-08-28 22:49:47 | [Mutex] waiting for: [received:nodes:98be4790-f619-428f-84a8-148a1bb4e400:localhost] 2020-08-28 22:49:47 | [Mutex] received everything. 2020-08-28 22:49:47 | [Mutex] isItemNotified: received:node:98be4790-f619-428f-84a8-148a1bb4e400:localhost:node-026ec014-b64f-4b0d-a44e-fd37e3311696:Node 026ec014-b64f-4b0d-a44e-fd37e3311696 :: false 2020-08-28 22:49:47 | [Mutex] waiting for: [received:nodes:2d7515de-beab-4b24-9474-aa2c710289bf:localhost] 2020-08-28 22:49:47 | [Mutex] received everything. 2020-08-28 22:49:47 | [Mutex] isItemNotified: received:node:2d7515de-beab-4b24-9474-aa2c710289bf:localhost:node-026ec014-b64f-4b0d-a44e-fd37e3311696:Node 026ec014-b64f-4b0d-a44e-fd37e3311696 :: false |
publishItemsToNodes | 0.188s |
2020-08-28 22:49:44 |
2020-08-28 22:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:44 | ------------------------------------ 2020-08-28 22:49:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node><item-id>item-28d45bfb-1469-48a7-a985-bb67953da03d</item-id><entry><test>item-28d45bfb-1469-48a7-a985-bb67953da03d</test></entry></data> 2020-08-28 22:49:44 | 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-28d45bfb-1469-48a7-a985-bb67953da03d</value></item-id></result> 2020-08-28 22:49:44 | [Mutex] received everything. 2020-08-28 22:49:44 | [Mutex] isItemNotified: published:item:notifieditem-28d45bfb-1469-48a7-a985-bb67953da03d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2020-08-28 22:49:45 |
2020-08-28 22:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:45 | ------------------------------------ 2020-08-28 22:49:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node><item-id>item-28d45bfb-1469-48a7-a985-bb67953da03d</item-id></data> 2020-08-28 22:49:45 | 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-28d45bfb-1469-48a7-a985-bb67953da03d</value></item-id></result> 2020-08-28 22:49:45 | [Mutex] received everything. 2020-08-28 22:49:45 | [Mutex] isItemNotified: retracted:item:notifieditem-28d45bfb-1469-48a7-a985-bb67953da03d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.259s |
2020-08-28 22:49:44 |
2020-08-28 22:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:44 | ------------------------------------ 2020-08-28 22:49:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node><item-id>item-28d45bfb-1469-48a7-a985-bb67953da03d</item-id></data> 2020-08-28 22:49:45 | 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-026ec014-b64f-4b0d-a44e-fd37e3311696</value></node><item-id label="Item ID" type="text-single"><value>item-28d45bfb-1469-48a7-a985-bb67953da03d</value></item-id><item label="Item" type="text-multi"><value><item id="item-28d45bfb-1469-48a7-a985-bb67953da03d"><test>item-28d45bfb-1469-48a7-a985-bb67953da03d</test></item></value></item></result> 2020-08-28 22:49:45 | [Mutex] notify: [retrieved:item:item-28d45bfb-1469-48a7-a985-bb67953da03d:payload-matches:true:localhost] 2020-08-28 22:49:45 | [Mutex] received everything. 2020-08-28 22:49:45 | [Mutex] isItemNotified: retrieved:item:item-28d45bfb-1469-48a7-a985-bb67953da03d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-08-28 22:49:45 |
2020-08-28 22:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:45 | ------------------------------------ 2020-08-28 22:49:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-28 22:49:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-026ec014-b64f-4b0d-a44e-fd37e3311696</value><value>test</value><value>node-13b17d6e-e594-4a13-9aac-021845945bc1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-08-28 22:49:45 |
2020-08-28 22:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:45 | ------------------------------------ 2020-08-28 22:49:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-026ec014-b64f-4b0d-a44e-fd37e3311696)</node-pattern></data> 2020-08-28 22:49:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.104s |
2020-08-28 22:49:43 |
2020-08-28 22:49:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:43 | ------------------------------------ 2020-08-28 22:49:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-28 22:49:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2020-08-28 22:49:45 |
2020-08-28 22:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 22:49:45 | ------------------------------------ 2020-08-28 22:49:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-026ec014-b64f-4b0d-a44e-fd37e3311696</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-28 22:49:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |