Test duration : 9.509s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2023-03-29 22:29:50 |
2023-03-29 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:50 | ------------------------------------ 2023-03-29 22:29:50 | [Mutex] waiting for: [configured:node:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815] 2023-03-29 22:29:50 | [Mutex] received everything. 2023-03-29 22:29:50 | [Mutex] isItemNotified: configured:node:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815 :: true 2023-03-29 22:29:51 | [Mutex] waiting for: [received:nodes:b4ca4fd8-2f54-428a-901c-d5dff448040d:localhost] 2023-03-29 22:29:51 | [Mutex] received everything. 2023-03-29 22:29:51 | [Mutex] isItemNotified: received:node:b4ca4fd8-2f54-428a-901c-d5dff448040d:localhost:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:Node 6ea9ccf2-e95f-4d73-b61a-6d1428fe6181 :: true 2023-03-29 22:29:51 | [Mutex] waiting for: [received:nodes:60984e80-e9b6-40f1-9769-99fe56a2118a:localhost] 2023-03-29 22:29:51 | [Mutex] waiting for: [received:nodes:60984e80-e9b6-40f1-9769-99fe56a2118a:localhost] 2023-03-29 22:29:51 | [Mutex] waiting for: [received:nodes:60984e80-e9b6-40f1-9769-99fe56a2118a:localhost] 2023-03-29 22:29:51 | [Mutex] received everything. 2023-03-29 22:29:51 | [Mutex] isItemNotified: received:node:60984e80-e9b6-40f1-9769-99fe56a2118a:localhost:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:Node 6ea9ccf2-e95f-4d73-b61a-6d1428fe6181 :: false |
createNodes | 1.354s |
2023-03-29 22:29:48 |
2023-03-29 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:48 | ------------------------------------ 2023-03-29 22:29:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</title></pubsub></data> 2023-03-29 22:29:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 22:29:49 | [Mutex] waiting for: [received:nodes:e198c715-87a5-435f-9522-cc5b4d601dbc:localhost] 2023-03-29 22:29:49 | [Mutex] waiting for: [received:nodes:e198c715-87a5-435f-9522-cc5b4d601dbc:localhost] 2023-03-29 22:29:49 | [Mutex] waiting for: [received:nodes:e198c715-87a5-435f-9522-cc5b4d601dbc:localhost] 2023-03-29 22:29:49 | [Mutex] waiting for: [received:nodes:e198c715-87a5-435f-9522-cc5b4d601dbc:localhost] 2023-03-29 22:29:49 | [Mutex] received everything. 2023-03-29 22:29:49 | [Mutex] isItemNotified: received:node:e198c715-87a5-435f-9522-cc5b4d601dbc:localhost:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:Node 6ea9ccf2-e95f-4d73-b61a-6d1428fe6181 :: true |
createSubnodes | 1.019s |
2023-03-29 22:29:49 |
2023-03-29 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:49 | ------------------------------------ 2023-03-29 22:29:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dd1c0efc-35b1-4ce0-a35e-9f3e6699e815</title></pubsub></data> 2023-03-29 22:29:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 22:29:50 | [Mutex] waiting for: [received:nodes:eb5c006c-f16f-466e-bc8b-a16827af4d8c:localhost] 2023-03-29 22:29:50 | [Mutex] waiting for: [received:nodes:eb5c006c-f16f-466e-bc8b-a16827af4d8c:localhost] 2023-03-29 22:29:50 | [Mutex] waiting for: [received:nodes:eb5c006c-f16f-466e-bc8b-a16827af4d8c:localhost] 2023-03-29 22:29:50 | [Mutex] waiting for: [received:nodes:eb5c006c-f16f-466e-bc8b-a16827af4d8c:localhost] 2023-03-29 22:29:50 | [Mutex] received everything. 2023-03-29 22:29:50 | [Mutex] isItemNotified: received:node:eb5c006c-f16f-466e-bc8b-a16827af4d8c:localhost:node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815:Node dd1c0efc-35b1-4ce0-a35e-9f3e6699e815 :: true |
deleteNodes | 1.021s |
2023-03-29 22:29:55 |
2023-03-29 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:55 | ------------------------------------ 2023-03-29 22:29:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815</node></data> 2023-03-29 22:29:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:91c96fd4-8a4c-4eb7-90d5-f98e40577081:localhost] 2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:91c96fd4-8a4c-4eb7-90d5-f98e40577081:localhost] 2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:91c96fd4-8a4c-4eb7-90d5-f98e40577081:localhost] 2023-03-29 22:29:57 | [Mutex] received everything. 2023-03-29 22:29:57 | [Mutex] isItemNotified: received:node:91c96fd4-8a4c-4eb7-90d5-f98e40577081:localhost:node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815:Node dd1c0efc-35b1-4ce0-a35e-9f3e6699e815 :: false |
deleteSubnodes | 1.122s |
2023-03-29 22:29:54 |
2023-03-29 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:54 | ------------------------------------ 2023-03-29 22:29:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node></data> 2023-03-29 22:29:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 22:29:55 | [Mutex] waiting for: [received:nodes:850c6882-36df-4675-bfe9-9aeacc4e53bd:localhost] 2023-03-29 22:29:55 | [Mutex] waiting for: [received:nodes:850c6882-36df-4675-bfe9-9aeacc4e53bd:localhost] 2023-03-29 22:29:55 | [Mutex] waiting for: [received:nodes:850c6882-36df-4675-bfe9-9aeacc4e53bd:localhost] 2023-03-29 22:29:55 | [Mutex] waiting for: [received:nodes:850c6882-36df-4675-bfe9-9aeacc4e53bd:localhost] 2023-03-29 22:29:55 | [Mutex] received everything. 2023-03-29 22:29:55 | [Mutex] isItemNotified: received:node:850c6882-36df-4675-bfe9-9aeacc4e53bd:localhost:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:Node 6ea9ccf2-e95f-4d73-b61a-6d1428fe6181 :: false 2023-03-29 22:29:55 | [Mutex] waiting for: [received:nodes:a9fd42ca-b726-478e-9792-6b2537b7662f:localhost] 2023-03-29 22:29:55 | [Mutex] received everything. 2023-03-29 22:29:55 | [Mutex] isItemNotified: received:node:a9fd42ca-b726-478e-9792-6b2537b7662f:localhost:node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181:Node 6ea9ccf2-e95f-4d73-b61a-6d1428fe6181 :: false |
publishItemsToNodes | 0.291s |
2023-03-29 22:29:52 |
2023-03-29 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:52 | ------------------------------------ 2023-03-29 22:29:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node><item-id>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</item-id><entry><test>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</test></entry></data> 2023-03-29 22:29:53 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</value></item-id></result> 2023-03-29 22:29:53 | [Mutex] waiting for: [published:item:notifieditem-8f1d05f8-9051-46bc-86cb-e5a69080c5e9:admin@test-domain.com] 2023-03-29 22:29:53 | [Mutex] received everything. 2023-03-29 22:29:53 | [Mutex] isItemNotified: published:item:notifieditem-8f1d05f8-9051-46bc-86cb-e5a69080c5e9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.261s |
2023-03-29 22:29:53 |
2023-03-29 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:53 | ------------------------------------ 2023-03-29 22:29:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node><item-id>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</item-id></data> 2023-03-29 22:29:53 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</value></item-id></result> 2023-03-29 22:29:53 | [Mutex] received everything. 2023-03-29 22:29:53 | [Mutex] isItemNotified: retracted:item:notifieditem-8f1d05f8-9051-46bc-86cb-e5a69080c5e9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2023-03-29 22:29:53 |
2023-03-29 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:53 | ------------------------------------ 2023-03-29 22:29:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node><item-id>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</item-id></data> 2023-03-29 22:29:53 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</value></node><item-id type="text-single" label="Item ID"><value>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</value></item-id><item type="text-multi" label="Item"><value><item id="item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9"><test>item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9</test></item></value></item></result> 2023-03-29 22:29:53 | [Mutex] notify: [retrieved:item:item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9:payload-matches:true:localhost] 2023-03-29 22:29:53 | [Mutex] received everything. 2023-03-29 22:29:53 | [Mutex] isItemNotified: retrieved:item:item-8f1d05f8-9051-46bc-86cb-e5a69080c5e9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-29 22:29:53 |
2023-03-29 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:53 | ------------------------------------ 2023-03-29 22:29:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-29 22:29:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</value><value>node-dd1c0efc-35b1-4ce0-a35e-9f3e6699e815</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-29 22:29:53 |
2023-03-29 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:53 | ------------------------------------ 2023-03-29 22:29:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181)</node-pattern></data> 2023-03-29 22:29:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.145s |
2023-03-29 22:29:51 |
2023-03-29 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:51 | ------------------------------------ 2023-03-29 22:29:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-29 22:29:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.198s |
2023-03-29 22:29:53 |
2023-03-29 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 22:29:53 | ------------------------------------ 2023-03-29 22:29:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6ea9ccf2-e95f-4d73-b61a-6d1428fe6181</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-29 22:29:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |