Test duration : 9.833s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-03-08 21:57:03 |
2021-03-08 21:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:03 | ------------------------------------ 2021-03-08 21:57:03 | [Mutex] waiting for: [configured:node:node-082036bd-0098-4c5d-ad51-65ca292901d3:node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8] 2021-03-08 21:57:03 | [Mutex] received everything. 2021-03-08 21:57:03 | [Mutex] isItemNotified: configured:node:node-082036bd-0098-4c5d-ad51-65ca292901d3:node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8 :: true 2021-03-08 21:57:04 | [Mutex] waiting for: [received:nodes:dcff442c-3a1f-487a-a5e7-96aa8579341c:localhost] 2021-03-08 21:57:04 | [Mutex] received everything. 2021-03-08 21:57:04 | [Mutex] isItemNotified: received:node:dcff442c-3a1f-487a-a5e7-96aa8579341c:localhost:node-082036bd-0098-4c5d-ad51-65ca292901d3:Node 082036bd-0098-4c5d-ad51-65ca292901d3 :: true 2021-03-08 21:57:04 | [Mutex] waiting for: [received:nodes:67c5208b-99e7-4f87-ab8e-24cda41546c4:localhost] 2021-03-08 21:57:04 | [Mutex] received everything. 2021-03-08 21:57:04 | [Mutex] isItemNotified: received:node:67c5208b-99e7-4f87-ab8e-24cda41546c4:localhost:node-082036bd-0098-4c5d-ad51-65ca292901d3:Node 082036bd-0098-4c5d-ad51-65ca292901d3 :: false |
createNodes | 1.458s |
2021-03-08 21:57:01 |
2021-03-08 21:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:01 | ------------------------------------ 2021-03-08 21:57:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 082036bd-0098-4c5d-ad51-65ca292901d3</title></pubsub></data> 2021-03-08 21:57:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:57:02 | [Mutex] waiting for: [received:nodes:7d6f676f-baa8-4c91-b50e-77fb33cfc541:localhost] 2021-03-08 21:57:02 | [Mutex] waiting for: [received:nodes:7d6f676f-baa8-4c91-b50e-77fb33cfc541:localhost] 2021-03-08 21:57:02 | [Mutex] waiting for: [received:nodes:7d6f676f-baa8-4c91-b50e-77fb33cfc541:localhost] 2021-03-08 21:57:02 | [Mutex] received everything. 2021-03-08 21:57:02 | [Mutex] isItemNotified: received:node:7d6f676f-baa8-4c91-b50e-77fb33cfc541:localhost:node-082036bd-0098-4c5d-ad51-65ca292901d3:Node 082036bd-0098-4c5d-ad51-65ca292901d3 :: true |
createSubnodes | 1.030s |
2021-03-08 21:57:02 |
2021-03-08 21:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:02 | ------------------------------------ 2021-03-08 21:57:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f1c62c9c-66b9-4c12-a7c9-600c1439b0a8</title></pubsub></data> 2021-03-08 21:57:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:57:03 | [Mutex] waiting for: [received:nodes:019f8ab0-a2e3-4eda-89f2-f50b875f28e0:localhost] 2021-03-08 21:57:03 | [Mutex] received everything. 2021-03-08 21:57:03 | [Mutex] isItemNotified: received:node:019f8ab0-a2e3-4eda-89f2-f50b875f28e0:localhost:node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8:Node f1c62c9c-66b9-4c12-a7c9-600c1439b0a8 :: true |
deleteNodes | 1.019s |
2021-03-08 21:57:08 |
2021-03-08 21:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:08 | ------------------------------------ 2021-03-08 21:57:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8</node></data> 2021-03-08 21:57:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:57:09 | [Mutex] waiting for: [received:nodes:14dc16ed-c227-46fd-b0ec-067faea9b7cd:localhost] 2021-03-08 21:57:09 | [Mutex] received everything. 2021-03-08 21:57:09 | [Mutex] isItemNotified: received:node:14dc16ed-c227-46fd-b0ec-067faea9b7cd:localhost:node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8:Node f1c62c9c-66b9-4c12-a7c9-600c1439b0a8 :: false |
deleteSubnodes | 1.161s |
2021-03-08 21:57:07 |
2021-03-08 21:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:07 | ------------------------------------ 2021-03-08 21:57:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node></data> 2021-03-08 21:57:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:57:08 | [Mutex] waiting for: [received:nodes:b6ccc2df-4acf-442f-8760-c8f8067c883c:localhost] 2021-03-08 21:57:08 | [Mutex] received everything. 2021-03-08 21:57:08 | [Mutex] isItemNotified: received:node:b6ccc2df-4acf-442f-8760-c8f8067c883c:localhost:node-082036bd-0098-4c5d-ad51-65ca292901d3:Node 082036bd-0098-4c5d-ad51-65ca292901d3 :: false 2021-03-08 21:57:08 | [Mutex] waiting for: [received:nodes:c271e7db-8afa-4aab-a89e-9d3fabab3824:localhost] 2021-03-08 21:57:08 | [Mutex] received everything. 2021-03-08 21:57:08 | [Mutex] isItemNotified: received:node:c271e7db-8afa-4aab-a89e-9d3fabab3824:localhost:node-082036bd-0098-4c5d-ad51-65ca292901d3:Node 082036bd-0098-4c5d-ad51-65ca292901d3 :: false |
publishItemsToNodes | 0.235s |
2021-03-08 21:57:05 |
2021-03-08 21:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:05 | ------------------------------------ 2021-03-08 21:57:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node><item-id>item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</item-id><entry><test>item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</test></entry></data> 2021-03-08 21:57:05 | 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-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</value></item-id></result> 2021-03-08 21:57:05 | [Mutex] waiting for: [published:item:notifieditem-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe:admin@test-domain.com] 2021-03-08 21:57:05 | [Mutex] received everything. 2021-03-08 21:57:05 | [Mutex] isItemNotified: published:item:notifieditem-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe:admin@test-domain.com :: true |
retractItemsFromNodes | 0.277s |
2021-03-08 21:57:06 |
2021-03-08 21:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:06 | ------------------------------------ 2021-03-08 21:57:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node><item-id>item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</item-id></data> 2021-03-08 21:57:06 | 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-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</value></item-id></result> 2021-03-08 21:57:06 | [Mutex] received everything. 2021-03-08 21:57:06 | [Mutex] isItemNotified: retracted:item:notifieditem-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.179s |
2021-03-08 21:57:05 |
2021-03-08 21:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:05 | ------------------------------------ 2021-03-08 21:57:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node><item-id>item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</item-id></data> 2021-03-08 21:57:06 | 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-082036bd-0098-4c5d-ad51-65ca292901d3</value></node><item-id label="Item ID" type="text-single"><value>item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</value></item-id><item label="Item" type="text-multi"><value><item id="item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe"><test>item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe</test></item></value></item></result> 2021-03-08 21:57:06 | [Mutex] notify: [retrieved:item:item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe:payload-matches:true:localhost] 2021-03-08 21:57:06 | [Mutex] received everything. 2021-03-08 21:57:06 | [Mutex] isItemNotified: retrieved:item:item-a22d7cb7-1d0a-4f6d-a01d-0e8c1ad30efe:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-08 21:57:06 |
2021-03-08 21:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:06 | ------------------------------------ 2021-03-08 21:57:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-08 21:57:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-082036bd-0098-4c5d-ad51-65ca292901d3</value><value>node-f1c62c9c-66b9-4c12-a7c9-600c1439b0a8</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-03-08 21:57:06 |
2021-03-08 21:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:06 | ------------------------------------ 2021-03-08 21:57:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-082036bd-0098-4c5d-ad51-65ca292901d3)</node-pattern></data> 2021-03-08 21:57:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.105s |
2021-03-08 21:57:04 |
2021-03-08 21:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:04 | ------------------------------------ 2021-03-08 21:57:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-08 21:57:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.285s |
2021-03-08 21:57:06 |
2021-03-08 21:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:57:06 | ------------------------------------ 2021-03-08 21:57:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-082036bd-0098-4c5d-ad51-65ca292901d3</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-08 21:57:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |