Test duration : 10.395s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-02-17 04:37:12 |
2022-02-17 04:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:12 | ------------------------------------ 2022-02-17 04:37:12 | [Mutex] waiting for: [configured:node:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:node-b7783b5b-e66f-4b8b-9fae-ca4443744df6] 2022-02-17 04:37:12 | [Mutex] received everything. 2022-02-17 04:37:12 | [Mutex] isItemNotified: configured:node:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:node-b7783b5b-e66f-4b8b-9fae-ca4443744df6 :: true 2022-02-17 04:37:13 | [Mutex] waiting for: [received:nodes:a9939617-a7a5-401e-8b3f-d10be969b935:localhost] 2022-02-17 04:37:13 | [Mutex] received everything. 2022-02-17 04:37:13 | [Mutex] isItemNotified: received:node:a9939617-a7a5-401e-8b3f-d10be969b935:localhost:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:Node e90089d8-e226-491b-9e9d-a59b7c98d5fa :: true 2022-02-17 04:37:13 | [Mutex] waiting for: [received:nodes:7d1f6253-26ca-4f60-881c-69629d200469:localhost] 2022-02-17 04:37:13 | [Mutex] waiting for: [received:nodes:7d1f6253-26ca-4f60-881c-69629d200469:localhost] 2022-02-17 04:37:13 | [Mutex] received everything. 2022-02-17 04:37:13 | [Mutex] isItemNotified: received:node:7d1f6253-26ca-4f60-881c-69629d200469:localhost:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:Node e90089d8-e226-491b-9e9d-a59b7c98d5fa :: false |
createNodes | 1.568s |
2022-02-17 04:37:09 |
2022-02-17 04:37:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:09 | ------------------------------------ 2022-02-17 04:37:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e90089d8-e226-491b-9e9d-a59b7c98d5fa</title></pubsub></data> 2022-02-17 04:37:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:37:11 | [Mutex] waiting for: [received:nodes:3344adf2-d1ba-4621-80e5-907516e51370:localhost] 2022-02-17 04:37:11 | [Mutex] received everything. 2022-02-17 04:37:11 | [Mutex] isItemNotified: received:node:3344adf2-d1ba-4621-80e5-907516e51370:localhost:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:Node e90089d8-e226-491b-9e9d-a59b7c98d5fa :: true |
createSubnodes | 1.030s |
2022-02-17 04:37:11 |
2022-02-17 04:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:11 | ------------------------------------ 2022-02-17 04:37:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b7783b5b-e66f-4b8b-9fae-ca4443744df6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b7783b5b-e66f-4b8b-9fae-ca4443744df6</title></pubsub></data> 2022-02-17 04:37:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:37:12 | [Mutex] waiting for: [received:nodes:96af50d1-a71b-4fb0-9ded-0acdcf2eda26:localhost] 2022-02-17 04:37:12 | [Mutex] received everything. 2022-02-17 04:37:12 | [Mutex] isItemNotified: received:node:96af50d1-a71b-4fb0-9ded-0acdcf2eda26:localhost:node-b7783b5b-e66f-4b8b-9fae-ca4443744df6:Node b7783b5b-e66f-4b8b-9fae-ca4443744df6 :: true |
deleteNodes | 1.019s |
2022-02-17 04:37:18 |
2022-02-17 04:37:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:18 | ------------------------------------ 2022-02-17 04:37:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b7783b5b-e66f-4b8b-9fae-ca4443744df6</node></data> 2022-02-17 04:37:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:37:19 | [Mutex] waiting for: [received:nodes:54eeab99-cf41-4d52-b430-1eaed60ce4be:localhost] 2022-02-17 04:37:19 | [Mutex] received everything. 2022-02-17 04:37:19 | [Mutex] isItemNotified: received:node:54eeab99-cf41-4d52-b430-1eaed60ce4be:localhost:node-b7783b5b-e66f-4b8b-9fae-ca4443744df6:Node b7783b5b-e66f-4b8b-9fae-ca4443744df6 :: false |
deleteSubnodes | 1.184s |
2022-02-17 04:37:16 |
2022-02-17 04:37:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:16 | ------------------------------------ 2022-02-17 04:37:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node></data> 2022-02-17 04:37:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:37:18 | [Mutex] waiting for: [received:nodes:9604f9b5-b72e-4bc8-927c-c01a44fd869e:localhost] 2022-02-17 04:37:18 | [Mutex] waiting for: [received:nodes:9604f9b5-b72e-4bc8-927c-c01a44fd869e:localhost] 2022-02-17 04:37:18 | [Mutex] received everything. 2022-02-17 04:37:18 | [Mutex] isItemNotified: received:node:9604f9b5-b72e-4bc8-927c-c01a44fd869e:localhost:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:Node e90089d8-e226-491b-9e9d-a59b7c98d5fa :: false 2022-02-17 04:37:18 | [Mutex] waiting for: [received:nodes:038c87bf-727d-4175-a654-d3481f131709:localhost] 2022-02-17 04:37:18 | [Mutex] received everything. 2022-02-17 04:37:18 | [Mutex] isItemNotified: received:node:038c87bf-727d-4175-a654-d3481f131709:localhost:node-e90089d8-e226-491b-9e9d-a59b7c98d5fa:Node e90089d8-e226-491b-9e9d-a59b7c98d5fa :: false |
publishItemsToNodes | 0.340s |
2022-02-17 04:37:14 |
2022-02-17 04:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:14 | ------------------------------------ 2022-02-17 04:37:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node><item-id>item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</item-id><entry><test>item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</test></entry></data> 2022-02-17 04:37:14 | 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-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</value></item-id></result> 2022-02-17 04:37:14 | [Mutex] received everything. 2022-02-17 04:37:14 | [Mutex] isItemNotified: published:item:notifieditem-9b1e3e1d-6f90-410a-81f8-c5902f9e0304:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2022-02-17 04:37:15 |
2022-02-17 04:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:15 | ------------------------------------ 2022-02-17 04:37:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node><item-id>item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</item-id></data> 2022-02-17 04:37:15 | 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-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</value></item-id></result> 2022-02-17 04:37:15 | [Mutex] received everything. 2022-02-17 04:37:15 | [Mutex] isItemNotified: retracted:item:notifieditem-9b1e3e1d-6f90-410a-81f8-c5902f9e0304:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.321s |
2022-02-17 04:37:14 |
2022-02-17 04:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:14 | ------------------------------------ 2022-02-17 04:37:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node><item-id>item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</item-id></data> 2022-02-17 04:37:15 | 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-e90089d8-e226-491b-9e9d-a59b7c98d5fa</value></node><item-id label="Item ID" type="text-single"><value>item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</value></item-id><item label="Item" type="text-multi"><value><item id="item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304"><test>item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304</test></item></value></item></result> 2022-02-17 04:37:15 | [Mutex] notify: [retrieved:item:item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304:payload-matches:true:localhost] 2022-02-17 04:37:15 | [Mutex] received everything. 2022-02-17 04:37:15 | [Mutex] isItemNotified: retrieved:item:item-9b1e3e1d-6f90-410a-81f8-c5902f9e0304:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-17 04:37:15 |
2022-02-17 04:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:15 | ------------------------------------ 2022-02-17 04:37:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-17 04:37:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</value><value>test</value><value>node-b7783b5b-e66f-4b8b-9fae-ca4443744df6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-17 04:37:15 |
2022-02-17 04:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:15 | ------------------------------------ 2022-02-17 04:37:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e90089d8-e226-491b-9e9d-a59b7c98d5fa)</node-pattern></data> 2022-02-17 04:37:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.180s |
2022-02-17 04:37:13 |
2022-02-17 04:37:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:13 | ------------------------------------ 2022-02-17 04:37:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 04:37:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.367s |
2022-02-17 04:37:15 |
2022-02-17 04:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:37:15 | ------------------------------------ 2022-02-17 04:37:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e90089d8-e226-491b-9e9d-a59b7c98d5fa</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 04:37:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |