Test duration : 9.268s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.084s |
2023-06-20 22:59:44 |
2023-06-20 22:59:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:44 | ------------------------------------ 2023-06-20 22:59:44 | [Mutex] waiting for: [configured:node:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5] 2023-06-20 22:59:44 | [Mutex] received everything. 2023-06-20 22:59:44 | [Mutex] isItemNotified: configured:node:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5 :: true 2023-06-20 22:59:45 | [Mutex] waiting for: [received:nodes:18248367-28b8-4dc1-b96b-34b200a8193f:localhost] 2023-06-20 22:59:45 | [Mutex] received everything. 2023-06-20 22:59:45 | [Mutex] isItemNotified: received:node:18248367-28b8-4dc1-b96b-34b200a8193f:localhost:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:Node 5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c :: true 2023-06-20 22:59:45 | [Mutex] waiting for: [received:nodes:ca80790d-c63a-4b2c-ad80-c4a7b1941914:localhost] 2023-06-20 22:59:45 | [Mutex] waiting for: [received:nodes:ca80790d-c63a-4b2c-ad80-c4a7b1941914:localhost] 2023-06-20 22:59:45 | [Mutex] waiting for: [received:nodes:ca80790d-c63a-4b2c-ad80-c4a7b1941914:localhost] 2023-06-20 22:59:45 | [Mutex] waiting for: [received:nodes:ca80790d-c63a-4b2c-ad80-c4a7b1941914:localhost] 2023-06-20 22:59:45 | [Mutex] received everything. 2023-06-20 22:59:45 | [Mutex] isItemNotified: received:node:ca80790d-c63a-4b2c-ad80-c4a7b1941914:localhost:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:Node 5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c :: false |
createNodes | 1.345s |
2023-06-20 22:59:42 |
2023-06-20 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:42 | ------------------------------------ 2023-06-20 22:59:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</title></pubsub></data> 2023-06-20 22:59:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:59:43 | [Mutex] waiting for: [received:nodes:6c87d528-4315-4568-9b05-5014dcc91c01:localhost] 2023-06-20 22:59:43 | [Mutex] waiting for: [received:nodes:6c87d528-4315-4568-9b05-5014dcc91c01:localhost] 2023-06-20 22:59:43 | [Mutex] waiting for: [received:nodes:6c87d528-4315-4568-9b05-5014dcc91c01:localhost] 2023-06-20 22:59:43 | [Mutex] waiting for: [received:nodes:6c87d528-4315-4568-9b05-5014dcc91c01:localhost] 2023-06-20 22:59:43 | [Mutex] received everything. 2023-06-20 22:59:43 | [Mutex] isItemNotified: received:node:6c87d528-4315-4568-9b05-5014dcc91c01:localhost:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:Node 5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c :: true |
createSubnodes | 1.024s |
2023-06-20 22:59:43 |
2023-06-20 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:43 | ------------------------------------ 2023-06-20 22:59:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7b1037be-0463-4b4c-b4b7-60ee17d9e4b5</title></pubsub></data> 2023-06-20 22:59:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:59:44 | [Mutex] waiting for: [received:nodes:da8d1fd7-db03-4749-b28e-96d2c20e30ff:localhost] 2023-06-20 22:59:44 | [Mutex] waiting for: [received:nodes:da8d1fd7-db03-4749-b28e-96d2c20e30ff:localhost] 2023-06-20 22:59:44 | [Mutex] waiting for: [received:nodes:da8d1fd7-db03-4749-b28e-96d2c20e30ff:localhost] 2023-06-20 22:59:44 | [Mutex] received everything. 2023-06-20 22:59:44 | [Mutex] isItemNotified: received:node:da8d1fd7-db03-4749-b28e-96d2c20e30ff:localhost:node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5:Node 7b1037be-0463-4b4c-b4b7-60ee17d9e4b5 :: true |
deleteNodes | 1.018s |
2023-06-20 22:59:49 |
2023-06-20 22:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:49 | ------------------------------------ 2023-06-20 22:59:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5</node></data> 2023-06-20 22:59:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:59:50 | [Mutex] waiting for: [received:nodes:e5bea274-357d-49cf-9e4a-a17d63f6f525:localhost] 2023-06-20 22:59:50 | [Mutex] waiting for: [received:nodes:e5bea274-357d-49cf-9e4a-a17d63f6f525:localhost] 2023-06-20 22:59:50 | [Mutex] waiting for: [received:nodes:e5bea274-357d-49cf-9e4a-a17d63f6f525:localhost] 2023-06-20 22:59:50 | [Mutex] received everything. 2023-06-20 22:59:50 | [Mutex] isItemNotified: received:node:e5bea274-357d-49cf-9e4a-a17d63f6f525:localhost:node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5:Node 7b1037be-0463-4b4c-b4b7-60ee17d9e4b5 :: false |
deleteSubnodes | 1.116s |
2023-06-20 22:59:48 |
2023-06-20 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:48 | ------------------------------------ 2023-06-20 22:59:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node></data> 2023-06-20 22:59:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:59:49 | [Mutex] waiting for: [received:nodes:23d0f099-167d-48c0-8120-8f254ef04a6e:localhost] 2023-06-20 22:59:49 | [Mutex] waiting for: [received:nodes:23d0f099-167d-48c0-8120-8f254ef04a6e:localhost] 2023-06-20 22:59:49 | [Mutex] waiting for: [received:nodes:23d0f099-167d-48c0-8120-8f254ef04a6e:localhost] 2023-06-20 22:59:49 | [Mutex] waiting for: [received:nodes:23d0f099-167d-48c0-8120-8f254ef04a6e:localhost] 2023-06-20 22:59:49 | [Mutex] received everything. 2023-06-20 22:59:49 | [Mutex] isItemNotified: received:node:23d0f099-167d-48c0-8120-8f254ef04a6e:localhost:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:Node 5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c :: false 2023-06-20 22:59:49 | [Mutex] waiting for: [received:nodes:a5b6cbcc-1c85-437f-92aa-c9f45237230e:localhost] 2023-06-20 22:59:49 | [Mutex] received everything. 2023-06-20 22:59:49 | [Mutex] isItemNotified: received:node:a5b6cbcc-1c85-437f-92aa-c9f45237230e:localhost:node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c:Node 5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c :: false |
publishItemsToNodes | 0.265s |
2023-06-20 22:59:46 |
2023-06-20 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:46 | ------------------------------------ 2023-06-20 22:59:46 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node><item-id>item-db6e1740-5c05-4255-9277-b600cb2680e8</item-id><entry><test>item-db6e1740-5c05-4255-9277-b600cb2680e8</test></entry></data> 2023-06-20 22:59:47 | 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-db6e1740-5c05-4255-9277-b600cb2680e8</value></item-id></result> 2023-06-20 22:59:47 | [Mutex] waiting for: [published:item:notifieditem-db6e1740-5c05-4255-9277-b600cb2680e8:admin@test-domain.com] 2023-06-20 22:59:47 | [Mutex] received everything. 2023-06-20 22:59:47 | [Mutex] isItemNotified: published:item:notifieditem-db6e1740-5c05-4255-9277-b600cb2680e8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.214s |
2023-06-20 22:59:47 |
2023-06-20 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:47 | ------------------------------------ 2023-06-20 22:59:47 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node><item-id>item-db6e1740-5c05-4255-9277-b600cb2680e8</item-id></data> 2023-06-20 22:59:47 | 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-db6e1740-5c05-4255-9277-b600cb2680e8</value></item-id></result> 2023-06-20 22:59:47 | [Mutex] received everything. 2023-06-20 22:59:47 | [Mutex] isItemNotified: retracted:item:notifieditem-db6e1740-5c05-4255-9277-b600cb2680e8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.196s |
2023-06-20 22:59:47 |
2023-06-20 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:47 | ------------------------------------ 2023-06-20 22:59:47 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node><item-id>item-db6e1740-5c05-4255-9277-b600cb2680e8</item-id></data> 2023-06-20 22:59:47 | 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-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</value></node><item-id label="Item ID" type="text-single"><value>item-db6e1740-5c05-4255-9277-b600cb2680e8</value></item-id><item label="Item" type="text-multi"><value><item id="item-db6e1740-5c05-4255-9277-b600cb2680e8"><test>item-db6e1740-5c05-4255-9277-b600cb2680e8</test></item></value></item></result> 2023-06-20 22:59:47 | [Mutex] notify: [retrieved:item:item-db6e1740-5c05-4255-9277-b600cb2680e8:payload-matches:true:localhost] 2023-06-20 22:59:47 | [Mutex] received everything. 2023-06-20 22:59:47 | [Mutex] isItemNotified: retrieved:item:item-db6e1740-5c05-4255-9277-b600cb2680e8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-06-20 22:59:47 |
2023-06-20 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:47 | ------------------------------------ 2023-06-20 22:59:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-20 22:59:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-7b1037be-0463-4b4c-b4b7-60ee17d9e4b5</value><value>test</value><value>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-06-20 22:59:47 |
2023-06-20 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:47 | ------------------------------------ 2023-06-20 22:59:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c)</node-pattern></data> 2023-06-20 22:59:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.117s |
2023-06-20 22:59:45 |
2023-06-20 22:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:45 | ------------------------------------ 2023-06-20 22:59:45 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 22:59:45 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.204s |
2023-06-20 22:59:47 |
2023-06-20 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:59:47 | ------------------------------------ 2023-06-20 22:59:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5f2bf0bc-a2e9-4c4c-a9f9-28008fdbfb0c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 22:59:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |