Test duration : 10.346s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-12-06 22:09:00 |
2021-12-06 22:09:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:00 | ------------------------------------ 2021-12-06 22:09:00 | [Mutex] waiting for: [configured:node:node-bdbbc928-60b5-42ab-a855-accca345e83b:node-2186640e-f657-4c21-bc6d-88c73a12cba4] 2021-12-06 22:09:00 | [Mutex] received everything. 2021-12-06 22:09:00 | [Mutex] isItemNotified: configured:node:node-bdbbc928-60b5-42ab-a855-accca345e83b:node-2186640e-f657-4c21-bc6d-88c73a12cba4 :: true 2021-12-06 22:09:01 | [Mutex] waiting for: [received:nodes:4cfda55c-0374-4b08-ba62-27546dda3cf7:localhost] 2021-12-06 22:09:02 | [Mutex] received everything. 2021-12-06 22:09:02 | [Mutex] isItemNotified: received:node:4cfda55c-0374-4b08-ba62-27546dda3cf7:localhost:node-bdbbc928-60b5-42ab-a855-accca345e83b:Node bdbbc928-60b5-42ab-a855-accca345e83b :: true 2021-12-06 22:09:02 | [Mutex] waiting for: [received:nodes:e464c10d-cbe5-46b2-babc-0a22d084f2a6:localhost] 2021-12-06 22:09:02 | [Mutex] received everything. 2021-12-06 22:09:02 | [Mutex] isItemNotified: received:node:e464c10d-cbe5-46b2-babc-0a22d084f2a6:localhost:node-bdbbc928-60b5-42ab-a855-accca345e83b:Node bdbbc928-60b5-42ab-a855-accca345e83b :: false |
createNodes | 1.511s |
2021-12-06 22:08:58 |
2021-12-06 22:08:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:08:58 | ------------------------------------ 2021-12-06 22:08:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bdbbc928-60b5-42ab-a855-accca345e83b</title></pubsub></data> 2021-12-06 22:08:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 22:08:59 | [Mutex] waiting for: [received:nodes:1ac19137-faba-4155-ab55-5de450656e90:localhost] 2021-12-06 22:08:59 | [Mutex] received everything. 2021-12-06 22:08:59 | [Mutex] isItemNotified: received:node:1ac19137-faba-4155-ab55-5de450656e90:localhost:node-bdbbc928-60b5-42ab-a855-accca345e83b:Node bdbbc928-60b5-42ab-a855-accca345e83b :: true |
createSubnodes | 1.063s |
2021-12-06 22:08:59 |
2021-12-06 22:08:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:08:59 | ------------------------------------ 2021-12-06 22:08:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2186640e-f657-4c21-bc6d-88c73a12cba4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2186640e-f657-4c21-bc6d-88c73a12cba4</title></pubsub></data> 2021-12-06 22:08:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 22:09:00 | [Mutex] waiting for: [received:nodes:23ba396f-0b13-4f63-a81c-04bc51badbbf:localhost] 2021-12-06 22:09:00 | [Mutex] received everything. 2021-12-06 22:09:00 | [Mutex] isItemNotified: received:node:23ba396f-0b13-4f63-a81c-04bc51badbbf:localhost:node-2186640e-f657-4c21-bc6d-88c73a12cba4:Node 2186640e-f657-4c21-bc6d-88c73a12cba4 :: true |
deleteNodes | 1.020s |
2021-12-06 22:09:06 |
2021-12-06 22:09:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:06 | ------------------------------------ 2021-12-06 22:09:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2186640e-f657-4c21-bc6d-88c73a12cba4</node></data> 2021-12-06 22:09:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 22:09:07 | [Mutex] waiting for: [received:nodes:af6909ca-2882-49da-b21c-abfaef5c508b:localhost] 2021-12-06 22:09:07 | [Mutex] received everything. 2021-12-06 22:09:07 | [Mutex] isItemNotified: received:node:af6909ca-2882-49da-b21c-abfaef5c508b:localhost:node-2186640e-f657-4c21-bc6d-88c73a12cba4:Node 2186640e-f657-4c21-bc6d-88c73a12cba4 :: false |
deleteSubnodes | 1.177s |
2021-12-06 22:09:05 |
2021-12-06 22:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:05 | ------------------------------------ 2021-12-06 22:09:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node></data> 2021-12-06 22:09:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 22:09:06 | [Mutex] waiting for: [received:nodes:094fca2f-7b10-4d78-820c-5e0474b50658:localhost] 2021-12-06 22:09:06 | [Mutex] waiting for: [received:nodes:094fca2f-7b10-4d78-820c-5e0474b50658:localhost] 2021-12-06 22:09:06 | [Mutex] received everything. 2021-12-06 22:09:06 | [Mutex] isItemNotified: received:node:094fca2f-7b10-4d78-820c-5e0474b50658:localhost:node-bdbbc928-60b5-42ab-a855-accca345e83b:Node bdbbc928-60b5-42ab-a855-accca345e83b :: false 2021-12-06 22:09:06 | [Mutex] waiting for: [received:nodes:99415926-6527-45ef-89ca-e6b9343ba43f:localhost] 2021-12-06 22:09:06 | [Mutex] received everything. 2021-12-06 22:09:06 | [Mutex] isItemNotified: received:node:99415926-6527-45ef-89ca-e6b9343ba43f:localhost:node-bdbbc928-60b5-42ab-a855-accca345e83b:Node bdbbc928-60b5-42ab-a855-accca345e83b :: false |
publishItemsToNodes | 0.258s |
2021-12-06 22:09:03 |
2021-12-06 22:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:03 | ------------------------------------ 2021-12-06 22:09:03 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node><item-id>item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</item-id><entry><test>item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</test></entry></data> 2021-12-06 22:09:03 | 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-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</value></item-id></result> 2021-12-06 22:09:03 | [Mutex] received everything. 2021-12-06 22:09:03 | [Mutex] isItemNotified: published:item:notifieditem-90655e6c-cc74-44ae-bd47-8f5eff9e3d10:admin@test-domain.com :: true |
retractItemsFromNodes | 0.329s |
2021-12-06 22:09:03 |
2021-12-06 22:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:03 | ------------------------------------ 2021-12-06 22:09:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node><item-id>item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</item-id></data> 2021-12-06 22:09:04 | 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-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</value></item-id></result> 2021-12-06 22:09:04 | [Mutex] waiting for: [retracted:item:notifieditem-90655e6c-cc74-44ae-bd47-8f5eff9e3d10:admin@test-domain.com] 2021-12-06 22:09:04 | [Mutex] received everything. 2021-12-06 22:09:04 | [Mutex] isItemNotified: retracted:item:notifieditem-90655e6c-cc74-44ae-bd47-8f5eff9e3d10:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.279s |
2021-12-06 22:09:03 |
2021-12-06 22:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:03 | ------------------------------------ 2021-12-06 22:09:03 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node><item-id>item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</item-id></data> 2021-12-06 22:09:03 | 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-bdbbc928-60b5-42ab-a855-accca345e83b</value></node><item-id label="Item ID" type="text-single"><value>item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</value></item-id><item label="Item" type="text-multi"><value><item id="item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10"><test>item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10</test></item></value></item></result> 2021-12-06 22:09:03 | [Mutex] notify: [retrieved:item:item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10:payload-matches:true:localhost] 2021-12-06 22:09:03 | [Mutex] received everything. 2021-12-06 22:09:03 | [Mutex] isItemNotified: retrieved:item:item-90655e6c-cc74-44ae-bd47-8f5eff9e3d10:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-12-06 22:09:03 |
2021-12-06 22:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:03 | ------------------------------------ 2021-12-06 22:09:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-12-06 22:09:03 | 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-bdbbc928-60b5-42ab-a855-accca345e83b</value><value>node-2186640e-f657-4c21-bc6d-88c73a12cba4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2021-12-06 22:09:03 |
2021-12-06 22:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:03 | ------------------------------------ 2021-12-06 22:09:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bdbbc928-60b5-42ab-a855-accca345e83b)</node-pattern></data> 2021-12-06 22:09:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.171s |
2021-12-06 22:09:02 |
2021-12-06 22:09:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:02 | ------------------------------------ 2021-12-06 22:09:02 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-06 22:09:02 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.341s |
2021-12-06 22:09:04 |
2021-12-06 22:09:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 22:09:04 | ------------------------------------ 2021-12-06 22:09:04 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bdbbc928-60b5-42ab-a855-accca345e83b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-06 22:09:04 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |