Test duration : 9.393s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2023-08-25 23:01:40 |
2023-08-25 23:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:40 | ------------------------------------ 2023-08-25 23:01:40 | [Mutex] waiting for: [configured:node:node-dbd92875-e922-45d9-99de-209eaf87aa98:node-af38595d-090a-4885-b9ff-265dba301902] 2023-08-25 23:01:40 | [Mutex] received everything. 2023-08-25 23:01:40 | [Mutex] isItemNotified: configured:node:node-dbd92875-e922-45d9-99de-209eaf87aa98:node-af38595d-090a-4885-b9ff-265dba301902 :: true 2023-08-25 23:01:41 | [Mutex] waiting for: [received:nodes:a6d3ccf8-49df-4acd-a51c-72963096d3cb:localhost] 2023-08-25 23:01:41 | [Mutex] received everything. 2023-08-25 23:01:41 | [Mutex] isItemNotified: received:node:a6d3ccf8-49df-4acd-a51c-72963096d3cb:localhost:node-dbd92875-e922-45d9-99de-209eaf87aa98:Node dbd92875-e922-45d9-99de-209eaf87aa98 :: true 2023-08-25 23:01:41 | [Mutex] waiting for: [received:nodes:0fce33dc-25f3-40db-a609-96f709c2b529:localhost] 2023-08-25 23:01:41 | [Mutex] waiting for: [received:nodes:0fce33dc-25f3-40db-a609-96f709c2b529:localhost] 2023-08-25 23:01:41 | [Mutex] waiting for: [received:nodes:0fce33dc-25f3-40db-a609-96f709c2b529:localhost] 2023-08-25 23:01:41 | [Mutex] waiting for: [received:nodes:0fce33dc-25f3-40db-a609-96f709c2b529:localhost] 2023-08-25 23:01:41 | [Mutex] received everything. 2023-08-25 23:01:41 | [Mutex] isItemNotified: received:node:0fce33dc-25f3-40db-a609-96f709c2b529:localhost:node-dbd92875-e922-45d9-99de-209eaf87aa98:Node dbd92875-e922-45d9-99de-209eaf87aa98 :: false |
createNodes | 1.425s |
2023-08-25 23:01:38 |
2023-08-25 23:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:38 | ------------------------------------ 2023-08-25 23:01:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dbd92875-e922-45d9-99de-209eaf87aa98</title></pubsub></data> 2023-08-25 23:01:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:01:39 | [Mutex] waiting for: [received:nodes:87b2d8a3-63e5-456d-9045-db11ccb42151:localhost] 2023-08-25 23:01:39 | [Mutex] waiting for: [received:nodes:87b2d8a3-63e5-456d-9045-db11ccb42151:localhost] 2023-08-25 23:01:39 | [Mutex] waiting for: [received:nodes:87b2d8a3-63e5-456d-9045-db11ccb42151:localhost] 2023-08-25 23:01:39 | [Mutex] received everything. 2023-08-25 23:01:39 | [Mutex] isItemNotified: received:node:87b2d8a3-63e5-456d-9045-db11ccb42151:localhost:node-dbd92875-e922-45d9-99de-209eaf87aa98:Node dbd92875-e922-45d9-99de-209eaf87aa98 :: true |
createSubnodes | 1.020s |
2023-08-25 23:01:39 |
2023-08-25 23:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:39 | ------------------------------------ 2023-08-25 23:01:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-af38595d-090a-4885-b9ff-265dba301902</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node af38595d-090a-4885-b9ff-265dba301902</title></pubsub></data> 2023-08-25 23:01:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:01:40 | [Mutex] waiting for: [received:nodes:b0e6c3ee-d949-4cfb-8388-c531149226e7:localhost] 2023-08-25 23:01:40 | [Mutex] waiting for: [received:nodes:b0e6c3ee-d949-4cfb-8388-c531149226e7:localhost] 2023-08-25 23:01:40 | [Mutex] waiting for: [received:nodes:b0e6c3ee-d949-4cfb-8388-c531149226e7:localhost] 2023-08-25 23:01:40 | [Mutex] waiting for: [received:nodes:b0e6c3ee-d949-4cfb-8388-c531149226e7:localhost] 2023-08-25 23:01:40 | [Mutex] received everything. 2023-08-25 23:01:40 | [Mutex] isItemNotified: received:node:b0e6c3ee-d949-4cfb-8388-c531149226e7:localhost:node-af38595d-090a-4885-b9ff-265dba301902:Node af38595d-090a-4885-b9ff-265dba301902 :: true |
deleteNodes | 1.055s |
2023-08-25 23:01:45 |
2023-08-25 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:45 | ------------------------------------ 2023-08-25 23:01:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-af38595d-090a-4885-b9ff-265dba301902</node></data> 2023-08-25 23:01:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:01:46 | [Mutex] waiting for: [received:nodes:c83decba-81e8-4c3d-8f75-611d814f0db1:localhost] 2023-08-25 23:01:46 | [Mutex] waiting for: [received:nodes:c83decba-81e8-4c3d-8f75-611d814f0db1:localhost] 2023-08-25 23:01:46 | [Mutex] waiting for: [received:nodes:c83decba-81e8-4c3d-8f75-611d814f0db1:localhost] 2023-08-25 23:01:46 | [Mutex] received everything. 2023-08-25 23:01:46 | [Mutex] isItemNotified: received:node:c83decba-81e8-4c3d-8f75-611d814f0db1:localhost:node-af38595d-090a-4885-b9ff-265dba301902:Node af38595d-090a-4885-b9ff-265dba301902 :: false |
deleteSubnodes | 1.131s |
2023-08-25 23:01:44 |
2023-08-25 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:44 | ------------------------------------ 2023-08-25 23:01:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node></data> 2023-08-25 23:01:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 23:01:45 | [Mutex] waiting for: [received:nodes:68432d56-57e1-4318-acc1-9a73048c45fd:localhost] 2023-08-25 23:01:45 | [Mutex] waiting for: [received:nodes:68432d56-57e1-4318-acc1-9a73048c45fd:localhost] 2023-08-25 23:01:45 | [Mutex] waiting for: [received:nodes:68432d56-57e1-4318-acc1-9a73048c45fd:localhost] 2023-08-25 23:01:45 | [Mutex] waiting for: [received:nodes:68432d56-57e1-4318-acc1-9a73048c45fd:localhost] 2023-08-25 23:01:45 | [Mutex] received everything. 2023-08-25 23:01:45 | [Mutex] isItemNotified: received:node:68432d56-57e1-4318-acc1-9a73048c45fd:localhost:node-dbd92875-e922-45d9-99de-209eaf87aa98:Node dbd92875-e922-45d9-99de-209eaf87aa98 :: false 2023-08-25 23:01:45 | [Mutex] waiting for: [received:nodes:fac3b9da-8a6f-4009-8bb8-fb67762d1b49:localhost] 2023-08-25 23:01:45 | [Mutex] received everything. 2023-08-25 23:01:45 | [Mutex] isItemNotified: received:node:fac3b9da-8a6f-4009-8bb8-fb67762d1b49:localhost:node-dbd92875-e922-45d9-99de-209eaf87aa98:Node dbd92875-e922-45d9-99de-209eaf87aa98 :: false |
publishItemsToNodes | 0.224s |
2023-08-25 23:01:42 |
2023-08-25 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:42 | ------------------------------------ 2023-08-25 23:01:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node><item-id>item-9cf03c88-5860-4650-91a9-c4170e3e1d6f</item-id><entry><test>item-9cf03c88-5860-4650-91a9-c4170e3e1d6f</test></entry></data> 2023-08-25 23:01:42 | 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-9cf03c88-5860-4650-91a9-c4170e3e1d6f</value></item-id></result> 2023-08-25 23:01:42 | [Mutex] waiting for: [published:item:notifieditem-9cf03c88-5860-4650-91a9-c4170e3e1d6f:admin@test-domain.com] 2023-08-25 23:01:42 | [Mutex] received everything. 2023-08-25 23:01:42 | [Mutex] isItemNotified: published:item:notifieditem-9cf03c88-5860-4650-91a9-c4170e3e1d6f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2023-08-25 23:01:43 |
2023-08-25 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:43 | ------------------------------------ 2023-08-25 23:01:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node><item-id>item-9cf03c88-5860-4650-91a9-c4170e3e1d6f</item-id></data> 2023-08-25 23:01:43 | 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-9cf03c88-5860-4650-91a9-c4170e3e1d6f</value></item-id></result> 2023-08-25 23:01:43 | [Mutex] received everything. 2023-08-25 23:01:43 | [Mutex] isItemNotified: retracted:item:notifieditem-9cf03c88-5860-4650-91a9-c4170e3e1d6f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.163s |
2023-08-25 23:01:42 |
2023-08-25 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:42 | ------------------------------------ 2023-08-25 23:01:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node><item-id>item-9cf03c88-5860-4650-91a9-c4170e3e1d6f</item-id></data> 2023-08-25 23:01:43 | 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-dbd92875-e922-45d9-99de-209eaf87aa98</value></node><item-id type="text-single" label="Item ID"><value>item-9cf03c88-5860-4650-91a9-c4170e3e1d6f</value></item-id><item type="text-multi" label="Item"><value><item id="item-9cf03c88-5860-4650-91a9-c4170e3e1d6f"><test>item-9cf03c88-5860-4650-91a9-c4170e3e1d6f</test></item></value></item></result> 2023-08-25 23:01:43 | [Mutex] notify: [retrieved:item:item-9cf03c88-5860-4650-91a9-c4170e3e1d6f:payload-matches:true:localhost] 2023-08-25 23:01:43 | [Mutex] received everything. 2023-08-25 23:01:43 | [Mutex] isItemNotified: retrieved:item:item-9cf03c88-5860-4650-91a9-c4170e3e1d6f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2023-08-25 23:01:43 |
2023-08-25 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:43 | ------------------------------------ 2023-08-25 23:01:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-08-25 23:01:43 | 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-dbd92875-e922-45d9-99de-209eaf87aa98</value><value>node-af38595d-090a-4885-b9ff-265dba301902</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-08-25 23:01:43 |
2023-08-25 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:43 | ------------------------------------ 2023-08-25 23:01:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dbd92875-e922-45d9-99de-209eaf87aa98)</node-pattern></data> 2023-08-25 23:01:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.106s |
2023-08-25 23:01:41 |
2023-08-25 23:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:41 | ------------------------------------ 2023-08-25 23:01:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-25 23:01: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.210s |
2023-08-25 23:01:43 |
2023-08-25 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 23:01:43 | ------------------------------------ 2023-08-25 23:01:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-dbd92875-e922-45d9-99de-209eaf87aa98</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-25 23:01:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |