Test duration : 9.577s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-08-16 22:54:10 |
2022-08-16 22:54:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:10 | ------------------------------------ 2022-08-16 22:54:10 | [Mutex] waiting for: [configured:node:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:node-7d50aafd-88be-4b0b-82bf-66f9979c1014] 2022-08-16 22:54:10 | [Mutex] received everything. 2022-08-16 22:54:10 | [Mutex] isItemNotified: configured:node:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:node-7d50aafd-88be-4b0b-82bf-66f9979c1014 :: true 2022-08-16 22:54:11 | [Mutex] waiting for: [received:nodes:fea695d4-9fa4-439c-8252-a8bcce0e4e6d:localhost] 2022-08-16 22:54:11 | [Mutex] received everything. 2022-08-16 22:54:11 | [Mutex] isItemNotified: received:node:fea695d4-9fa4-439c-8252-a8bcce0e4e6d:localhost:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:Node 7559cdc7-f4ca-4507-8538-fb2fabb0c5c6 :: true 2022-08-16 22:54:11 | [Mutex] waiting for: [received:nodes:4c909300-4bc8-4884-bf01-c07af8e7502a:localhost] 2022-08-16 22:54:11 | [Mutex] waiting for: [received:nodes:4c909300-4bc8-4884-bf01-c07af8e7502a:localhost] 2022-08-16 22:54:11 | [Mutex] waiting for: [received:nodes:4c909300-4bc8-4884-bf01-c07af8e7502a:localhost] 2022-08-16 22:54:11 | [Mutex] received everything. 2022-08-16 22:54:11 | [Mutex] isItemNotified: received:node:4c909300-4bc8-4884-bf01-c07af8e7502a:localhost:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:Node 7559cdc7-f4ca-4507-8538-fb2fabb0c5c6 :: false |
createNodes | 1.477s |
2022-08-16 22:54:07 |
2022-08-16 22:54:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:07 | ------------------------------------ 2022-08-16 22:54:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</title></pubsub></data> 2022-08-16 22:54:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-16 22:54:09 | [Mutex] waiting for: [received:nodes:f85479f8-31ff-49c8-b7d1-80aa988e534f:localhost] 2022-08-16 22:54:09 | [Mutex] received everything. 2022-08-16 22:54:09 | [Mutex] isItemNotified: received:node:f85479f8-31ff-49c8-b7d1-80aa988e534f:localhost:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:Node 7559cdc7-f4ca-4507-8538-fb2fabb0c5c6 :: true |
createSubnodes | 1.022s |
2022-08-16 22:54:09 |
2022-08-16 22:54:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:09 | ------------------------------------ 2022-08-16 22:54:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7d50aafd-88be-4b0b-82bf-66f9979c1014</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7d50aafd-88be-4b0b-82bf-66f9979c1014</title></pubsub></data> 2022-08-16 22:54:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-16 22:54:10 | [Mutex] waiting for: [received:nodes:0577464a-e566-44fa-a1ae-fd3f80ea8475:localhost] 2022-08-16 22:54:10 | [Mutex] received everything. 2022-08-16 22:54:10 | [Mutex] isItemNotified: received:node:0577464a-e566-44fa-a1ae-fd3f80ea8475:localhost:node-7d50aafd-88be-4b0b-82bf-66f9979c1014:Node 7d50aafd-88be-4b0b-82bf-66f9979c1014 :: true |
deleteNodes | 1.021s |
2022-08-16 22:54:15 |
2022-08-16 22:54:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:15 | ------------------------------------ 2022-08-16 22:54:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7d50aafd-88be-4b0b-82bf-66f9979c1014</node></data> 2022-08-16 22:54:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-16 22:54:16 | [Mutex] waiting for: [received:nodes:2a20b031-046c-48cb-aaa6-cb8627620661:localhost] 2022-08-16 22:54:16 | [Mutex] waiting for: [received:nodes:2a20b031-046c-48cb-aaa6-cb8627620661:localhost] 2022-08-16 22:54:16 | [Mutex] received everything. 2022-08-16 22:54:16 | [Mutex] isItemNotified: received:node:2a20b031-046c-48cb-aaa6-cb8627620661:localhost:node-7d50aafd-88be-4b0b-82bf-66f9979c1014:Node 7d50aafd-88be-4b0b-82bf-66f9979c1014 :: false |
deleteSubnodes | 1.130s |
2022-08-16 22:54:14 |
2022-08-16 22:54:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:14 | ------------------------------------ 2022-08-16 22:54:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node></data> 2022-08-16 22:54:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-16 22:54:15 | [Mutex] waiting for: [received:nodes:8619a6a3-5dad-4c9d-845f-928065ba1bd3:localhost] 2022-08-16 22:54:15 | [Mutex] waiting for: [received:nodes:8619a6a3-5dad-4c9d-845f-928065ba1bd3:localhost] 2022-08-16 22:54:15 | [Mutex] waiting for: [received:nodes:8619a6a3-5dad-4c9d-845f-928065ba1bd3:localhost] 2022-08-16 22:54:15 | [Mutex] waiting for: [received:nodes:8619a6a3-5dad-4c9d-845f-928065ba1bd3:localhost] 2022-08-16 22:54:15 | [Mutex] received everything. 2022-08-16 22:54:15 | [Mutex] isItemNotified: received:node:8619a6a3-5dad-4c9d-845f-928065ba1bd3:localhost:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:Node 7559cdc7-f4ca-4507-8538-fb2fabb0c5c6 :: false 2022-08-16 22:54:15 | [Mutex] waiting for: [received:nodes:cf693245-70b8-4667-9926-e27235a721da:localhost] 2022-08-16 22:54:15 | [Mutex] received everything. 2022-08-16 22:54:15 | [Mutex] isItemNotified: received:node:cf693245-70b8-4667-9926-e27235a721da:localhost:node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6:Node 7559cdc7-f4ca-4507-8538-fb2fabb0c5c6 :: false |
publishItemsToNodes | 0.236s |
2022-08-16 22:54:12 |
2022-08-16 22:54:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:12 | ------------------------------------ 2022-08-16 22:54:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node><item-id>item-1c579616-b9d3-4e9c-a1d8-820e84508802</item-id><entry><test>item-1c579616-b9d3-4e9c-a1d8-820e84508802</test></entry></data> 2022-08-16 22:54:12 | 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-1c579616-b9d3-4e9c-a1d8-820e84508802</value></item-id></result> 2022-08-16 22:54:12 | [Mutex] waiting for: [published:item:notifieditem-1c579616-b9d3-4e9c-a1d8-820e84508802:admin@test-domain.com] 2022-08-16 22:54:12 | [Mutex] received everything. 2022-08-16 22:54:12 | [Mutex] isItemNotified: published:item:notifieditem-1c579616-b9d3-4e9c-a1d8-820e84508802:admin@test-domain.com :: true |
retractItemsFromNodes | 0.290s |
2022-08-16 22:54:12 |
2022-08-16 22:54:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:12 | ------------------------------------ 2022-08-16 22:54:12 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node><item-id>item-1c579616-b9d3-4e9c-a1d8-820e84508802</item-id></data> 2022-08-16 22:54:13 | 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-1c579616-b9d3-4e9c-a1d8-820e84508802</value></item-id></result> 2022-08-16 22:54:13 | [Mutex] waiting for: [retracted:item:notifieditem-1c579616-b9d3-4e9c-a1d8-820e84508802:admin@test-domain.com] 2022-08-16 22:54:13 | [Mutex] received everything. 2022-08-16 22:54:13 | [Mutex] isItemNotified: retracted:item:notifieditem-1c579616-b9d3-4e9c-a1d8-820e84508802:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.254s |
2022-08-16 22:54:12 |
2022-08-16 22:54:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:12 | ------------------------------------ 2022-08-16 22:54:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node><item-id>item-1c579616-b9d3-4e9c-a1d8-820e84508802</item-id></data> 2022-08-16 22:54:12 | 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-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</value></node><item-id type="text-single" label="Item ID"><value>item-1c579616-b9d3-4e9c-a1d8-820e84508802</value></item-id><item type="text-multi" label="Item"><value><item id="item-1c579616-b9d3-4e9c-a1d8-820e84508802"><test>item-1c579616-b9d3-4e9c-a1d8-820e84508802</test></item></value></item></result> 2022-08-16 22:54:12 | [Mutex] notify: [retrieved:item:item-1c579616-b9d3-4e9c-a1d8-820e84508802:payload-matches:true:localhost] 2022-08-16 22:54:12 | [Mutex] received everything. 2022-08-16 22:54:12 | [Mutex] isItemNotified: retrieved:item:item-1c579616-b9d3-4e9c-a1d8-820e84508802:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-16 22:54:12 |
2022-08-16 22:54:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:12 | ------------------------------------ 2022-08-16 22:54:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-16 22:54:12 | 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-7d50aafd-88be-4b0b-82bf-66f9979c1014</value><value>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-08-16 22:54:12 |
2022-08-16 22:54:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:12 | ------------------------------------ 2022-08-16 22:54:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6)</node-pattern></data> 2022-08-16 22:54:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.145s |
2022-08-16 22:54:11 |
2022-08-16 22:54:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:11 | ------------------------------------ 2022-08-16 22:54:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-16 22:54:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.213s |
2022-08-16 22:54:13 |
2022-08-16 22:54:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-16 22:54:13 | ------------------------------------ 2022-08-16 22:54:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7559cdc7-f4ca-4507-8538-fb2fabb0c5c6</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-16 22:54:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |