Test duration : 9.265s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2023-07-05 23:03:55 |
2023-07-05 23:03:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:55 | ------------------------------------ 2023-07-05 23:03:55 | [Mutex] waiting for: [configured:node:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:node-f159d0a3-daab-4d1b-ac42-aa376a93030c] 2023-07-05 23:03:55 | [Mutex] received everything. 2023-07-05 23:03:55 | [Mutex] isItemNotified: configured:node:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:node-f159d0a3-daab-4d1b-ac42-aa376a93030c :: true 2023-07-05 23:03:56 | [Mutex] waiting for: [received:nodes:3a6c7ed0-f656-4667-9644-a1477178abe0:localhost] 2023-07-05 23:03:56 | [Mutex] received everything. 2023-07-05 23:03:56 | [Mutex] isItemNotified: received:node:3a6c7ed0-f656-4667-9644-a1477178abe0:localhost:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:Node 388e448b-fd37-4f2d-b707-f9ce60b0f5b4 :: true 2023-07-05 23:03:56 | [Mutex] waiting for: [received:nodes:6b6d1247-0ed3-4f71-adf3-52d7ef5d19b6:localhost] 2023-07-05 23:03:56 | [Mutex] waiting for: [received:nodes:6b6d1247-0ed3-4f71-adf3-52d7ef5d19b6:localhost] 2023-07-05 23:03:56 | [Mutex] waiting for: [received:nodes:6b6d1247-0ed3-4f71-adf3-52d7ef5d19b6:localhost] 2023-07-05 23:03:56 | [Mutex] waiting for: [received:nodes:6b6d1247-0ed3-4f71-adf3-52d7ef5d19b6:localhost] 2023-07-05 23:03:56 | [Mutex] received everything. 2023-07-05 23:03:56 | [Mutex] isItemNotified: received:node:6b6d1247-0ed3-4f71-adf3-52d7ef5d19b6:localhost:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:Node 388e448b-fd37-4f2d-b707-f9ce60b0f5b4 :: false |
createNodes | 1.340s |
2023-07-05 23:03:53 |
2023-07-05 23:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:53 | ------------------------------------ 2023-07-05 23:03:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 388e448b-fd37-4f2d-b707-f9ce60b0f5b4</title></pubsub></data> 2023-07-05 23:03:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:03:54 | [Mutex] waiting for: [received:nodes:59652a38-a1c5-4e19-959d-7c0c3907536b:localhost] 2023-07-05 23:03:54 | [Mutex] received everything. 2023-07-05 23:03:54 | [Mutex] isItemNotified: received:node:59652a38-a1c5-4e19-959d-7c0c3907536b:localhost:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:Node 388e448b-fd37-4f2d-b707-f9ce60b0f5b4 :: true |
createSubnodes | 1.028s |
2023-07-05 23:03:54 |
2023-07-05 23:03:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:54 | ------------------------------------ 2023-07-05 23:03:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f159d0a3-daab-4d1b-ac42-aa376a93030c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f159d0a3-daab-4d1b-ac42-aa376a93030c</title></pubsub></data> 2023-07-05 23:03:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:03:55 | [Mutex] waiting for: [received:nodes:cacf61d5-087d-4245-a1f2-91b962158bd6:localhost] 2023-07-05 23:03:55 | [Mutex] waiting for: [received:nodes:cacf61d5-087d-4245-a1f2-91b962158bd6:localhost] 2023-07-05 23:03:55 | [Mutex] waiting for: [received:nodes:cacf61d5-087d-4245-a1f2-91b962158bd6:localhost] 2023-07-05 23:03:55 | [Mutex] waiting for: [received:nodes:cacf61d5-087d-4245-a1f2-91b962158bd6:localhost] 2023-07-05 23:03:55 | [Mutex] waiting for: [received:nodes:cacf61d5-087d-4245-a1f2-91b962158bd6:localhost] 2023-07-05 23:03:55 | [Mutex] received everything. 2023-07-05 23:03:55 | [Mutex] isItemNotified: received:node:cacf61d5-087d-4245-a1f2-91b962158bd6:localhost:node-f159d0a3-daab-4d1b-ac42-aa376a93030c:Node f159d0a3-daab-4d1b-ac42-aa376a93030c :: true |
deleteNodes | 1.018s |
2023-07-05 23:04:00 |
2023-07-05 23:04:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:04:00 | ------------------------------------ 2023-07-05 23:04:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f159d0a3-daab-4d1b-ac42-aa376a93030c</node></data> 2023-07-05 23:04:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:fb5a0fa1-d24a-4986-a384-5779833bccff:localhost] 2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:fb5a0fa1-d24a-4986-a384-5779833bccff:localhost] 2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:fb5a0fa1-d24a-4986-a384-5779833bccff:localhost] 2023-07-05 23:04:01 | [Mutex] received everything. 2023-07-05 23:04:01 | [Mutex] isItemNotified: received:node:fb5a0fa1-d24a-4986-a384-5779833bccff:localhost:node-f159d0a3-daab-4d1b-ac42-aa376a93030c:Node f159d0a3-daab-4d1b-ac42-aa376a93030c :: false |
deleteSubnodes | 1.126s |
2023-07-05 23:03:59 |
2023-07-05 23:03:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:59 | ------------------------------------ 2023-07-05 23:03:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node></data> 2023-07-05 23:03:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:43f95d4c-52db-401b-ac4f-63f03ad3211d:localhost] 2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:43f95d4c-52db-401b-ac4f-63f03ad3211d:localhost] 2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:43f95d4c-52db-401b-ac4f-63f03ad3211d:localhost] 2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:43f95d4c-52db-401b-ac4f-63f03ad3211d:localhost] 2023-07-05 23:04:00 | [Mutex] received everything. 2023-07-05 23:04:00 | [Mutex] isItemNotified: received:node:43f95d4c-52db-401b-ac4f-63f03ad3211d:localhost:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:Node 388e448b-fd37-4f2d-b707-f9ce60b0f5b4 :: false 2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:b453a0cb-574d-4ad8-aa01-21361955effa:localhost] 2023-07-05 23:04:00 | [Mutex] received everything. 2023-07-05 23:04:00 | [Mutex] isItemNotified: received:node:b453a0cb-574d-4ad8-aa01-21361955effa:localhost:node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4:Node 388e448b-fd37-4f2d-b707-f9ce60b0f5b4 :: false |
publishItemsToNodes | 0.206s |
2023-07-05 23:03:57 |
2023-07-05 23:03:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:57 | ------------------------------------ 2023-07-05 23:03:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node><item-id>item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</item-id><entry><test>item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</test></entry></data> 2023-07-05 23:03:58 | 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-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</value></item-id></result> 2023-07-05 23:03:58 | [Mutex] waiting for: [published:item:notifieditem-53e6bf0e-8843-4b53-9bbc-42acfba74ac8:admin@test-domain.com] 2023-07-05 23:03:58 | [Mutex] received everything. 2023-07-05 23:03:58 | [Mutex] isItemNotified: published:item:notifieditem-53e6bf0e-8843-4b53-9bbc-42acfba74ac8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2023-07-05 23:03:58 |
2023-07-05 23:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:58 | ------------------------------------ 2023-07-05 23:03:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node><item-id>item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</item-id></data> 2023-07-05 23:03:58 | 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-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</value></item-id></result> 2023-07-05 23:03:58 | [Mutex] received everything. 2023-07-05 23:03:58 | [Mutex] isItemNotified: retracted:item:notifieditem-53e6bf0e-8843-4b53-9bbc-42acfba74ac8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.155s |
2023-07-05 23:03:58 |
2023-07-05 23:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:58 | ------------------------------------ 2023-07-05 23:03:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node><item-id>item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</item-id></data> 2023-07-05 23:03:58 | 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-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</value></node><item-id label="Item ID" type="text-single"><value>item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</value></item-id><item label="Item" type="text-multi"><value><item id="item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8"><test>item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8</test></item></value></item></result> 2023-07-05 23:03:58 | [Mutex] notify: [retrieved:item:item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8:payload-matches:true:localhost] 2023-07-05 23:03:58 | [Mutex] received everything. 2023-07-05 23:03:58 | [Mutex] isItemNotified: retrieved:item:item-53e6bf0e-8843-4b53-9bbc-42acfba74ac8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-07-05 23:03:58 |
2023-07-05 23:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:58 | ------------------------------------ 2023-07-05 23:03:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-05 23:03:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-f159d0a3-daab-4d1b-ac42-aa376a93030c</value><value>test</value><value>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-05 23:03:58 |
2023-07-05 23:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:58 | ------------------------------------ 2023-07-05 23:03:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4)</node-pattern></data> 2023-07-05 23:03:58 | 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-07-05 23:03:56 |
2023-07-05 23:03:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:56 | ------------------------------------ 2023-07-05 23:03:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 23:03:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.185s |
2023-07-05 23:03:58 |
2023-07-05 23:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:03:58 | ------------------------------------ 2023-07-05 23:03:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-388e448b-fd37-4f2d-b707-f9ce60b0f5b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 23:03:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |