Test duration : 9.765s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.135s |
2021-03-05 04:02:54 |
2021-03-05 04:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:54 | ------------------------------------ 2021-03-05 04:02:54 | [Mutex] waiting for: [configured:node:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:node-77c3f08d-de37-42d5-9311-5537f66d8e9b] 2021-03-05 04:02:54 | [Mutex] received everything. 2021-03-05 04:02:54 | [Mutex] isItemNotified: configured:node:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:node-77c3f08d-de37-42d5-9311-5537f66d8e9b :: true 2021-03-05 04:02:55 | [Mutex] waiting for: [received:nodes:02473b12-0872-45de-baa9-728dbd10928c:localhost] 2021-03-05 04:02:55 | [Mutex] received everything. 2021-03-05 04:02:55 | [Mutex] isItemNotified: received:node:02473b12-0872-45de-baa9-728dbd10928c:localhost:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:Node 3d7a4ab8-5470-48ff-805e-da0c1bd51366 :: true 2021-03-05 04:02:55 | [Mutex] waiting for: [received:nodes:c6c69c34-7bd2-498c-b3ce-20108765ece5:localhost] 2021-03-05 04:02:55 | [Mutex] received everything. 2021-03-05 04:02:55 | [Mutex] isItemNotified: received:node:c6c69c34-7bd2-498c-b3ce-20108765ece5:localhost:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:Node 3d7a4ab8-5470-48ff-805e-da0c1bd51366 :: false |
createNodes | 1.425s |
2021-03-05 04:02:51 |
2021-03-05 04:02:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:51 | ------------------------------------ 2021-03-05 04:02:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3d7a4ab8-5470-48ff-805e-da0c1bd51366</title></pubsub></data> 2021-03-05 04:02:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-05 04:02:53 | [Mutex] waiting for: [received:nodes:927b4a17-337b-42d5-a375-2673c09646e3:localhost] 2021-03-05 04:02:53 | [Mutex] received everything. 2021-03-05 04:02:53 | [Mutex] isItemNotified: received:node:927b4a17-337b-42d5-a375-2673c09646e3:localhost:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:Node 3d7a4ab8-5470-48ff-805e-da0c1bd51366 :: true |
createSubnodes | 1.024s |
2021-03-05 04:02:53 |
2021-03-05 04:02:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:53 | ------------------------------------ 2021-03-05 04:02:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-77c3f08d-de37-42d5-9311-5537f66d8e9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 77c3f08d-de37-42d5-9311-5537f66d8e9b</title></pubsub></data> 2021-03-05 04:02:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-05 04:02:54 | [Mutex] waiting for: [received:nodes:1ba461e0-79d5-4592-bfb3-b5eea8b55cd7:localhost] 2021-03-05 04:02:54 | [Mutex] received everything. 2021-03-05 04:02:54 | [Mutex] isItemNotified: received:node:1ba461e0-79d5-4592-bfb3-b5eea8b55cd7:localhost:node-77c3f08d-de37-42d5-9311-5537f66d8e9b:Node 77c3f08d-de37-42d5-9311-5537f66d8e9b :: true |
deleteNodes | 1.021s |
2021-03-05 04:02:59 |
2021-03-05 04:02:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:59 | ------------------------------------ 2021-03-05 04:02:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-77c3f08d-de37-42d5-9311-5537f66d8e9b</node></data> 2021-03-05 04:02:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-05 04:03:00 | [Mutex] waiting for: [received:nodes:7d8a5b79-13e0-4169-b2bc-0937d63d63cc:localhost] 2021-03-05 04:03:00 | [Mutex] received everything. 2021-03-05 04:03:00 | [Mutex] isItemNotified: received:node:7d8a5b79-13e0-4169-b2bc-0937d63d63cc:localhost:node-77c3f08d-de37-42d5-9311-5537f66d8e9b:Node 77c3f08d-de37-42d5-9311-5537f66d8e9b :: false |
deleteSubnodes | 1.110s |
2021-03-05 04:02:58 |
2021-03-05 04:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:58 | ------------------------------------ 2021-03-05 04:02:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node></data> 2021-03-05 04:02:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-05 04:02:59 | [Mutex] waiting for: [received:nodes:7475a0ff-9de8-452e-988d-f7ab4973fe1b:localhost] 2021-03-05 04:02:59 | [Mutex] received everything. 2021-03-05 04:02:59 | [Mutex] isItemNotified: received:node:7475a0ff-9de8-452e-988d-f7ab4973fe1b:localhost:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:Node 3d7a4ab8-5470-48ff-805e-da0c1bd51366 :: false 2021-03-05 04:02:59 | [Mutex] waiting for: [received:nodes:96289251-1a4e-4372-bc38-3e59f41e371a:localhost] 2021-03-05 04:02:59 | [Mutex] received everything. 2021-03-05 04:02:59 | [Mutex] isItemNotified: received:node:96289251-1a4e-4372-bc38-3e59f41e371a:localhost:node-3d7a4ab8-5470-48ff-805e-da0c1bd51366:Node 3d7a4ab8-5470-48ff-805e-da0c1bd51366 :: false |
publishItemsToNodes | 0.184s |
2021-03-05 04:02:56 |
2021-03-05 04:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:56 | ------------------------------------ 2021-03-05 04:02:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node><item-id>item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</item-id><entry><test>item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</test></entry></data> 2021-03-05 04:02:56 | 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-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</value></item-id></result> 2021-03-05 04:02:56 | [Mutex] waiting for: [published:item:notifieditem-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559:admin@test-domain.com] 2021-03-05 04:02:56 | [Mutex] received everything. 2021-03-05 04:02:56 | [Mutex] isItemNotified: published:item:notifieditem-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559:admin@test-domain.com :: true |
retractItemsFromNodes | 0.288s |
2021-03-05 04:02:57 |
2021-03-05 04:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:57 | ------------------------------------ 2021-03-05 04:02:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node><item-id>item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</item-id></data> 2021-03-05 04:02:57 | 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-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</value></item-id></result> 2021-03-05 04:02:57 | [Mutex] received everything. 2021-03-05 04:02:57 | [Mutex] isItemNotified: retracted:item:notifieditem-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.221s |
2021-03-05 04:02:56 |
2021-03-05 04:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:56 | ------------------------------------ 2021-03-05 04:02:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node><item-id>item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</item-id></data> 2021-03-05 04:02:56 | 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-3d7a4ab8-5470-48ff-805e-da0c1bd51366</value></node><item-id label="Item ID" type="text-single"><value>item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</value></item-id><item label="Item" type="text-multi"><value><item id="item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559"><test>item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559</test></item></value></item></result> 2021-03-05 04:02:56 | [Mutex] notify: [retrieved:item:item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559:payload-matches:true:localhost] 2021-03-05 04:02:56 | [Mutex] received everything. 2021-03-05 04:02:56 | [Mutex] isItemNotified: retrieved:item:item-b0a8bf9f-cccc-45e9-9efd-ec71f7f18559:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-05 04:02:56 |
2021-03-05 04:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:56 | ------------------------------------ 2021-03-05 04:02:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-05 04:02:56 | 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-3d7a4ab8-5470-48ff-805e-da0c1bd51366</value><value>node-77c3f08d-de37-42d5-9311-5537f66d8e9b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-03-05 04:02:56 |
2021-03-05 04:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:56 | ------------------------------------ 2021-03-05 04:02:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3d7a4ab8-5470-48ff-805e-da0c1bd51366)</node-pattern></data> 2021-03-05 04:02:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2021-03-05 04:02:55 |
2021-03-05 04:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:55 | ------------------------------------ 2021-03-05 04:02:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-05 04:02:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.264s |
2021-03-05 04:02:57 |
2021-03-05 04:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-05 04:02:57 | ------------------------------------ 2021-03-05 04:02:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3d7a4ab8-5470-48ff-805e-da0c1bd51366</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-05 04:02:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |