Test duration : 10.323s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2021-04-28 22:59:31 |
2021-04-28 22:59:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:31 | ------------------------------------ 2021-04-28 22:59:31 | [Mutex] waiting for: [configured:node:node-a073c1a4-b64c-4932-aa08-833f3e60428b:node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14] 2021-04-28 22:59:31 | [Mutex] received everything. 2021-04-28 22:59:31 | [Mutex] isItemNotified: configured:node:node-a073c1a4-b64c-4932-aa08-833f3e60428b:node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14 :: true 2021-04-28 22:59:32 | [Mutex] waiting for: [received:nodes:05d94f68-31eb-40b0-ab82-372973d5530e:localhost] 2021-04-28 22:59:32 | [Mutex] received everything. 2021-04-28 22:59:32 | [Mutex] isItemNotified: received:node:05d94f68-31eb-40b0-ab82-372973d5530e:localhost:node-a073c1a4-b64c-4932-aa08-833f3e60428b:Node a073c1a4-b64c-4932-aa08-833f3e60428b :: true 2021-04-28 22:59:32 | [Mutex] waiting for: [received:nodes:76b94498-5fee-4f57-9396-1543a7cea34e:localhost] 2021-04-28 22:59:32 | [Mutex] received everything. 2021-04-28 22:59:32 | [Mutex] isItemNotified: received:node:76b94498-5fee-4f57-9396-1543a7cea34e:localhost:node-a073c1a4-b64c-4932-aa08-833f3e60428b:Node a073c1a4-b64c-4932-aa08-833f3e60428b :: false |
createNodes | 1.556s |
2021-04-28 22:59:28 |
2021-04-28 22:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:28 | ------------------------------------ 2021-04-28 22:59:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a073c1a4-b64c-4932-aa08-833f3e60428b</title></pubsub></data> 2021-04-28 22:59:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:59:30 | [Mutex] waiting for: [received:nodes:2527fb0e-57f7-4d5c-b032-7d69416557fe:localhost] 2021-04-28 22:59:30 | [Mutex] received everything. 2021-04-28 22:59:30 | [Mutex] isItemNotified: received:node:2527fb0e-57f7-4d5c-b032-7d69416557fe:localhost:node-a073c1a4-b64c-4932-aa08-833f3e60428b:Node a073c1a4-b64c-4932-aa08-833f3e60428b :: true |
createSubnodes | 1.043s |
2021-04-28 22:59:30 |
2021-04-28 22:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:30 | ------------------------------------ 2021-04-28 22:59:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e1fa9814-3e7f-4e14-babc-bc05f46e1c14</title></pubsub></data> 2021-04-28 22:59:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:59:31 | [Mutex] waiting for: [received:nodes:a65e23ac-6304-48fe-a652-d722ed6c3922:localhost] 2021-04-28 22:59:31 | [Mutex] received everything. 2021-04-28 22:59:31 | [Mutex] isItemNotified: received:node:a65e23ac-6304-48fe-a652-d722ed6c3922:localhost:node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14:Node e1fa9814-3e7f-4e14-babc-bc05f46e1c14 :: true |
deleteNodes | 1.029s |
2021-04-28 22:59:37 |
2021-04-28 22:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:37 | ------------------------------------ 2021-04-28 22:59:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14</node></data> 2021-04-28 22:59:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:59:38 | [Mutex] waiting for: [received:nodes:91c9769e-646a-4ae6-8f08-50905f56eb0d:localhost] 2021-04-28 22:59:38 | [Mutex] received everything. 2021-04-28 22:59:38 | [Mutex] isItemNotified: received:node:91c9769e-646a-4ae6-8f08-50905f56eb0d:localhost:node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14:Node e1fa9814-3e7f-4e14-babc-bc05f46e1c14 :: false |
deleteSubnodes | 1.156s |
2021-04-28 22:59:35 |
2021-04-28 22:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:35 | ------------------------------------ 2021-04-28 22:59:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node></data> 2021-04-28 22:59:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:59:37 | [Mutex] waiting for: [received:nodes:51a1154b-f26b-4c58-9bb3-c78e3beb0133:localhost] 2021-04-28 22:59:37 | [Mutex] waiting for: [received:nodes:51a1154b-f26b-4c58-9bb3-c78e3beb0133:localhost] 2021-04-28 22:59:37 | [Mutex] received everything. 2021-04-28 22:59:37 | [Mutex] isItemNotified: received:node:51a1154b-f26b-4c58-9bb3-c78e3beb0133:localhost:node-a073c1a4-b64c-4932-aa08-833f3e60428b:Node a073c1a4-b64c-4932-aa08-833f3e60428b :: false 2021-04-28 22:59:37 | [Mutex] waiting for: [received:nodes:27de39a0-7639-4638-818d-6469c0e2775a:localhost] 2021-04-28 22:59:37 | [Mutex] received everything. 2021-04-28 22:59:37 | [Mutex] isItemNotified: received:node:27de39a0-7639-4638-818d-6469c0e2775a:localhost:node-a073c1a4-b64c-4932-aa08-833f3e60428b:Node a073c1a4-b64c-4932-aa08-833f3e60428b :: false |
publishItemsToNodes | 0.228s |
2021-04-28 22:59:33 |
2021-04-28 22:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:33 | ------------------------------------ 2021-04-28 22:59:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node><item-id>item-fbc42fdb-436e-4bca-a034-dffbc71463d2</item-id><entry><test>item-fbc42fdb-436e-4bca-a034-dffbc71463d2</test></entry></data> 2021-04-28 22:59:33 | 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-fbc42fdb-436e-4bca-a034-dffbc71463d2</value></item-id></result> 2021-04-28 22:59:33 | [Mutex] waiting for: [published:item:notifieditem-fbc42fdb-436e-4bca-a034-dffbc71463d2:admin@test-domain.com] 2021-04-28 22:59:33 | [Mutex] received everything. 2021-04-28 22:59:33 | [Mutex] isItemNotified: published:item:notifieditem-fbc42fdb-436e-4bca-a034-dffbc71463d2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.303s |
2021-04-28 22:59:34 |
2021-04-28 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:34 | ------------------------------------ 2021-04-28 22:59:34 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node><item-id>item-fbc42fdb-436e-4bca-a034-dffbc71463d2</item-id></data> 2021-04-28 22:59:34 | 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-fbc42fdb-436e-4bca-a034-dffbc71463d2</value></item-id></result> 2021-04-28 22:59:34 | [Mutex] received everything. 2021-04-28 22:59:34 | [Mutex] isItemNotified: retracted:item:notifieditem-fbc42fdb-436e-4bca-a034-dffbc71463d2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2021-04-28 22:59:33 |
2021-04-28 22:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:33 | ------------------------------------ 2021-04-28 22:59:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node><item-id>item-fbc42fdb-436e-4bca-a034-dffbc71463d2</item-id></data> 2021-04-28 22:59:34 | 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-a073c1a4-b64c-4932-aa08-833f3e60428b</value></node><item-id label="Item ID" type="text-single"><value>item-fbc42fdb-436e-4bca-a034-dffbc71463d2</value></item-id><item label="Item" type="text-multi"><value><item id="item-fbc42fdb-436e-4bca-a034-dffbc71463d2"><test>item-fbc42fdb-436e-4bca-a034-dffbc71463d2</test></item></value></item></result> 2021-04-28 22:59:34 | [Mutex] notify: [retrieved:item:item-fbc42fdb-436e-4bca-a034-dffbc71463d2:payload-matches:true:localhost] 2021-04-28 22:59:34 | [Mutex] received everything. 2021-04-28 22:59:34 | [Mutex] isItemNotified: retrieved:item:item-fbc42fdb-436e-4bca-a034-dffbc71463d2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-04-28 22:59:34 |
2021-04-28 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:34 | ------------------------------------ 2021-04-28 22:59:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-28 22:59:34 | 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-a073c1a4-b64c-4932-aa08-833f3e60428b</value><value>node-e1fa9814-3e7f-4e14-babc-bc05f46e1c14</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-04-28 22:59:34 |
2021-04-28 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:34 | ------------------------------------ 2021-04-28 22:59:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a073c1a4-b64c-4932-aa08-833f3e60428b)</node-pattern></data> 2021-04-28 22:59:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.224s |
2021-04-28 22:59:32 |
2021-04-28 22:59:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:32 | ------------------------------------ 2021-04-28 22:59:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-28 22:59:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.371s |
2021-04-28 22:59:34 |
2021-04-28 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:59:34 | ------------------------------------ 2021-04-28 22:59:34 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a073c1a4-b64c-4932-aa08-833f3e60428b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-28 22:59:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |