Test duration : 9.479s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.082s |
2023-01-16 22:00:39 |
2023-01-16 22:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:39 | ------------------------------------ 2023-01-16 22:00:39 | [Mutex] waiting for: [configured:node:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:node-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af] 2023-01-16 22:00:39 | [Mutex] received everything. 2023-01-16 22:00:39 | [Mutex] isItemNotified: configured:node:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:node-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af :: true 2023-01-16 22:00:40 | [Mutex] waiting for: [received:nodes:77669b25-a07a-49b2-92ea-ab3bc47c1782:localhost] 2023-01-16 22:00:40 | [Mutex] received everything. 2023-01-16 22:00:40 | [Mutex] isItemNotified: received:node:77669b25-a07a-49b2-92ea-ab3bc47c1782:localhost:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:Node e15fa706-ff71-49e5-b0f6-c51b0132e083 :: true 2023-01-16 22:00:40 | [Mutex] waiting for: [received:nodes:5f48f371-11f5-49e2-b670-c35fb0f963a0:localhost] 2023-01-16 22:00:40 | [Mutex] waiting for: [received:nodes:5f48f371-11f5-49e2-b670-c35fb0f963a0:localhost] 2023-01-16 22:00:40 | [Mutex] waiting for: [received:nodes:5f48f371-11f5-49e2-b670-c35fb0f963a0:localhost] 2023-01-16 22:00:40 | [Mutex] received everything. 2023-01-16 22:00:40 | [Mutex] isItemNotified: received:node:5f48f371-11f5-49e2-b670-c35fb0f963a0:localhost:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:Node e15fa706-ff71-49e5-b0f6-c51b0132e083 :: false |
createNodes | 1.419s |
2023-01-16 22:00:37 |
2023-01-16 22:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:37 | ------------------------------------ 2023-01-16 22:00:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e15fa706-ff71-49e5-b0f6-c51b0132e083</title></pubsub></data> 2023-01-16 22:00:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 22:00:38 | [Mutex] waiting for: [received:nodes:ea2bf746-4fbe-4232-93bf-f726a6f44717:localhost] 2023-01-16 22:00:38 | [Mutex] waiting for: [received:nodes:ea2bf746-4fbe-4232-93bf-f726a6f44717:localhost] 2023-01-16 22:00:38 | [Mutex] waiting for: [received:nodes:ea2bf746-4fbe-4232-93bf-f726a6f44717:localhost] 2023-01-16 22:00:38 | [Mutex] received everything. 2023-01-16 22:00:38 | [Mutex] isItemNotified: received:node:ea2bf746-4fbe-4232-93bf-f726a6f44717:localhost:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:Node e15fa706-ff71-49e5-b0f6-c51b0132e083 :: true |
createSubnodes | 1.023s |
2023-01-16 22:00:38 |
2023-01-16 22:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:38 | ------------------------------------ 2023-01-16 22:00:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af</title></pubsub></data> 2023-01-16 22:00:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 22:00:39 | [Mutex] waiting for: [received:nodes:3b03dbf2-a053-43b5-9329-7ec5cd312e9d:localhost] 2023-01-16 22:00:39 | [Mutex] waiting for: [received:nodes:3b03dbf2-a053-43b5-9329-7ec5cd312e9d:localhost] 2023-01-16 22:00:39 | [Mutex] waiting for: [received:nodes:3b03dbf2-a053-43b5-9329-7ec5cd312e9d:localhost] 2023-01-16 22:00:39 | [Mutex] received everything. 2023-01-16 22:00:39 | [Mutex] isItemNotified: received:node:3b03dbf2-a053-43b5-9329-7ec5cd312e9d:localhost:node-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af:Node 4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af :: true |
deleteNodes | 1.023s |
2023-01-16 22:00:45 |
2023-01-16 22:00:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:45 | ------------------------------------ 2023-01-16 22:00:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af</node></data> 2023-01-16 22:00:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 22:00:46 | [Mutex] waiting for: [received:nodes:149ff432-ace2-461f-9373-08e4d8e3ebf5:localhost] 2023-01-16 22:00:46 | [Mutex] waiting for: [received:nodes:149ff432-ace2-461f-9373-08e4d8e3ebf5:localhost] 2023-01-16 22:00:46 | [Mutex] waiting for: [received:nodes:149ff432-ace2-461f-9373-08e4d8e3ebf5:localhost] 2023-01-16 22:00:46 | [Mutex] received everything. 2023-01-16 22:00:46 | [Mutex] isItemNotified: received:node:149ff432-ace2-461f-9373-08e4d8e3ebf5:localhost:node-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af:Node 4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af :: false |
deleteSubnodes | 1.106s |
2023-01-16 22:00:44 |
2023-01-16 22:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:44 | ------------------------------------ 2023-01-16 22:00:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node></data> 2023-01-16 22:00:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 22:00:45 | [Mutex] waiting for: [received:nodes:056256e5-55c8-4044-8ff8-e4e08164e144:localhost] 2023-01-16 22:00:45 | [Mutex] waiting for: [received:nodes:056256e5-55c8-4044-8ff8-e4e08164e144:localhost] 2023-01-16 22:00:45 | [Mutex] waiting for: [received:nodes:056256e5-55c8-4044-8ff8-e4e08164e144:localhost] 2023-01-16 22:00:45 | [Mutex] waiting for: [received:nodes:056256e5-55c8-4044-8ff8-e4e08164e144:localhost] 2023-01-16 22:00:45 | [Mutex] received everything. 2023-01-16 22:00:45 | [Mutex] isItemNotified: received:node:056256e5-55c8-4044-8ff8-e4e08164e144:localhost:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:Node e15fa706-ff71-49e5-b0f6-c51b0132e083 :: false 2023-01-16 22:00:45 | [Mutex] waiting for: [received:nodes:3e516237-66b0-4764-9c44-7e86369b5a66:localhost] 2023-01-16 22:00:45 | [Mutex] received everything. 2023-01-16 22:00:45 | [Mutex] isItemNotified: received:node:3e516237-66b0-4764-9c44-7e86369b5a66:localhost:node-e15fa706-ff71-49e5-b0f6-c51b0132e083:Node e15fa706-ff71-49e5-b0f6-c51b0132e083 :: false |
publishItemsToNodes | 0.233s |
2023-01-16 22:00:42 |
2023-01-16 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:42 | ------------------------------------ 2023-01-16 22:00:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node><item-id>item-8db209a5-86d2-4234-83d2-08082d0229b3</item-id><entry><test>item-8db209a5-86d2-4234-83d2-08082d0229b3</test></entry></data> 2023-01-16 22:00: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-8db209a5-86d2-4234-83d2-08082d0229b3</value></item-id></result> 2023-01-16 22:00:42 | [Mutex] received everything. 2023-01-16 22:00:42 | [Mutex] isItemNotified: published:item:notifieditem-8db209a5-86d2-4234-83d2-08082d0229b3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2023-01-16 22:00:42 |
2023-01-16 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:42 | ------------------------------------ 2023-01-16 22:00:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node><item-id>item-8db209a5-86d2-4234-83d2-08082d0229b3</item-id></data> 2023-01-16 22:00:42 | 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-8db209a5-86d2-4234-83d2-08082d0229b3</value></item-id></result> 2023-01-16 22:00:42 | [Mutex] received everything. 2023-01-16 22:00:42 | [Mutex] isItemNotified: retracted:item:notifieditem-8db209a5-86d2-4234-83d2-08082d0229b3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2023-01-16 22:00:42 |
2023-01-16 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:42 | ------------------------------------ 2023-01-16 22:00:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node><item-id>item-8db209a5-86d2-4234-83d2-08082d0229b3</item-id></data> 2023-01-16 22:00: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-e15fa706-ff71-49e5-b0f6-c51b0132e083</value></node><item-id label="Item ID" type="text-single"><value>item-8db209a5-86d2-4234-83d2-08082d0229b3</value></item-id><item label="Item" type="text-multi"><value><item id="item-8db209a5-86d2-4234-83d2-08082d0229b3"><test>item-8db209a5-86d2-4234-83d2-08082d0229b3</test></item></value></item></result> 2023-01-16 22:00:42 | [Mutex] notify: [retrieved:item:item-8db209a5-86d2-4234-83d2-08082d0229b3:payload-matches:true:localhost] 2023-01-16 22:00:42 | [Mutex] received everything. 2023-01-16 22:00:42 | [Mutex] isItemNotified: retrieved:item:item-8db209a5-86d2-4234-83d2-08082d0229b3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-01-16 22:00:42 |
2023-01-16 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:42 | ------------------------------------ 2023-01-16 22:00:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-01-16 22:00:42 | 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-4db190a2-46ee-4ce8-b5b8-e2cf8a86a4af</value><value>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-01-16 22:00:42 |
2023-01-16 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:42 | ------------------------------------ 2023-01-16 22:00: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-e15fa706-ff71-49e5-b0f6-c51b0132e083)</node-pattern></data> 2023-01-16 22:00:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.138s |
2023-01-16 22:00:40 |
2023-01-16 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:40 | ------------------------------------ 2023-01-16 22:00:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-16 22:00: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.223s |
2023-01-16 22:00:42 |
2023-01-16 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 22:00:42 | ------------------------------------ 2023-01-16 22:00:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e15fa706-ff71-49e5-b0f6-c51b0132e083</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-16 22:00:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |