Test duration : 9.477s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.120s |
2023-11-05 22:46:54 |
2023-11-05 22:46:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:54 | ------------------------------------ 2023-11-05 22:46:54 | [Mutex] waiting for: [configured:node:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:node-75804df9-1370-4732-ad61-30982f97b825] 2023-11-05 22:46:54 | [Mutex] received everything. 2023-11-05 22:46:54 | [Mutex] isItemNotified: configured:node:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:node-75804df9-1370-4732-ad61-30982f97b825 :: true 2023-11-05 22:46:55 | [Mutex] waiting for: [received:nodes:6919fb89-150c-42eb-9cf4-17a848336a18:localhost] 2023-11-05 22:46:55 | [Mutex] received everything. 2023-11-05 22:46:55 | [Mutex] isItemNotified: received:node:6919fb89-150c-42eb-9cf4-17a848336a18:localhost:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:Node 7f16b45b-4d52-430b-870b-8e98f7cd1ef1 :: true 2023-11-05 22:46:55 | [Mutex] waiting for: [received:nodes:321afdde-2476-4be9-85c9-f740ae6bb07b:localhost] 2023-11-05 22:46:55 | [Mutex] waiting for: [received:nodes:321afdde-2476-4be9-85c9-f740ae6bb07b:localhost] 2023-11-05 22:46:55 | [Mutex] waiting for: [received:nodes:321afdde-2476-4be9-85c9-f740ae6bb07b:localhost] 2023-11-05 22:46:55 | [Mutex] waiting for: [received:nodes:321afdde-2476-4be9-85c9-f740ae6bb07b:localhost] 2023-11-05 22:46:55 | [Mutex] received everything. 2023-11-05 22:46:55 | [Mutex] isItemNotified: received:node:321afdde-2476-4be9-85c9-f740ae6bb07b:localhost:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:Node 7f16b45b-4d52-430b-870b-8e98f7cd1ef1 :: false |
createNodes | 1.416s |
2023-11-05 22:46:52 |
2023-11-05 22:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:52 | ------------------------------------ 2023-11-05 22:46:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7f16b45b-4d52-430b-870b-8e98f7cd1ef1</title></pubsub></data> 2023-11-05 22:46:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:46:53 | [Mutex] waiting for: [received:nodes:37fa732f-4919-4a90-a1a2-db3e122cfe65:localhost] 2023-11-05 22:46:53 | [Mutex] waiting for: [received:nodes:37fa732f-4919-4a90-a1a2-db3e122cfe65:localhost] 2023-11-05 22:46:53 | [Mutex] waiting for: [received:nodes:37fa732f-4919-4a90-a1a2-db3e122cfe65:localhost] 2023-11-05 22:46:53 | [Mutex] waiting for: [received:nodes:37fa732f-4919-4a90-a1a2-db3e122cfe65:localhost] 2023-11-05 22:46:53 | [Mutex] received everything. 2023-11-05 22:46:53 | [Mutex] isItemNotified: received:node:37fa732f-4919-4a90-a1a2-db3e122cfe65:localhost:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:Node 7f16b45b-4d52-430b-870b-8e98f7cd1ef1 :: true |
createSubnodes | 1.022s |
2023-11-05 22:46:53 |
2023-11-05 22:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:53 | ------------------------------------ 2023-11-05 22:46:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-75804df9-1370-4732-ad61-30982f97b825</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 75804df9-1370-4732-ad61-30982f97b825</title></pubsub></data> 2023-11-05 22:46:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:46:54 | [Mutex] waiting for: [received:nodes:6799fd6f-ec3b-458a-b53c-89de023eff7d:localhost] 2023-11-05 22:46:54 | [Mutex] waiting for: [received:nodes:6799fd6f-ec3b-458a-b53c-89de023eff7d:localhost] 2023-11-05 22:46:54 | [Mutex] waiting for: [received:nodes:6799fd6f-ec3b-458a-b53c-89de023eff7d:localhost] 2023-11-05 22:46:54 | [Mutex] waiting for: [received:nodes:6799fd6f-ec3b-458a-b53c-89de023eff7d:localhost] 2023-11-05 22:46:54 | [Mutex] waiting for: [received:nodes:6799fd6f-ec3b-458a-b53c-89de023eff7d:localhost] 2023-11-05 22:46:54 | [Mutex] received everything. 2023-11-05 22:46:54 | [Mutex] isItemNotified: received:node:6799fd6f-ec3b-458a-b53c-89de023eff7d:localhost:node-75804df9-1370-4732-ad61-30982f97b825:Node 75804df9-1370-4732-ad61-30982f97b825 :: true |
deleteNodes | 1.016s |
2023-11-05 22:46:59 |
2023-11-05 22:46:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:59 | ------------------------------------ 2023-11-05 22:46:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-75804df9-1370-4732-ad61-30982f97b825</node></data> 2023-11-05 22:47:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:47:01 | [Mutex] waiting for: [received:nodes:00904b17-0230-4306-98c2-8fe1df6aeed4:localhost] 2023-11-05 22:47:01 | [Mutex] waiting for: [received:nodes:00904b17-0230-4306-98c2-8fe1df6aeed4:localhost] 2023-11-05 22:47:01 | [Mutex] waiting for: [received:nodes:00904b17-0230-4306-98c2-8fe1df6aeed4:localhost] 2023-11-05 22:47:01 | [Mutex] received everything. 2023-11-05 22:47:01 | [Mutex] isItemNotified: received:node:00904b17-0230-4306-98c2-8fe1df6aeed4:localhost:node-75804df9-1370-4732-ad61-30982f97b825:Node 75804df9-1370-4732-ad61-30982f97b825 :: false |
deleteSubnodes | 1.114s |
2023-11-05 22:46:58 |
2023-11-05 22:46:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:58 | ------------------------------------ 2023-11-05 22:46:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node></data> 2023-11-05 22:46:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:46:59 | [Mutex] waiting for: [received:nodes:609ba34f-e6d1-4158-aba7-9aa8c082ab69:localhost] 2023-11-05 22:46:59 | [Mutex] waiting for: [received:nodes:609ba34f-e6d1-4158-aba7-9aa8c082ab69:localhost] 2023-11-05 22:46:59 | [Mutex] waiting for: [received:nodes:609ba34f-e6d1-4158-aba7-9aa8c082ab69:localhost] 2023-11-05 22:46:59 | [Mutex] waiting for: [received:nodes:609ba34f-e6d1-4158-aba7-9aa8c082ab69:localhost] 2023-11-05 22:46:59 | [Mutex] received everything. 2023-11-05 22:46:59 | [Mutex] isItemNotified: received:node:609ba34f-e6d1-4158-aba7-9aa8c082ab69:localhost:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:Node 7f16b45b-4d52-430b-870b-8e98f7cd1ef1 :: false 2023-11-05 22:46:59 | [Mutex] waiting for: [received:nodes:a7155ab9-f927-42b5-91b1-8d6cd5104908:localhost] 2023-11-05 22:46:59 | [Mutex] received everything. 2023-11-05 22:46:59 | [Mutex] isItemNotified: received:node:a7155ab9-f927-42b5-91b1-8d6cd5104908:localhost:node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1:Node 7f16b45b-4d52-430b-870b-8e98f7cd1ef1 :: false |
publishItemsToNodes | 0.255s |
2023-11-05 22:46:56 |
2023-11-05 22:46:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:56 | ------------------------------------ 2023-11-05 22:46:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node><item-id>item-bc445931-979f-40b1-9fec-8e0b3ff96d1f</item-id><entry><test>item-bc445931-979f-40b1-9fec-8e0b3ff96d1f</test></entry></data> 2023-11-05 22:46:57 | 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-bc445931-979f-40b1-9fec-8e0b3ff96d1f</value></item-id></result> 2023-11-05 22:46:57 | [Mutex] waiting for: [published:item:notifieditem-bc445931-979f-40b1-9fec-8e0b3ff96d1f:admin@test-domain.com] 2023-11-05 22:46:57 | [Mutex] received everything. 2023-11-05 22:46:57 | [Mutex] isItemNotified: published:item:notifieditem-bc445931-979f-40b1-9fec-8e0b3ff96d1f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.261s |
2023-11-05 22:46:57 |
2023-11-05 22:46:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:57 | ------------------------------------ 2023-11-05 22:46:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node><item-id>item-bc445931-979f-40b1-9fec-8e0b3ff96d1f</item-id></data> 2023-11-05 22:46:57 | 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-bc445931-979f-40b1-9fec-8e0b3ff96d1f</value></item-id></result> 2023-11-05 22:46:57 | [Mutex] received everything. 2023-11-05 22:46:57 | [Mutex] isItemNotified: retracted:item:notifieditem-bc445931-979f-40b1-9fec-8e0b3ff96d1f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.197s |
2023-11-05 22:46:57 |
2023-11-05 22:46:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:57 | ------------------------------------ 2023-11-05 22:46:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node><item-id>item-bc445931-979f-40b1-9fec-8e0b3ff96d1f</item-id></data> 2023-11-05 22:46:57 | 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-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</value></node><item-id label="Item ID" type="text-single"><value>item-bc445931-979f-40b1-9fec-8e0b3ff96d1f</value></item-id><item label="Item" type="text-multi"><value><item id="item-bc445931-979f-40b1-9fec-8e0b3ff96d1f"><test>item-bc445931-979f-40b1-9fec-8e0b3ff96d1f</test></item></value></item></result> 2023-11-05 22:46:57 | [Mutex] notify: [retrieved:item:item-bc445931-979f-40b1-9fec-8e0b3ff96d1f:payload-matches:true:localhost] 2023-11-05 22:46:57 | [Mutex] received everything. 2023-11-05 22:46:57 | [Mutex] isItemNotified: retrieved:item:item-bc445931-979f-40b1-9fec-8e0b3ff96d1f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-11-05 22:46:57 |
2023-11-05 22:46:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:57 | ------------------------------------ 2023-11-05 22:46:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-11-05 22:46:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-75804df9-1370-4732-ad61-30982f97b825</value><value>test</value><value>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-11-05 22:46:57 |
2023-11-05 22:46:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:57 | ------------------------------------ 2023-11-05 22:46:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1)</node-pattern></data> 2023-11-05 22:46:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.172s |
2023-11-05 22:46:55 |
2023-11-05 22:46:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:55 | ------------------------------------ 2023-11-05 22:46:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 22:46:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.186s |
2023-11-05 22:46:57 |
2023-11-05 22:46:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:46:57 | ------------------------------------ 2023-11-05 22:46:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7f16b45b-4d52-430b-870b-8e98f7cd1ef1</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 22:46:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |