Test duration : 10.165s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2022-01-19 21:58:33 |
2022-01-19 21:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:33 | ------------------------------------ 2022-01-19 21:58:33 | [Mutex] waiting for: [configured:node:node-3e626bd7-8964-4161-9a35-829f94483859:node-c792240c-a930-4efb-8034-bb426cc89df5] 2022-01-19 21:58:33 | [Mutex] received everything. 2022-01-19 21:58:33 | [Mutex] isItemNotified: configured:node:node-3e626bd7-8964-4161-9a35-829f94483859:node-c792240c-a930-4efb-8034-bb426cc89df5 :: true 2022-01-19 21:58:34 | [Mutex] waiting for: [received:nodes:423de60b-3b4c-46f3-8a5b-76ef87769254:localhost] 2022-01-19 21:58:34 | [Mutex] received everything. 2022-01-19 21:58:34 | [Mutex] isItemNotified: received:node:423de60b-3b4c-46f3-8a5b-76ef87769254:localhost:node-3e626bd7-8964-4161-9a35-829f94483859:Node 3e626bd7-8964-4161-9a35-829f94483859 :: true 2022-01-19 21:58:34 | [Mutex] waiting for: [received:nodes:4ebdf299-ae15-4da5-bbf2-0199c9d0e4ee:localhost] 2022-01-19 21:58:34 | [Mutex] received everything. 2022-01-19 21:58:34 | [Mutex] isItemNotified: received:node:4ebdf299-ae15-4da5-bbf2-0199c9d0e4ee:localhost:node-3e626bd7-8964-4161-9a35-829f94483859:Node 3e626bd7-8964-4161-9a35-829f94483859 :: false |
createNodes | 1.440s |
2022-01-19 21:58:31 |
2022-01-19 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:31 | ------------------------------------ 2022-01-19 21:58:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e626bd7-8964-4161-9a35-829f94483859</title></pubsub></data> 2022-01-19 21:58:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:58:32 | [Mutex] waiting for: [received:nodes:a56b9619-5328-4e2c-b4b6-c13b30645887:localhost] 2022-01-19 21:58:32 | [Mutex] received everything. 2022-01-19 21:58:32 | [Mutex] isItemNotified: received:node:a56b9619-5328-4e2c-b4b6-c13b30645887:localhost:node-3e626bd7-8964-4161-9a35-829f94483859:Node 3e626bd7-8964-4161-9a35-829f94483859 :: true |
createSubnodes | 1.034s |
2022-01-19 21:58:32 |
2022-01-19 21:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:32 | ------------------------------------ 2022-01-19 21:58:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c792240c-a930-4efb-8034-bb426cc89df5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c792240c-a930-4efb-8034-bb426cc89df5</title></pubsub></data> 2022-01-19 21:58:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:58:33 | [Mutex] waiting for: [received:nodes:1c293f3f-8db6-4d45-9ba2-12a6f1143c1d:localhost] 2022-01-19 21:58:33 | [Mutex] waiting for: [received:nodes:1c293f3f-8db6-4d45-9ba2-12a6f1143c1d:localhost] 2022-01-19 21:58:33 | [Mutex] received everything. 2022-01-19 21:58:33 | [Mutex] isItemNotified: received:node:1c293f3f-8db6-4d45-9ba2-12a6f1143c1d:localhost:node-c792240c-a930-4efb-8034-bb426cc89df5:Node c792240c-a930-4efb-8034-bb426cc89df5 :: true |
deleteNodes | 1.023s |
2022-01-19 21:58:39 |
2022-01-19 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:39 | ------------------------------------ 2022-01-19 21:58:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c792240c-a930-4efb-8034-bb426cc89df5</node></data> 2022-01-19 21:58:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:58:40 | [Mutex] waiting for: [received:nodes:7b6a03c2-adfa-4d94-9a6b-5496941baabf:localhost] 2022-01-19 21:58:40 | [Mutex] received everything. 2022-01-19 21:58:40 | [Mutex] isItemNotified: received:node:7b6a03c2-adfa-4d94-9a6b-5496941baabf:localhost:node-c792240c-a930-4efb-8034-bb426cc89df5:Node c792240c-a930-4efb-8034-bb426cc89df5 :: false |
deleteSubnodes | 1.150s |
2022-01-19 21:58:38 |
2022-01-19 21:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:38 | ------------------------------------ 2022-01-19 21:58:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node></data> 2022-01-19 21:58:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:58:39 | [Mutex] waiting for: [received:nodes:8b1c4108-1fdf-422c-8f66-572f73c768fa:localhost] 2022-01-19 21:58:39 | [Mutex] received everything. 2022-01-19 21:58:39 | [Mutex] isItemNotified: received:node:8b1c4108-1fdf-422c-8f66-572f73c768fa:localhost:node-3e626bd7-8964-4161-9a35-829f94483859:Node 3e626bd7-8964-4161-9a35-829f94483859 :: false 2022-01-19 21:58:39 | [Mutex] waiting for: [received:nodes:b21c7196-f078-418e-a77b-d827459c5a0a:localhost] 2022-01-19 21:58:39 | [Mutex] received everything. 2022-01-19 21:58:39 | [Mutex] isItemNotified: received:node:b21c7196-f078-418e-a77b-d827459c5a0a:localhost:node-3e626bd7-8964-4161-9a35-829f94483859:Node 3e626bd7-8964-4161-9a35-829f94483859 :: false |
publishItemsToNodes | 0.248s |
2022-01-19 21:58:35 |
2022-01-19 21:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:35 | ------------------------------------ 2022-01-19 21:58:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node><item-id>item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</item-id><entry><test>item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</test></entry></data> 2022-01-19 21:58:36 | 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-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</value></item-id></result> 2022-01-19 21:58:36 | [Mutex] waiting for: [published:item:notifieditem-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc:admin@test-domain.com] 2022-01-19 21:58:36 | [Mutex] received everything. 2022-01-19 21:58:36 | [Mutex] isItemNotified: published:item:notifieditem-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2022-01-19 21:58:36 |
2022-01-19 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:36 | ------------------------------------ 2022-01-19 21:58:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node><item-id>item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</item-id></data> 2022-01-19 21:58:36 | 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-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</value></item-id></result> 2022-01-19 21:58:36 | [Mutex] received everything. 2022-01-19 21:58:36 | [Mutex] isItemNotified: retracted:item:notifieditem-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.351s |
2022-01-19 21:58:36 |
2022-01-19 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:36 | ------------------------------------ 2022-01-19 21:58:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node><item-id>item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</item-id></data> 2022-01-19 21:58:36 | 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-3e626bd7-8964-4161-9a35-829f94483859</value></node><item-id type="text-single" label="Item ID"><value>item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</value></item-id><item type="text-multi" label="Item"><value><item id="item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc"><test>item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc</test></item></value></item></result> 2022-01-19 21:58:36 | [Mutex] notify: [retrieved:item:item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc:payload-matches:true:localhost] 2022-01-19 21:58:36 | [Mutex] received everything. 2022-01-19 21:58:36 | [Mutex] isItemNotified: retrieved:item:item-ff3441c6-b8b8-4f82-9c55-7bdb87cfaefc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-01-19 21:58:36 |
2022-01-19 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:36 | ------------------------------------ 2022-01-19 21:58:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-01-19 21:58:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-3e626bd7-8964-4161-9a35-829f94483859</value><value>node-c792240c-a930-4efb-8034-bb426cc89df5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-01-19 21:58:36 |
2022-01-19 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:36 | ------------------------------------ 2022-01-19 21:58:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e626bd7-8964-4161-9a35-829f94483859)</node-pattern></data> 2022-01-19 21:58:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.194s |
2022-01-19 21:58:34 |
2022-01-19 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:34 | ------------------------------------ 2022-01-19 21:58:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-19 21:58:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.375s |
2022-01-19 21:58:36 |
2022-01-19 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:58:36 | ------------------------------------ 2022-01-19 21:58:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3e626bd7-8964-4161-9a35-829f94483859</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-19 21:58:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |