Test duration : 10.326s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.179s |
2021-10-06 22:42:32 |
2021-10-06 22:42:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:32 | ------------------------------------ 2021-10-06 22:42:32 | [Mutex] waiting for: [configured:node:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:node-b4506f6b-750a-4f3f-87bc-a21c09e88181] 2021-10-06 22:42:32 | [Mutex] received everything. 2021-10-06 22:42:32 | [Mutex] isItemNotified: configured:node:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:node-b4506f6b-750a-4f3f-87bc-a21c09e88181 :: true 2021-10-06 22:42:33 | [Mutex] waiting for: [received:nodes:74b8ccbe-db95-407b-b3bc-cb4578ec1f5a:localhost] 2021-10-06 22:42:33 | [Mutex] received everything. 2021-10-06 22:42:33 | [Mutex] isItemNotified: received:node:74b8ccbe-db95-407b-b3bc-cb4578ec1f5a:localhost:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:Node 4c4769e5-22e7-4b8c-a8cf-33aa110427be :: true 2021-10-06 22:42:33 | [Mutex] waiting for: [received:nodes:fdad087b-4769-4df4-b6e4-8a63485ea673:localhost] 2021-10-06 22:42:33 | [Mutex] received everything. 2021-10-06 22:42:33 | [Mutex] isItemNotified: received:node:fdad087b-4769-4df4-b6e4-8a63485ea673:localhost:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:Node 4c4769e5-22e7-4b8c-a8cf-33aa110427be :: false |
createNodes | 1.769s |
2021-10-06 22:42:29 |
2021-10-06 22:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:29 | ------------------------------------ 2021-10-06 22:42:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4c4769e5-22e7-4b8c-a8cf-33aa110427be</title></pubsub></data> 2021-10-06 22:42:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:42:31 | [Mutex] waiting for: [received:nodes:cf001d17-e001-48a7-94d8-e4b48c3a9830:localhost] 2021-10-06 22:42:31 | [Mutex] received everything. 2021-10-06 22:42:31 | [Mutex] isItemNotified: received:node:cf001d17-e001-48a7-94d8-e4b48c3a9830:localhost:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:Node 4c4769e5-22e7-4b8c-a8cf-33aa110427be :: true |
createSubnodes | 1.033s |
2021-10-06 22:42:31 |
2021-10-06 22:42:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:31 | ------------------------------------ 2021-10-06 22:42:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b4506f6b-750a-4f3f-87bc-a21c09e88181</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b4506f6b-750a-4f3f-87bc-a21c09e88181</title></pubsub></data> 2021-10-06 22:42:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:42:32 | [Mutex] waiting for: [received:nodes:20a45886-db44-4300-a353-1aa4bf3c7cc3:localhost] 2021-10-06 22:42:32 | [Mutex] received everything. 2021-10-06 22:42:32 | [Mutex] isItemNotified: received:node:20a45886-db44-4300-a353-1aa4bf3c7cc3:localhost:node-b4506f6b-750a-4f3f-87bc-a21c09e88181:Node b4506f6b-750a-4f3f-87bc-a21c09e88181 :: true |
deleteNodes | 1.023s |
2021-10-06 22:42:37 |
2021-10-06 22:42:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:37 | ------------------------------------ 2021-10-06 22:42:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b4506f6b-750a-4f3f-87bc-a21c09e88181</node></data> 2021-10-06 22:42:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:42:38 | [Mutex] waiting for: [received:nodes:a4dc8077-dbf1-41ba-8530-5d33ad362e26:localhost] 2021-10-06 22:42:39 | [Mutex] received everything. 2021-10-06 22:42:39 | [Mutex] isItemNotified: received:node:a4dc8077-dbf1-41ba-8530-5d33ad362e26:localhost:node-b4506f6b-750a-4f3f-87bc-a21c09e88181:Node b4506f6b-750a-4f3f-87bc-a21c09e88181 :: false |
deleteSubnodes | 1.148s |
2021-10-06 22:42:36 |
2021-10-06 22:42:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:36 | ------------------------------------ 2021-10-06 22:42:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node></data> 2021-10-06 22:42:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:42:37 | [Mutex] waiting for: [received:nodes:d5687fed-8b20-4956-85c9-b0f5a2d8b0d5:localhost] 2021-10-06 22:42:37 | [Mutex] received everything. 2021-10-06 22:42:37 | [Mutex] isItemNotified: received:node:d5687fed-8b20-4956-85c9-b0f5a2d8b0d5:localhost:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:Node 4c4769e5-22e7-4b8c-a8cf-33aa110427be :: false 2021-10-06 22:42:37 | [Mutex] waiting for: [received:nodes:6e55475e-e967-4ed6-8c2a-c5ec6cdff5d0:localhost] 2021-10-06 22:42:37 | [Mutex] received everything. 2021-10-06 22:42:37 | [Mutex] isItemNotified: received:node:6e55475e-e967-4ed6-8c2a-c5ec6cdff5d0:localhost:node-4c4769e5-22e7-4b8c-a8cf-33aa110427be:Node 4c4769e5-22e7-4b8c-a8cf-33aa110427be :: false |
publishItemsToNodes | 0.315s |
2021-10-06 22:42:34 |
2021-10-06 22:42:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:34 | ------------------------------------ 2021-10-06 22:42:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node><item-id>item-ba64e209-d8fe-4412-bc70-cab62ae797d4</item-id><entry><test>item-ba64e209-d8fe-4412-bc70-cab62ae797d4</test></entry></data> 2021-10-06 22:42:34 | 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-ba64e209-d8fe-4412-bc70-cab62ae797d4</value></item-id></result> 2021-10-06 22:42:34 | [Mutex] received everything. 2021-10-06 22:42:34 | [Mutex] isItemNotified: published:item:notifieditem-ba64e209-d8fe-4412-bc70-cab62ae797d4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2021-10-06 22:42:35 |
2021-10-06 22:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:35 | ------------------------------------ 2021-10-06 22:42:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node><item-id>item-ba64e209-d8fe-4412-bc70-cab62ae797d4</item-id></data> 2021-10-06 22:42:35 | 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-ba64e209-d8fe-4412-bc70-cab62ae797d4</value></item-id></result> 2021-10-06 22:42:35 | [Mutex] waiting for: [retracted:item:notifieditem-ba64e209-d8fe-4412-bc70-cab62ae797d4:admin@test-domain.com] 2021-10-06 22:42:35 | [Mutex] received everything. 2021-10-06 22:42:35 | [Mutex] isItemNotified: retracted:item:notifieditem-ba64e209-d8fe-4412-bc70-cab62ae797d4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.266s |
2021-10-06 22:42:34 |
2021-10-06 22:42:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:34 | ------------------------------------ 2021-10-06 22:42:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node><item-id>item-ba64e209-d8fe-4412-bc70-cab62ae797d4</item-id></data> 2021-10-06 22:42:35 | 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-4c4769e5-22e7-4b8c-a8cf-33aa110427be</value></node><item-id label="Item ID" type="text-single"><value>item-ba64e209-d8fe-4412-bc70-cab62ae797d4</value></item-id><item label="Item" type="text-multi"><value><item id="item-ba64e209-d8fe-4412-bc70-cab62ae797d4"><test>item-ba64e209-d8fe-4412-bc70-cab62ae797d4</test></item></value></item></result> 2021-10-06 22:42:35 | [Mutex] notify: [retrieved:item:item-ba64e209-d8fe-4412-bc70-cab62ae797d4:payload-matches:true:localhost] 2021-10-06 22:42:35 | [Mutex] received everything. 2021-10-06 22:42:35 | [Mutex] isItemNotified: retrieved:item:item-ba64e209-d8fe-4412-bc70-cab62ae797d4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-10-06 22:42:35 |
2021-10-06 22:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:35 | ------------------------------------ 2021-10-06 22:42:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-06 22:42:35 | 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-b4506f6b-750a-4f3f-87bc-a21c09e88181</value><value>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-10-06 22:42:35 |
2021-10-06 22:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:35 | ------------------------------------ 2021-10-06 22:42:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4c4769e5-22e7-4b8c-a8cf-33aa110427be)</node-pattern></data> 2021-10-06 22:42:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.156s |
2021-10-06 22:42:33 |
2021-10-06 22:42:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:33 | ------------------------------------ 2021-10-06 22:42:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-06 22:42:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.230s |
2021-10-06 22:42:35 |
2021-10-06 22:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:42:35 | ------------------------------------ 2021-10-06 22:42:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4c4769e5-22e7-4b8c-a8cf-33aa110427be</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-06 22:42:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |