Test duration : 9.842s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2021-03-14 23:01:29 |
2021-03-14 23:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:29 | ------------------------------------ 2021-03-14 23:01:29 | [Mutex] waiting for: [configured:node:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:node-d07e70d7-5d58-4080-84f4-111140b920b8] 2021-03-14 23:01:29 | [Mutex] received everything. 2021-03-14 23:01:29 | [Mutex] isItemNotified: configured:node:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:node-d07e70d7-5d58-4080-84f4-111140b920b8 :: true 2021-03-14 23:01:30 | [Mutex] waiting for: [received:nodes:a030cb07-01f7-40ef-b576-eef8d93ae479:localhost] 2021-03-14 23:01:30 | [Mutex] received everything. 2021-03-14 23:01:30 | [Mutex] isItemNotified: received:node:a030cb07-01f7-40ef-b576-eef8d93ae479:localhost:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:Node eafb64d4-6898-41ef-9b76-6f730fb4b764 :: true 2021-03-14 23:01:30 | [Mutex] waiting for: [received:nodes:6fa2ada3-635f-4b70-868b-64bb10e88ac9:localhost] 2021-03-14 23:01:30 | [Mutex] received everything. 2021-03-14 23:01:30 | [Mutex] isItemNotified: received:node:6fa2ada3-635f-4b70-868b-64bb10e88ac9:localhost:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:Node eafb64d4-6898-41ef-9b76-6f730fb4b764 :: false |
createNodes | 1.396s |
2021-03-14 23:01:26 |
2021-03-14 23:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:26 | ------------------------------------ 2021-03-14 23:01:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eafb64d4-6898-41ef-9b76-6f730fb4b764</title></pubsub></data> 2021-03-14 23:01:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 23:01:28 | [Mutex] waiting for: [received:nodes:c93efcba-0d29-42bf-8ff3-663f28c13f0f:localhost] 2021-03-14 23:01:28 | [Mutex] waiting for: [received:nodes:c93efcba-0d29-42bf-8ff3-663f28c13f0f:localhost] 2021-03-14 23:01:28 | [Mutex] received everything. 2021-03-14 23:01:28 | [Mutex] isItemNotified: received:node:c93efcba-0d29-42bf-8ff3-663f28c13f0f:localhost:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:Node eafb64d4-6898-41ef-9b76-6f730fb4b764 :: true |
createSubnodes | 1.024s |
2021-03-14 23:01:28 |
2021-03-14 23:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:28 | ------------------------------------ 2021-03-14 23:01:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d07e70d7-5d58-4080-84f4-111140b920b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d07e70d7-5d58-4080-84f4-111140b920b8</title></pubsub></data> 2021-03-14 23:01:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 23:01:29 | [Mutex] waiting for: [received:nodes:82bf7ef9-361a-4d02-bfa4-89e6853e68ef:localhost] 2021-03-14 23:01:29 | [Mutex] received everything. 2021-03-14 23:01:29 | [Mutex] isItemNotified: received:node:82bf7ef9-361a-4d02-bfa4-89e6853e68ef:localhost:node-d07e70d7-5d58-4080-84f4-111140b920b8:Node d07e70d7-5d58-4080-84f4-111140b920b8 :: true |
deleteNodes | 1.019s |
2021-03-14 23:01:34 |
2021-03-14 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:34 | ------------------------------------ 2021-03-14 23:01:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d07e70d7-5d58-4080-84f4-111140b920b8</node></data> 2021-03-14 23:01:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 23:01:35 | [Mutex] waiting for: [received:nodes:5f3b698d-a546-45c6-88d0-230789b4ff05:localhost] 2021-03-14 23:01:35 | [Mutex] waiting for: [received:nodes:5f3b698d-a546-45c6-88d0-230789b4ff05:localhost] 2021-03-14 23:01:35 | [Mutex] received everything. 2021-03-14 23:01:35 | [Mutex] isItemNotified: received:node:5f3b698d-a546-45c6-88d0-230789b4ff05:localhost:node-d07e70d7-5d58-4080-84f4-111140b920b8:Node d07e70d7-5d58-4080-84f4-111140b920b8 :: false |
deleteSubnodes | 1.122s |
2021-03-14 23:01:33 |
2021-03-14 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:33 | ------------------------------------ 2021-03-14 23:01:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node></data> 2021-03-14 23:01:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 23:01:34 | [Mutex] waiting for: [received:nodes:9f4050b0-ea56-4744-bf84-bd9765a8df21:localhost] 2021-03-14 23:01:34 | [Mutex] received everything. 2021-03-14 23:01:34 | [Mutex] isItemNotified: received:node:9f4050b0-ea56-4744-bf84-bd9765a8df21:localhost:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:Node eafb64d4-6898-41ef-9b76-6f730fb4b764 :: false 2021-03-14 23:01:34 | [Mutex] waiting for: [received:nodes:bf769ce0-c61f-49fa-8507-3f40ad5da5bd:localhost] 2021-03-14 23:01:34 | [Mutex] received everything. 2021-03-14 23:01:34 | [Mutex] isItemNotified: received:node:bf769ce0-c61f-49fa-8507-3f40ad5da5bd:localhost:node-eafb64d4-6898-41ef-9b76-6f730fb4b764:Node eafb64d4-6898-41ef-9b76-6f730fb4b764 :: false |
publishItemsToNodes | 0.172s |
2021-03-14 23:01:31 |
2021-03-14 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:31 | ------------------------------------ 2021-03-14 23:01:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node><item-id>item-9550de02-2275-4358-a597-1d3ec948dc94</item-id><entry><test>item-9550de02-2275-4358-a597-1d3ec948dc94</test></entry></data> 2021-03-14 23:01:31 | 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-9550de02-2275-4358-a597-1d3ec948dc94</value></item-id></result> 2021-03-14 23:01:31 | [Mutex] received everything. 2021-03-14 23:01:31 | [Mutex] isItemNotified: published:item:notifieditem-9550de02-2275-4358-a597-1d3ec948dc94:admin@test-domain.com :: true |
retractItemsFromNodes | 0.220s |
2021-03-14 23:01:32 |
2021-03-14 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:32 | ------------------------------------ 2021-03-14 23:01:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node><item-id>item-9550de02-2275-4358-a597-1d3ec948dc94</item-id></data> 2021-03-14 23:01:32 | 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-9550de02-2275-4358-a597-1d3ec948dc94</value></item-id></result> 2021-03-14 23:01:32 | [Mutex] received everything. 2021-03-14 23:01:32 | [Mutex] isItemNotified: retracted:item:notifieditem-9550de02-2275-4358-a597-1d3ec948dc94:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.379s |
2021-03-14 23:01:31 |
2021-03-14 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:31 | ------------------------------------ 2021-03-14 23:01:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node><item-id>item-9550de02-2275-4358-a597-1d3ec948dc94</item-id></data> 2021-03-14 23:01:32 | 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-eafb64d4-6898-41ef-9b76-6f730fb4b764</value></node><item-id label="Item ID" type="text-single"><value>item-9550de02-2275-4358-a597-1d3ec948dc94</value></item-id><item label="Item" type="text-multi"><value><item id="item-9550de02-2275-4358-a597-1d3ec948dc94"><test>item-9550de02-2275-4358-a597-1d3ec948dc94</test></item></value></item></result> 2021-03-14 23:01:32 | [Mutex] notify: [retrieved:item:item-9550de02-2275-4358-a597-1d3ec948dc94:payload-matches:true:localhost] 2021-03-14 23:01:32 | [Mutex] received everything. 2021-03-14 23:01:32 | [Mutex] isItemNotified: retrieved:item:item-9550de02-2275-4358-a597-1d3ec948dc94:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-14 23:01:32 |
2021-03-14 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:32 | ------------------------------------ 2021-03-14 23:01:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-14 23:01:32 | 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-d07e70d7-5d58-4080-84f4-111140b920b8</value><value>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-03-14 23:01:32 |
2021-03-14 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:32 | ------------------------------------ 2021-03-14 23:01:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eafb64d4-6898-41ef-9b76-6f730fb4b764)</node-pattern></data> 2021-03-14 23:01:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.133s |
2021-03-14 23:01:30 |
2021-03-14 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:30 | ------------------------------------ 2021-03-14 23:01:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-14 23:01:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.279s |
2021-03-14 23:01:32 |
2021-03-14 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 23:01:32 | ------------------------------------ 2021-03-14 23:01:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-eafb64d4-6898-41ef-9b76-6f730fb4b764</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-14 23:01:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |