Test duration : 9.615s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-05-22 22:38:46 |
2022-05-22 22:38:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:46 | ------------------------------------ 2022-05-22 22:38:46 | [Mutex] waiting for: [configured:node:node-03f22ab4-f144-4680-92f1-6a33d22af13f:node-297cb478-ba99-47b0-9114-be4dc0ceb7af] 2022-05-22 22:38:46 | [Mutex] received everything. 2022-05-22 22:38:46 | [Mutex] isItemNotified: configured:node:node-03f22ab4-f144-4680-92f1-6a33d22af13f:node-297cb478-ba99-47b0-9114-be4dc0ceb7af :: true 2022-05-22 22:38:47 | [Mutex] waiting for: [received:nodes:f74e3dfb-383d-4ddf-91ea-86bb25bf5698:localhost] 2022-05-22 22:38:47 | [Mutex] received everything. 2022-05-22 22:38:47 | [Mutex] isItemNotified: received:node:f74e3dfb-383d-4ddf-91ea-86bb25bf5698:localhost:node-03f22ab4-f144-4680-92f1-6a33d22af13f:Node 03f22ab4-f144-4680-92f1-6a33d22af13f :: true 2022-05-22 22:38:47 | [Mutex] waiting for: [received:nodes:a0f9aebe-6e27-4440-9051-a96d10be267b:localhost] 2022-05-22 22:38:47 | [Mutex] received everything. 2022-05-22 22:38:47 | [Mutex] isItemNotified: received:node:a0f9aebe-6e27-4440-9051-a96d10be267b:localhost:node-03f22ab4-f144-4680-92f1-6a33d22af13f:Node 03f22ab4-f144-4680-92f1-6a33d22af13f :: false |
createNodes | 1.374s |
2022-05-22 22:38:44 |
2022-05-22 22:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:44 | ------------------------------------ 2022-05-22 22:38:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 03f22ab4-f144-4680-92f1-6a33d22af13f</title></pubsub></data> 2022-05-22 22:38:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:38:45 | [Mutex] waiting for: [received:nodes:fb2daac1-d337-4346-b08c-e0bb87c4c877:localhost] 2022-05-22 22:38:45 | [Mutex] waiting for: [received:nodes:fb2daac1-d337-4346-b08c-e0bb87c4c877:localhost] 2022-05-22 22:38:45 | [Mutex] received everything. 2022-05-22 22:38:45 | [Mutex] isItemNotified: received:node:fb2daac1-d337-4346-b08c-e0bb87c4c877:localhost:node-03f22ab4-f144-4680-92f1-6a33d22af13f:Node 03f22ab4-f144-4680-92f1-6a33d22af13f :: true |
createSubnodes | 1.028s |
2022-05-22 22:38:45 |
2022-05-22 22:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:45 | ------------------------------------ 2022-05-22 22:38:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-297cb478-ba99-47b0-9114-be4dc0ceb7af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 297cb478-ba99-47b0-9114-be4dc0ceb7af</title></pubsub></data> 2022-05-22 22:38:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:38:46 | [Mutex] waiting for: [received:nodes:5f111b27-7ada-4fa1-a818-68a554f0bbb3:localhost] 2022-05-22 22:38:46 | [Mutex] waiting for: [received:nodes:5f111b27-7ada-4fa1-a818-68a554f0bbb3:localhost] 2022-05-22 22:38:46 | [Mutex] received everything. 2022-05-22 22:38:46 | [Mutex] isItemNotified: received:node:5f111b27-7ada-4fa1-a818-68a554f0bbb3:localhost:node-297cb478-ba99-47b0-9114-be4dc0ceb7af:Node 297cb478-ba99-47b0-9114-be4dc0ceb7af :: true |
deleteNodes | 1.021s |
2022-05-22 22:38:52 |
2022-05-22 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:52 | ------------------------------------ 2022-05-22 22:38:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-297cb478-ba99-47b0-9114-be4dc0ceb7af</node></data> 2022-05-22 22:38:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:38:53 | [Mutex] waiting for: [received:nodes:ef27009c-10ab-4576-aa66-cea6f4800d61:localhost] 2022-05-22 22:38:53 | [Mutex] waiting for: [received:nodes:ef27009c-10ab-4576-aa66-cea6f4800d61:localhost] 2022-05-22 22:38:53 | [Mutex] received everything. 2022-05-22 22:38:53 | [Mutex] isItemNotified: received:node:ef27009c-10ab-4576-aa66-cea6f4800d61:localhost:node-297cb478-ba99-47b0-9114-be4dc0ceb7af:Node 297cb478-ba99-47b0-9114-be4dc0ceb7af :: false |
deleteSubnodes | 1.134s |
2022-05-22 22:38:50 |
2022-05-22 22:38:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:50 | ------------------------------------ 2022-05-22 22:38:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node></data> 2022-05-22 22:38:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:38:52 | [Mutex] waiting for: [received:nodes:14d2685a-69c8-4885-b117-76c20d7cc159:localhost] 2022-05-22 22:38:52 | [Mutex] waiting for: [received:nodes:14d2685a-69c8-4885-b117-76c20d7cc159:localhost] 2022-05-22 22:38:52 | [Mutex] received everything. 2022-05-22 22:38:52 | [Mutex] isItemNotified: received:node:14d2685a-69c8-4885-b117-76c20d7cc159:localhost:node-03f22ab4-f144-4680-92f1-6a33d22af13f:Node 03f22ab4-f144-4680-92f1-6a33d22af13f :: false 2022-05-22 22:38:52 | [Mutex] waiting for: [received:nodes:8c2861a3-ab87-4f7b-81d8-cb1914ff7f60:localhost] 2022-05-22 22:38:52 | [Mutex] received everything. 2022-05-22 22:38:52 | [Mutex] isItemNotified: received:node:8c2861a3-ab87-4f7b-81d8-cb1914ff7f60:localhost:node-03f22ab4-f144-4680-92f1-6a33d22af13f:Node 03f22ab4-f144-4680-92f1-6a33d22af13f :: false |
publishItemsToNodes | 0.195s |
2022-05-22 22:38:48 |
2022-05-22 22:38:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:48 | ------------------------------------ 2022-05-22 22:38:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node><item-id>item-2d736343-4580-442f-ad49-8146a75f2dcd</item-id><entry><test>item-2d736343-4580-442f-ad49-8146a75f2dcd</test></entry></data> 2022-05-22 22:38: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-2d736343-4580-442f-ad49-8146a75f2dcd</value></item-id></result> 2022-05-22 22:38:48 | [Mutex] waiting for: [published:item:notifieditem-2d736343-4580-442f-ad49-8146a75f2dcd:admin@test-domain.com] 2022-05-22 22:38:49 | [Mutex] received everything. 2022-05-22 22:38:49 | [Mutex] isItemNotified: published:item:notifieditem-2d736343-4580-442f-ad49-8146a75f2dcd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2022-05-22 22:38:49 |
2022-05-22 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:49 | ------------------------------------ 2022-05-22 22:38:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node><item-id>item-2d736343-4580-442f-ad49-8146a75f2dcd</item-id></data> 2022-05-22 22:38: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-2d736343-4580-442f-ad49-8146a75f2dcd</value></item-id></result> 2022-05-22 22:38:49 | [Mutex] received everything. 2022-05-22 22:38:49 | [Mutex] isItemNotified: retracted:item:notifieditem-2d736343-4580-442f-ad49-8146a75f2dcd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.255s |
2022-05-22 22:38:49 |
2022-05-22 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:49 | ------------------------------------ 2022-05-22 22:38:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node><item-id>item-2d736343-4580-442f-ad49-8146a75f2dcd</item-id></data> 2022-05-22 22:38: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-03f22ab4-f144-4680-92f1-6a33d22af13f</value></node><item-id label="Item ID" type="text-single"><value>item-2d736343-4580-442f-ad49-8146a75f2dcd</value></item-id><item label="Item" type="text-multi"><value><item id="item-2d736343-4580-442f-ad49-8146a75f2dcd"><test>item-2d736343-4580-442f-ad49-8146a75f2dcd</test></item></value></item></result> 2022-05-22 22:38:49 | [Mutex] notify: [retrieved:item:item-2d736343-4580-442f-ad49-8146a75f2dcd:payload-matches:true:localhost] 2022-05-22 22:38:49 | [Mutex] received everything. 2022-05-22 22:38:49 | [Mutex] isItemNotified: retrieved:item:item-2d736343-4580-442f-ad49-8146a75f2dcd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-05-22 22:38:49 |
2022-05-22 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:49 | ------------------------------------ 2022-05-22 22:38:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-22 22:38:49 | 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-03f22ab4-f144-4680-92f1-6a33d22af13f</value><value>node-297cb478-ba99-47b0-9114-be4dc0ceb7af</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-05-22 22:38:49 |
2022-05-22 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:49 | ------------------------------------ 2022-05-22 22:38: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-03f22ab4-f144-4680-92f1-6a33d22af13f)</node-pattern></data> 2022-05-22 22:38:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.154s |
2022-05-22 22:38:47 |
2022-05-22 22:38:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:47 | ------------------------------------ 2022-05-22 22:38:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-22 22:38: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.303s |
2022-05-22 22:38:49 |
2022-05-22 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:38:49 | ------------------------------------ 2022-05-22 22:38:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-03f22ab4-f144-4680-92f1-6a33d22af13f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-22 22:38:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |