Test duration : 9.719s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-08-22 23:05:54 |
2022-08-22 23:05:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:54 | ------------------------------------ 2022-08-22 23:05:54 | [Mutex] waiting for: [configured:node:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:node-89c57024-4476-4759-a319-ddaea310e3c7] 2022-08-22 23:05:54 | [Mutex] received everything. 2022-08-22 23:05:54 | [Mutex] isItemNotified: configured:node:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:node-89c57024-4476-4759-a319-ddaea310e3c7 :: true 2022-08-22 23:05:55 | [Mutex] waiting for: [received:nodes:a21dd064-c1f8-49ed-8d14-6283ea54ae20:localhost] 2022-08-22 23:05:55 | [Mutex] received everything. 2022-08-22 23:05:55 | [Mutex] isItemNotified: received:node:a21dd064-c1f8-49ed-8d14-6283ea54ae20:localhost:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:Node ee525cac-a3d2-40d6-944d-5d3707cb8e6a :: true 2022-08-22 23:05:55 | [Mutex] waiting for: [received:nodes:5413ff18-217a-4cd7-a7a2-84b679acb10f:localhost] 2022-08-22 23:05:55 | [Mutex] waiting for: [received:nodes:5413ff18-217a-4cd7-a7a2-84b679acb10f:localhost] 2022-08-22 23:05:55 | [Mutex] waiting for: [received:nodes:5413ff18-217a-4cd7-a7a2-84b679acb10f:localhost] 2022-08-22 23:05:55 | [Mutex] waiting for: [received:nodes:5413ff18-217a-4cd7-a7a2-84b679acb10f:localhost] 2022-08-22 23:05:55 | [Mutex] received everything. 2022-08-22 23:05:55 | [Mutex] isItemNotified: received:node:5413ff18-217a-4cd7-a7a2-84b679acb10f:localhost:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:Node ee525cac-a3d2-40d6-944d-5d3707cb8e6a :: false |
createNodes | 1.759s |
2022-08-22 23:05:51 |
2022-08-22 23:05:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:51 | ------------------------------------ 2022-08-22 23:05:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee525cac-a3d2-40d6-944d-5d3707cb8e6a</title></pubsub></data> 2022-08-22 23:05:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:05:53 | [Mutex] waiting for: [received:nodes:26c06522-9e93-4107-8c6e-a597a12180c6:localhost] 2022-08-22 23:05:53 | [Mutex] waiting for: [received:nodes:26c06522-9e93-4107-8c6e-a597a12180c6:localhost] 2022-08-22 23:05:53 | [Mutex] received everything. 2022-08-22 23:05:53 | [Mutex] isItemNotified: received:node:26c06522-9e93-4107-8c6e-a597a12180c6:localhost:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:Node ee525cac-a3d2-40d6-944d-5d3707cb8e6a :: true |
createSubnodes | 1.018s |
2022-08-22 23:05:53 |
2022-08-22 23:05:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:53 | ------------------------------------ 2022-08-22 23:05:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-89c57024-4476-4759-a319-ddaea310e3c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 89c57024-4476-4759-a319-ddaea310e3c7</title></pubsub></data> 2022-08-22 23:05:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:05:54 | [Mutex] waiting for: [received:nodes:4bd78157-0884-4dc9-abfd-08204d2a3105:localhost] 2022-08-22 23:05:54 | [Mutex] received everything. 2022-08-22 23:05:54 | [Mutex] isItemNotified: received:node:4bd78157-0884-4dc9-abfd-08204d2a3105:localhost:node-89c57024-4476-4759-a319-ddaea310e3c7:Node 89c57024-4476-4759-a319-ddaea310e3c7 :: true |
deleteNodes | 1.017s |
2022-08-22 23:05:59 |
2022-08-22 23:05:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:59 | ------------------------------------ 2022-08-22 23:05:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-89c57024-4476-4759-a319-ddaea310e3c7</node></data> 2022-08-22 23:05:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:06:00 | [Mutex] waiting for: [received:nodes:3ff0a5f5-79a8-42d7-8a6b-f25664ec422d:localhost] 2022-08-22 23:06:00 | [Mutex] waiting for: [received:nodes:3ff0a5f5-79a8-42d7-8a6b-f25664ec422d:localhost] 2022-08-22 23:06:00 | [Mutex] received everything. 2022-08-22 23:06:00 | [Mutex] isItemNotified: received:node:3ff0a5f5-79a8-42d7-8a6b-f25664ec422d:localhost:node-89c57024-4476-4759-a319-ddaea310e3c7:Node 89c57024-4476-4759-a319-ddaea310e3c7 :: false |
deleteSubnodes | 1.134s |
2022-08-22 23:05:58 |
2022-08-22 23:05:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:58 | ------------------------------------ 2022-08-22 23:05:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node></data> 2022-08-22 23:05:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:05:59 | [Mutex] waiting for: [received:nodes:7fb90c30-dd5f-4ce0-bc78-901516e74d61:localhost] 2022-08-22 23:05:59 | [Mutex] waiting for: [received:nodes:7fb90c30-dd5f-4ce0-bc78-901516e74d61:localhost] 2022-08-22 23:05:59 | [Mutex] received everything. 2022-08-22 23:05:59 | [Mutex] isItemNotified: received:node:7fb90c30-dd5f-4ce0-bc78-901516e74d61:localhost:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:Node ee525cac-a3d2-40d6-944d-5d3707cb8e6a :: false 2022-08-22 23:05:59 | [Mutex] waiting for: [received:nodes:72681492-d47e-42d6-b043-8cb13272ffa5:localhost] 2022-08-22 23:05:59 | [Mutex] received everything. 2022-08-22 23:05:59 | [Mutex] isItemNotified: received:node:72681492-d47e-42d6-b043-8cb13272ffa5:localhost:node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a:Node ee525cac-a3d2-40d6-944d-5d3707cb8e6a :: false |
publishItemsToNodes | 0.187s |
2022-08-22 23:05:56 |
2022-08-22 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:56 | ------------------------------------ 2022-08-22 23:05:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node><item-id>item-16f99abe-78c8-491b-b721-d82cd7df620f</item-id><entry><test>item-16f99abe-78c8-491b-b721-d82cd7df620f</test></entry></data> 2022-08-22 23:05:56 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-16f99abe-78c8-491b-b721-d82cd7df620f</value></item-id></result> 2022-08-22 23:05:56 | [Mutex] received everything. 2022-08-22 23:05:56 | [Mutex] isItemNotified: published:item:notifieditem-16f99abe-78c8-491b-b721-d82cd7df620f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-08-22 23:05:56 |
2022-08-22 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:56 | ------------------------------------ 2022-08-22 23:05:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node><item-id>item-16f99abe-78c8-491b-b721-d82cd7df620f</item-id></data> 2022-08-22 23:05:57 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-16f99abe-78c8-491b-b721-d82cd7df620f</value></item-id></result> 2022-08-22 23:05:57 | [Mutex] received everything. 2022-08-22 23:05:57 | [Mutex] isItemNotified: retracted:item:notifieditem-16f99abe-78c8-491b-b721-d82cd7df620f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.269s |
2022-08-22 23:05:56 |
2022-08-22 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:56 | ------------------------------------ 2022-08-22 23:05:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node><item-id>item-16f99abe-78c8-491b-b721-d82cd7df620f</item-id></data> 2022-08-22 23:05:56 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</value></node><item-id type="text-single" label="Item ID"><value>item-16f99abe-78c8-491b-b721-d82cd7df620f</value></item-id><item type="text-multi" label="Item"><value><item id="item-16f99abe-78c8-491b-b721-d82cd7df620f"><test>item-16f99abe-78c8-491b-b721-d82cd7df620f</test></item></value></item></result> 2022-08-22 23:05:56 | [Mutex] notify: [retrieved:item:item-16f99abe-78c8-491b-b721-d82cd7df620f:payload-matches:true:localhost] 2022-08-22 23:05:56 | [Mutex] received everything. 2022-08-22 23:05:56 | [Mutex] isItemNotified: retrieved:item:item-16f99abe-78c8-491b-b721-d82cd7df620f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-08-22 23:05:56 |
2022-08-22 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:56 | ------------------------------------ 2022-08-22 23:05:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-22 23:05:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-89c57024-4476-4759-a319-ddaea310e3c7</value><value>test</value><value>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-22 23:05:56 |
2022-08-22 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:56 | ------------------------------------ 2022-08-22 23:05:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a)</node-pattern></data> 2022-08-22 23:05:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.108s |
2022-08-22 23:05:55 |
2022-08-22 23:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:55 | ------------------------------------ 2022-08-22 23:05:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 23:05:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2022-08-22 23:05:57 |
2022-08-22 23:05:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:05:57 | ------------------------------------ 2022-08-22 23:05:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ee525cac-a3d2-40d6-944d-5d3707cb8e6a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 23:05:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |