Test duration : 10.393s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.123s |
2021-12-21 09:21:16 |
2021-12-21 09:21:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:16 | ------------------------------------ 2021-12-21 09:21:16 | [Mutex] waiting for: [configured:node:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:node-a855bbbe-f237-4df4-b785-bca2125ee7e1] 2021-12-21 09:21:16 | [Mutex] received everything. 2021-12-21 09:21:16 | [Mutex] isItemNotified: configured:node:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:node-a855bbbe-f237-4df4-b785-bca2125ee7e1 :: true 2021-12-21 09:21:17 | [Mutex] waiting for: [received:nodes:be5f2a09-16f9-416f-87a9-93ef0ce1dd1f:localhost] 2021-12-21 09:21:17 | [Mutex] waiting for: [received:nodes:be5f2a09-16f9-416f-87a9-93ef0ce1dd1f:localhost] 2021-12-21 09:21:17 | [Mutex] received everything. 2021-12-21 09:21:17 | [Mutex] isItemNotified: received:node:be5f2a09-16f9-416f-87a9-93ef0ce1dd1f:localhost:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:Node bb8a9306-b5dd-48a6-82ca-666bb324e7a0 :: true 2021-12-21 09:21:17 | [Mutex] waiting for: [received:nodes:dc515bfa-f948-400e-860d-f182bdd7bcd9:localhost] 2021-12-21 09:21:17 | [Mutex] waiting for: [received:nodes:dc515bfa-f948-400e-860d-f182bdd7bcd9:localhost] 2021-12-21 09:21:17 | [Mutex] waiting for: [received:nodes:dc515bfa-f948-400e-860d-f182bdd7bcd9:localhost] 2021-12-21 09:21:17 | [Mutex] waiting for: [received:nodes:dc515bfa-f948-400e-860d-f182bdd7bcd9:localhost] 2021-12-21 09:21:17 | [Mutex] received everything. 2021-12-21 09:21:17 | [Mutex] isItemNotified: received:node:dc515bfa-f948-400e-860d-f182bdd7bcd9:localhost:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:Node bb8a9306-b5dd-48a6-82ca-666bb324e7a0 :: false |
createNodes | 1.598s |
2021-12-21 09:21:13 |
2021-12-21 09:21:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:13 | ------------------------------------ 2021-12-21 09:21:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bb8a9306-b5dd-48a6-82ca-666bb324e7a0</title></pubsub></data> 2021-12-21 09:21:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-21 09:21:15 | [Mutex] waiting for: [received:nodes:fece9e91-90f8-468f-a4ae-a4ab0c40abed:localhost] 2021-12-21 09:21:15 | [Mutex] waiting for: [received:nodes:fece9e91-90f8-468f-a4ae-a4ab0c40abed:localhost] 2021-12-21 09:21:15 | [Mutex] waiting for: [received:nodes:fece9e91-90f8-468f-a4ae-a4ab0c40abed:localhost] 2021-12-21 09:21:15 | [Mutex] received everything. 2021-12-21 09:21:15 | [Mutex] isItemNotified: received:node:fece9e91-90f8-468f-a4ae-a4ab0c40abed:localhost:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:Node bb8a9306-b5dd-48a6-82ca-666bb324e7a0 :: true |
createSubnodes | 1.034s |
2021-12-21 09:21:15 |
2021-12-21 09:21:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:15 | ------------------------------------ 2021-12-21 09:21:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a855bbbe-f237-4df4-b785-bca2125ee7e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a855bbbe-f237-4df4-b785-bca2125ee7e1</title></pubsub></data> 2021-12-21 09:21:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-21 09:21:16 | [Mutex] waiting for: [received:nodes:d0d10620-2d8c-4d66-ae7c-410ad08b8240:localhost] 2021-12-21 09:21:16 | [Mutex] received everything. 2021-12-21 09:21:16 | [Mutex] isItemNotified: received:node:d0d10620-2d8c-4d66-ae7c-410ad08b8240:localhost:node-a855bbbe-f237-4df4-b785-bca2125ee7e1:Node a855bbbe-f237-4df4-b785-bca2125ee7e1 :: true |
deleteNodes | 1.018s |
2021-12-21 09:21:22 |
2021-12-21 09:21:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:22 | ------------------------------------ 2021-12-21 09:21:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a855bbbe-f237-4df4-b785-bca2125ee7e1</node></data> 2021-12-21 09:21:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-21 09:21:23 | [Mutex] waiting for: [received:nodes:bff5b70d-8521-449d-8b53-eec3d060a868:localhost] 2021-12-21 09:21:23 | [Mutex] received everything. 2021-12-21 09:21:23 | [Mutex] isItemNotified: received:node:bff5b70d-8521-449d-8b53-eec3d060a868:localhost:node-a855bbbe-f237-4df4-b785-bca2125ee7e1:Node a855bbbe-f237-4df4-b785-bca2125ee7e1 :: false |
deleteSubnodes | 1.169s |
2021-12-21 09:21:21 |
2021-12-21 09:21:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:21 | ------------------------------------ 2021-12-21 09:21:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node></data> 2021-12-21 09:21:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-21 09:21:22 | [Mutex] waiting for: [received:nodes:0c324368-3331-446a-90d1-e61a54b7999e:localhost] 2021-12-21 09:21:22 | [Mutex] waiting for: [received:nodes:0c324368-3331-446a-90d1-e61a54b7999e:localhost] 2021-12-21 09:21:22 | [Mutex] waiting for: [received:nodes:0c324368-3331-446a-90d1-e61a54b7999e:localhost] 2021-12-21 09:21:22 | [Mutex] received everything. 2021-12-21 09:21:22 | [Mutex] isItemNotified: received:node:0c324368-3331-446a-90d1-e61a54b7999e:localhost:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:Node bb8a9306-b5dd-48a6-82ca-666bb324e7a0 :: false 2021-12-21 09:21:22 | [Mutex] waiting for: [received:nodes:ecf58b13-7c2e-4e54-b37e-967b75947c4b:localhost] 2021-12-21 09:21:22 | [Mutex] received everything. 2021-12-21 09:21:22 | [Mutex] isItemNotified: received:node:ecf58b13-7c2e-4e54-b37e-967b75947c4b:localhost:node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0:Node bb8a9306-b5dd-48a6-82ca-666bb324e7a0 :: false |
publishItemsToNodes | 0.263s |
2021-12-21 09:21:18 |
2021-12-21 09:21:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:18 | ------------------------------------ 2021-12-21 09:21:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node><item-id>item-170c88c4-e66d-4fb3-9341-2cc713dafd54</item-id><entry><test>item-170c88c4-e66d-4fb3-9341-2cc713dafd54</test></entry></data> 2021-12-21 09:21:19 | 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-170c88c4-e66d-4fb3-9341-2cc713dafd54</value></item-id></result> 2021-12-21 09:21:19 | [Mutex] received everything. 2021-12-21 09:21:19 | [Mutex] isItemNotified: published:item:notifieditem-170c88c4-e66d-4fb3-9341-2cc713dafd54:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2021-12-21 09:21:19 |
2021-12-21 09:21:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:19 | ------------------------------------ 2021-12-21 09:21:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node><item-id>item-170c88c4-e66d-4fb3-9341-2cc713dafd54</item-id></data> 2021-12-21 09:21:19 | 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-170c88c4-e66d-4fb3-9341-2cc713dafd54</value></item-id></result> 2021-12-21 09:21:19 | [Mutex] received everything. 2021-12-21 09:21:19 | [Mutex] isItemNotified: retracted:item:notifieditem-170c88c4-e66d-4fb3-9341-2cc713dafd54:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.371s |
2021-12-21 09:21:19 |
2021-12-21 09:21:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:19 | ------------------------------------ 2021-12-21 09:21:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node><item-id>item-170c88c4-e66d-4fb3-9341-2cc713dafd54</item-id></data> 2021-12-21 09:21:19 | 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-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</value></node><item-id label="Item ID" type="text-single"><value>item-170c88c4-e66d-4fb3-9341-2cc713dafd54</value></item-id><item label="Item" type="text-multi"><value><item id="item-170c88c4-e66d-4fb3-9341-2cc713dafd54"><test>item-170c88c4-e66d-4fb3-9341-2cc713dafd54</test></item></value></item></result> 2021-12-21 09:21:19 | [Mutex] notify: [retrieved:item:item-170c88c4-e66d-4fb3-9341-2cc713dafd54:payload-matches:true:localhost] 2021-12-21 09:21:19 | [Mutex] received everything. 2021-12-21 09:21:19 | [Mutex] isItemNotified: retrieved:item:item-170c88c4-e66d-4fb3-9341-2cc713dafd54:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-12-21 09:21:19 |
2021-12-21 09:21:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:19 | ------------------------------------ 2021-12-21 09:21:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-12-21 09:21:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</value><value>test</value><value>node-a855bbbe-f237-4df4-b785-bca2125ee7e1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-12-21 09:21:19 |
2021-12-21 09:21:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:19 | ------------------------------------ 2021-12-21 09:21: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-bb8a9306-b5dd-48a6-82ca-666bb324e7a0)</node-pattern></data> 2021-12-21 09:21:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.159s |
2021-12-21 09:21:17 |
2021-12-21 09:21:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:17 | ------------------------------------ 2021-12-21 09:21:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-21 09:21: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.299s |
2021-12-21 09:21:19 |
2021-12-21 09:21:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-21 09:21:19 | ------------------------------------ 2021-12-21 09:21:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bb8a9306-b5dd-48a6-82ca-666bb324e7a0</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-21 09:21:20 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |