Test duration : 9.496s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2022-06-12 22:42:16 |
2022-06-12 22:42:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:16 | ------------------------------------ 2022-06-12 22:42:16 | [Mutex] waiting for: [configured:node:node-b7fc2244-031f-44b0-a613-6771a974e349:node-c43675ee-3aef-4a96-82b5-11e4c69009f3] 2022-06-12 22:42:16 | [Mutex] received everything. 2022-06-12 22:42:16 | [Mutex] isItemNotified: configured:node:node-b7fc2244-031f-44b0-a613-6771a974e349:node-c43675ee-3aef-4a96-82b5-11e4c69009f3 :: true 2022-06-12 22:42:17 | [Mutex] waiting for: [received:nodes:0961bf3c-8153-4a3f-8d01-845577712279:localhost] 2022-06-12 22:42:17 | [Mutex] received everything. 2022-06-12 22:42:17 | [Mutex] isItemNotified: received:node:0961bf3c-8153-4a3f-8d01-845577712279:localhost:node-b7fc2244-031f-44b0-a613-6771a974e349:Node b7fc2244-031f-44b0-a613-6771a974e349 :: true 2022-06-12 22:42:17 | [Mutex] waiting for: [received:nodes:d1d18115-ddec-4d1e-b913-64615309c874:localhost] 2022-06-12 22:42:17 | [Mutex] received everything. 2022-06-12 22:42:17 | [Mutex] isItemNotified: received:node:d1d18115-ddec-4d1e-b913-64615309c874:localhost:node-b7fc2244-031f-44b0-a613-6771a974e349:Node b7fc2244-031f-44b0-a613-6771a974e349 :: false |
createNodes | 1.356s |
2022-06-12 22:42:14 |
2022-06-12 22:42:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:14 | ------------------------------------ 2022-06-12 22:42:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b7fc2244-031f-44b0-a613-6771a974e349</title></pubsub></data> 2022-06-12 22:42:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:42:15 | [Mutex] waiting for: [received:nodes:aded9b8b-ebb6-4228-bfb4-7343850cf670:localhost] 2022-06-12 22:42:15 | [Mutex] received everything. 2022-06-12 22:42:15 | [Mutex] isItemNotified: received:node:aded9b8b-ebb6-4228-bfb4-7343850cf670:localhost:node-b7fc2244-031f-44b0-a613-6771a974e349:Node b7fc2244-031f-44b0-a613-6771a974e349 :: true |
createSubnodes | 1.041s |
2022-06-12 22:42:15 |
2022-06-12 22:42:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:15 | ------------------------------------ 2022-06-12 22:42:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c43675ee-3aef-4a96-82b5-11e4c69009f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c43675ee-3aef-4a96-82b5-11e4c69009f3</title></pubsub></data> 2022-06-12 22:42:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:42:16 | [Mutex] waiting for: [received:nodes:a4c16181-27e5-4b11-a126-84cfe2328e44:localhost] 2022-06-12 22:42:16 | [Mutex] received everything. 2022-06-12 22:42:16 | [Mutex] isItemNotified: received:node:a4c16181-27e5-4b11-a126-84cfe2328e44:localhost:node-c43675ee-3aef-4a96-82b5-11e4c69009f3:Node c43675ee-3aef-4a96-82b5-11e4c69009f3 :: true |
deleteNodes | 1.022s |
2022-06-12 22:42:21 |
2022-06-12 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:21 | ------------------------------------ 2022-06-12 22:42:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c43675ee-3aef-4a96-82b5-11e4c69009f3</node></data> 2022-06-12 22:42:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:42:22 | [Mutex] waiting for: [received:nodes:e86c0193-0612-4f63-95b1-5dd95acd1454:localhost] 2022-06-12 22:42:22 | [Mutex] received everything. 2022-06-12 22:42:22 | [Mutex] isItemNotified: received:node:e86c0193-0612-4f63-95b1-5dd95acd1454:localhost:node-c43675ee-3aef-4a96-82b5-11e4c69009f3:Node c43675ee-3aef-4a96-82b5-11e4c69009f3 :: false |
deleteSubnodes | 1.120s |
2022-06-12 22:42:20 |
2022-06-12 22:42:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:20 | ------------------------------------ 2022-06-12 22:42:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node></data> 2022-06-12 22:42:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:42:21 | [Mutex] waiting for: [received:nodes:c70ddc4d-c2f9-4d6d-b328-b51748ba96f1:localhost] 2022-06-12 22:42:21 | [Mutex] received everything. 2022-06-12 22:42:21 | [Mutex] isItemNotified: received:node:c70ddc4d-c2f9-4d6d-b328-b51748ba96f1:localhost:node-b7fc2244-031f-44b0-a613-6771a974e349:Node b7fc2244-031f-44b0-a613-6771a974e349 :: false 2022-06-12 22:42:21 | [Mutex] waiting for: [received:nodes:78de0ad8-3b05-4d7c-9a55-e6177841b4bc:localhost] 2022-06-12 22:42:21 | [Mutex] received everything. 2022-06-12 22:42:21 | [Mutex] isItemNotified: received:node:78de0ad8-3b05-4d7c-9a55-e6177841b4bc:localhost:node-b7fc2244-031f-44b0-a613-6771a974e349:Node b7fc2244-031f-44b0-a613-6771a974e349 :: false |
publishItemsToNodes | 0.265s |
2022-06-12 22:42:18 |
2022-06-12 22:42:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:18 | ------------------------------------ 2022-06-12 22:42:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node><item-id>item-6ef9015d-f173-4f62-b4c4-c3396ff018ae</item-id><entry><test>item-6ef9015d-f173-4f62-b4c4-c3396ff018ae</test></entry></data> 2022-06-12 22:42:18 | 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-6ef9015d-f173-4f62-b4c4-c3396ff018ae</value></item-id></result> 2022-06-12 22:42:18 | [Mutex] received everything. 2022-06-12 22:42:18 | [Mutex] isItemNotified: published:item:notifieditem-6ef9015d-f173-4f62-b4c4-c3396ff018ae:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2022-06-12 22:42:19 |
2022-06-12 22:42:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:19 | ------------------------------------ 2022-06-12 22:42:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node><item-id>item-6ef9015d-f173-4f62-b4c4-c3396ff018ae</item-id></data> 2022-06-12 22:42:19 | 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-6ef9015d-f173-4f62-b4c4-c3396ff018ae</value></item-id></result> 2022-06-12 22:42:19 | [Mutex] received everything. 2022-06-12 22:42:19 | [Mutex] isItemNotified: retracted:item:notifieditem-6ef9015d-f173-4f62-b4c4-c3396ff018ae:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.218s |
2022-06-12 22:42:18 |
2022-06-12 22:42:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:18 | ------------------------------------ 2022-06-12 22:42:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node><item-id>item-6ef9015d-f173-4f62-b4c4-c3396ff018ae</item-id></data> 2022-06-12 22:42:19 | 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-b7fc2244-031f-44b0-a613-6771a974e349</value></node><item-id type="text-single" label="Item ID"><value>item-6ef9015d-f173-4f62-b4c4-c3396ff018ae</value></item-id><item type="text-multi" label="Item"><value><item id="item-6ef9015d-f173-4f62-b4c4-c3396ff018ae"><test>item-6ef9015d-f173-4f62-b4c4-c3396ff018ae</test></item></value></item></result> 2022-06-12 22:42:19 | [Mutex] notify: [retrieved:item:item-6ef9015d-f173-4f62-b4c4-c3396ff018ae:payload-matches:true:localhost] 2022-06-12 22:42:19 | [Mutex] received everything. 2022-06-12 22:42:19 | [Mutex] isItemNotified: retrieved:item:item-6ef9015d-f173-4f62-b4c4-c3396ff018ae:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-06-12 22:42:19 |
2022-06-12 22:42:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:19 | ------------------------------------ 2022-06-12 22:42:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-12 22:42:19 | 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-b7fc2244-031f-44b0-a613-6771a974e349</value><value>node-c43675ee-3aef-4a96-82b5-11e4c69009f3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-06-12 22:42:19 |
2022-06-12 22:42:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:19 | ------------------------------------ 2022-06-12 22:42:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b7fc2244-031f-44b0-a613-6771a974e349)</node-pattern></data> 2022-06-12 22:42:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.137s |
2022-06-12 22:42:17 |
2022-06-12 22:42:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:17 | ------------------------------------ 2022-06-12 22:42:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-12 22:42:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.167s |
2022-06-12 22:42:19 |
2022-06-12 22:42:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:42:19 | ------------------------------------ 2022-06-12 22:42:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b7fc2244-031f-44b0-a613-6771a974e349</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-12 22:42:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |