Test duration : 9.563s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2023-03-06 09:37:40 |
2023-03-06 09:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:40 | ------------------------------------ 2023-03-06 09:37:40 | [Mutex] waiting for: [configured:node:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:node-841853d7-f727-41e4-8246-df38b3a740f3] 2023-03-06 09:37:40 | [Mutex] received everything. 2023-03-06 09:37:40 | [Mutex] isItemNotified: configured:node:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:node-841853d7-f727-41e4-8246-df38b3a740f3 :: true 2023-03-06 09:37:41 | [Mutex] waiting for: [received:nodes:68f6d31d-eb7b-4d44-bf97-69da06470d27:localhost] 2023-03-06 09:37:41 | [Mutex] received everything. 2023-03-06 09:37:41 | [Mutex] isItemNotified: received:node:68f6d31d-eb7b-4d44-bf97-69da06470d27:localhost:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:Node 7fe7b3a7-de6e-48d7-9261-5d1aad27655c :: true 2023-03-06 09:37:41 | [Mutex] waiting for: [received:nodes:94dd9019-3166-4f04-bd6c-01d2bc77a971:localhost] 2023-03-06 09:37:41 | [Mutex] waiting for: [received:nodes:94dd9019-3166-4f04-bd6c-01d2bc77a971:localhost] 2023-03-06 09:37:41 | [Mutex] waiting for: [received:nodes:94dd9019-3166-4f04-bd6c-01d2bc77a971:localhost] 2023-03-06 09:37:41 | [Mutex] waiting for: [received:nodes:94dd9019-3166-4f04-bd6c-01d2bc77a971:localhost] 2023-03-06 09:37:41 | [Mutex] received everything. 2023-03-06 09:37:41 | [Mutex] isItemNotified: received:node:94dd9019-3166-4f04-bd6c-01d2bc77a971:localhost:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:Node 7fe7b3a7-de6e-48d7-9261-5d1aad27655c :: false |
createNodes | 1.423s |
2023-03-06 09:37:37 |
2023-03-06 09:37:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:37 | ------------------------------------ 2023-03-06 09:37:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7fe7b3a7-de6e-48d7-9261-5d1aad27655c</title></pubsub></data> 2023-03-06 09:37:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:37:39 | [Mutex] waiting for: [received:nodes:bf2a86bb-f56b-4c9e-af3e-4f7bf08d9648:localhost] 2023-03-06 09:37:39 | [Mutex] received everything. 2023-03-06 09:37:39 | [Mutex] isItemNotified: received:node:bf2a86bb-f56b-4c9e-af3e-4f7bf08d9648:localhost:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:Node 7fe7b3a7-de6e-48d7-9261-5d1aad27655c :: true |
createSubnodes | 1.020s |
2023-03-06 09:37:39 |
2023-03-06 09:37:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:39 | ------------------------------------ 2023-03-06 09:37:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-841853d7-f727-41e4-8246-df38b3a740f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 841853d7-f727-41e4-8246-df38b3a740f3</title></pubsub></data> 2023-03-06 09:37:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:37:40 | [Mutex] waiting for: [received:nodes:e4c4f340-569b-42aa-a2b6-d77ae78bce2e:localhost] 2023-03-06 09:37:40 | [Mutex] waiting for: [received:nodes:e4c4f340-569b-42aa-a2b6-d77ae78bce2e:localhost] 2023-03-06 09:37:40 | [Mutex] waiting for: [received:nodes:e4c4f340-569b-42aa-a2b6-d77ae78bce2e:localhost] 2023-03-06 09:37:40 | [Mutex] waiting for: [received:nodes:e4c4f340-569b-42aa-a2b6-d77ae78bce2e:localhost] 2023-03-06 09:37:40 | [Mutex] received everything. 2023-03-06 09:37:40 | [Mutex] isItemNotified: received:node:e4c4f340-569b-42aa-a2b6-d77ae78bce2e:localhost:node-841853d7-f727-41e4-8246-df38b3a740f3:Node 841853d7-f727-41e4-8246-df38b3a740f3 :: true |
deleteNodes | 1.016s |
2023-03-06 09:37:45 |
2023-03-06 09:37:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:45 | ------------------------------------ 2023-03-06 09:37:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-841853d7-f727-41e4-8246-df38b3a740f3</node></data> 2023-03-06 09:37:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:37:46 | [Mutex] waiting for: [received:nodes:4ea824e2-4f62-4eea-956c-e579ecffcde9:localhost] 2023-03-06 09:37:46 | [Mutex] waiting for: [received:nodes:4ea824e2-4f62-4eea-956c-e579ecffcde9:localhost] 2023-03-06 09:37:46 | [Mutex] waiting for: [received:nodes:4ea824e2-4f62-4eea-956c-e579ecffcde9:localhost] 2023-03-06 09:37:46 | [Mutex] received everything. 2023-03-06 09:37:46 | [Mutex] isItemNotified: received:node:4ea824e2-4f62-4eea-956c-e579ecffcde9:localhost:node-841853d7-f727-41e4-8246-df38b3a740f3:Node 841853d7-f727-41e4-8246-df38b3a740f3 :: false |
deleteSubnodes | 1.146s |
2023-03-06 09:37:44 |
2023-03-06 09:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:44 | ------------------------------------ 2023-03-06 09:37:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node></data> 2023-03-06 09:37:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:37:45 | [Mutex] waiting for: [received:nodes:24f59d09-4592-4e02-b773-b50d7591f011:localhost] 2023-03-06 09:37:45 | [Mutex] waiting for: [received:nodes:24f59d09-4592-4e02-b773-b50d7591f011:localhost] 2023-03-06 09:37:45 | [Mutex] waiting for: [received:nodes:24f59d09-4592-4e02-b773-b50d7591f011:localhost] 2023-03-06 09:37:45 | [Mutex] waiting for: [received:nodes:24f59d09-4592-4e02-b773-b50d7591f011:localhost] 2023-03-06 09:37:45 | [Mutex] received everything. 2023-03-06 09:37:45 | [Mutex] isItemNotified: received:node:24f59d09-4592-4e02-b773-b50d7591f011:localhost:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:Node 7fe7b3a7-de6e-48d7-9261-5d1aad27655c :: false 2023-03-06 09:37:45 | [Mutex] waiting for: [received:nodes:36585eee-0f59-4339-8379-023656e26ebd:localhost] 2023-03-06 09:37:45 | [Mutex] received everything. 2023-03-06 09:37:45 | [Mutex] isItemNotified: received:node:36585eee-0f59-4339-8379-023656e26ebd:localhost:node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c:Node 7fe7b3a7-de6e-48d7-9261-5d1aad27655c :: false |
publishItemsToNodes | 0.255s |
2023-03-06 09:37:42 |
2023-03-06 09:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:42 | ------------------------------------ 2023-03-06 09:37:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node><item-id>item-3053fd86-2a58-4605-ad07-f26810f8fa3f</item-id><entry><test>item-3053fd86-2a58-4605-ad07-f26810f8fa3f</test></entry></data> 2023-03-06 09:37:42 | 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-3053fd86-2a58-4605-ad07-f26810f8fa3f</value></item-id></result> 2023-03-06 09:37:42 | [Mutex] received everything. 2023-03-06 09:37:42 | [Mutex] isItemNotified: published:item:notifieditem-3053fd86-2a58-4605-ad07-f26810f8fa3f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2023-03-06 09:37:43 |
2023-03-06 09:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:43 | ------------------------------------ 2023-03-06 09:37:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node><item-id>item-3053fd86-2a58-4605-ad07-f26810f8fa3f</item-id></data> 2023-03-06 09:37:43 | 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-3053fd86-2a58-4605-ad07-f26810f8fa3f</value></item-id></result> 2023-03-06 09:37:43 | [Mutex] waiting for: [retracted:item:notifieditem-3053fd86-2a58-4605-ad07-f26810f8fa3f:admin@test-domain.com] 2023-03-06 09:37:43 | [Mutex] received everything. 2023-03-06 09:37:43 | [Mutex] isItemNotified: retracted:item:notifieditem-3053fd86-2a58-4605-ad07-f26810f8fa3f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.248s |
2023-03-06 09:37:42 |
2023-03-06 09:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:42 | ------------------------------------ 2023-03-06 09:37:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node><item-id>item-3053fd86-2a58-4605-ad07-f26810f8fa3f</item-id></data> 2023-03-06 09:37:42 | 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-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</value></node><item-id label="Item ID" type="text-single"><value>item-3053fd86-2a58-4605-ad07-f26810f8fa3f</value></item-id><item label="Item" type="text-multi"><value><item id="item-3053fd86-2a58-4605-ad07-f26810f8fa3f"><test>item-3053fd86-2a58-4605-ad07-f26810f8fa3f</test></item></value></item></result> 2023-03-06 09:37:42 | [Mutex] notify: [retrieved:item:item-3053fd86-2a58-4605-ad07-f26810f8fa3f:payload-matches:true:localhost] 2023-03-06 09:37:42 | [Mutex] received everything. 2023-03-06 09:37:42 | [Mutex] isItemNotified: retrieved:item:item-3053fd86-2a58-4605-ad07-f26810f8fa3f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-06 09:37:42 |
2023-03-06 09:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:42 | ------------------------------------ 2023-03-06 09:37:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-06 09:37:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-841853d7-f727-41e4-8246-df38b3a740f3</value><value>test</value><value>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-06 09:37:42 |
2023-03-06 09:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:42 | ------------------------------------ 2023-03-06 09:37:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c)</node-pattern></data> 2023-03-06 09:37:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.122s |
2023-03-06 09:37:41 |
2023-03-06 09:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:41 | ------------------------------------ 2023-03-06 09:37:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 09:37:41 | 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 |
2023-03-06 09:37:43 |
2023-03-06 09:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:37:43 | ------------------------------------ 2023-03-06 09:37:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7fe7b3a7-de6e-48d7-9261-5d1aad27655c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 09:37:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |