Test duration : 10.490s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-02-03 21:45:35 |
2022-02-03 21:45:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:35 | ------------------------------------ 2022-02-03 21:45:35 | [Mutex] waiting for: [configured:node:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:node-9eaf4ae0-3604-4840-80ef-1f4185571e27] 2022-02-03 21:45:36 | [Mutex] received everything. 2022-02-03 21:45:36 | [Mutex] isItemNotified: configured:node:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:node-9eaf4ae0-3604-4840-80ef-1f4185571e27 :: true 2022-02-03 21:45:37 | [Mutex] waiting for: [received:nodes:a2d1325e-54b5-4dc5-b1ac-018257411596:localhost] 2022-02-03 21:45:37 | [Mutex] received everything. 2022-02-03 21:45:37 | [Mutex] isItemNotified: received:node:a2d1325e-54b5-4dc5-b1ac-018257411596:localhost:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:Node 3e9a619e-367b-49aa-b8aa-23cc687f8854 :: true 2022-02-03 21:45:37 | [Mutex] waiting for: [received:nodes:d02dd581-0929-4b5e-8c11-6b3a5fa5fd4a:localhost] 2022-02-03 21:45:37 | [Mutex] received everything. 2022-02-03 21:45:37 | [Mutex] isItemNotified: received:node:d02dd581-0929-4b5e-8c11-6b3a5fa5fd4a:localhost:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:Node 3e9a619e-367b-49aa-b8aa-23cc687f8854 :: false |
createNodes | 1.704s |
2022-02-03 21:45:33 |
2022-02-03 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:33 | ------------------------------------ 2022-02-03 21:45:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e9a619e-367b-49aa-b8aa-23cc687f8854</title></pubsub></data> 2022-02-03 21:45:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:45:34 | [Mutex] waiting for: [received:nodes:86c3d6a3-7447-4f44-8d14-83aaa5c4e366:localhost] 2022-02-03 21:45:34 | [Mutex] received everything. 2022-02-03 21:45:34 | [Mutex] isItemNotified: received:node:86c3d6a3-7447-4f44-8d14-83aaa5c4e366:localhost:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:Node 3e9a619e-367b-49aa-b8aa-23cc687f8854 :: true |
createSubnodes | 1.033s |
2022-02-03 21:45:34 |
2022-02-03 21:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:34 | ------------------------------------ 2022-02-03 21:45:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9eaf4ae0-3604-4840-80ef-1f4185571e27</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9eaf4ae0-3604-4840-80ef-1f4185571e27</title></pubsub></data> 2022-02-03 21:45:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:45:35 | [Mutex] waiting for: [received:nodes:1d033d92-8418-45de-9f42-5bc7a4bea03e:localhost] 2022-02-03 21:45:35 | [Mutex] received everything. 2022-02-03 21:45:35 | [Mutex] isItemNotified: received:node:1d033d92-8418-45de-9f42-5bc7a4bea03e:localhost:node-9eaf4ae0-3604-4840-80ef-1f4185571e27:Node 9eaf4ae0-3604-4840-80ef-1f4185571e27 :: true |
deleteNodes | 1.024s |
2022-02-03 21:45:41 |
2022-02-03 21:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:41 | ------------------------------------ 2022-02-03 21:45:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9eaf4ae0-3604-4840-80ef-1f4185571e27</node></data> 2022-02-03 21:45:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:45:42 | [Mutex] waiting for: [received:nodes:37b4da3f-02ae-4116-9fb3-a044b9f9ec11:localhost] 2022-02-03 21:45:42 | [Mutex] waiting for: [received:nodes:37b4da3f-02ae-4116-9fb3-a044b9f9ec11:localhost] 2022-02-03 21:45:42 | [Mutex] received everything. 2022-02-03 21:45:42 | [Mutex] isItemNotified: received:node:37b4da3f-02ae-4116-9fb3-a044b9f9ec11:localhost:node-9eaf4ae0-3604-4840-80ef-1f4185571e27:Node 9eaf4ae0-3604-4840-80ef-1f4185571e27 :: false |
deleteSubnodes | 1.187s |
2022-02-03 21:45:40 |
2022-02-03 21:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:40 | ------------------------------------ 2022-02-03 21:45:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node></data> 2022-02-03 21:45:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:45:41 | [Mutex] waiting for: [received:nodes:c194f8ce-07fe-44e7-8551-c35bc78438db:localhost] 2022-02-03 21:45:41 | [Mutex] waiting for: [received:nodes:c194f8ce-07fe-44e7-8551-c35bc78438db:localhost] 2022-02-03 21:45:41 | [Mutex] received everything. 2022-02-03 21:45:41 | [Mutex] isItemNotified: received:node:c194f8ce-07fe-44e7-8551-c35bc78438db:localhost:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:Node 3e9a619e-367b-49aa-b8aa-23cc687f8854 :: false 2022-02-03 21:45:41 | [Mutex] waiting for: [received:nodes:2b0b93d8-24e9-430b-b670-3c55e0080bec:localhost] 2022-02-03 21:45:41 | [Mutex] received everything. 2022-02-03 21:45:41 | [Mutex] isItemNotified: received:node:2b0b93d8-24e9-430b-b670-3c55e0080bec:localhost:node-3e9a619e-367b-49aa-b8aa-23cc687f8854:Node 3e9a619e-367b-49aa-b8aa-23cc687f8854 :: false |
publishItemsToNodes | 0.313s |
2022-02-03 21:45:38 |
2022-02-03 21:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:38 | ------------------------------------ 2022-02-03 21:45:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node><item-id>item-9a02386b-22b5-4baf-93f0-4868930ac086</item-id><entry><test>item-9a02386b-22b5-4baf-93f0-4868930ac086</test></entry></data> 2022-02-03 21:45:38 | 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-9a02386b-22b5-4baf-93f0-4868930ac086</value></item-id></result> 2022-02-03 21:45:38 | [Mutex] waiting for: [published:item:notifieditem-9a02386b-22b5-4baf-93f0-4868930ac086:admin@test-domain.com] 2022-02-03 21:45:38 | [Mutex] received everything. 2022-02-03 21:45:38 | [Mutex] isItemNotified: published:item:notifieditem-9a02386b-22b5-4baf-93f0-4868930ac086:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2022-02-03 21:45:38 |
2022-02-03 21:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:38 | ------------------------------------ 2022-02-03 21:45:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node><item-id>item-9a02386b-22b5-4baf-93f0-4868930ac086</item-id></data> 2022-02-03 21:45:39 | 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-9a02386b-22b5-4baf-93f0-4868930ac086</value></item-id></result> 2022-02-03 21:45:39 | [Mutex] received everything. 2022-02-03 21:45:39 | [Mutex] isItemNotified: retracted:item:notifieditem-9a02386b-22b5-4baf-93f0-4868930ac086:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.295s |
2022-02-03 21:45:38 |
2022-02-03 21:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:38 | ------------------------------------ 2022-02-03 21:45:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node><item-id>item-9a02386b-22b5-4baf-93f0-4868930ac086</item-id></data> 2022-02-03 21:45:38 | 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-3e9a619e-367b-49aa-b8aa-23cc687f8854</value></node><item-id label="Item ID" type="text-single"><value>item-9a02386b-22b5-4baf-93f0-4868930ac086</value></item-id><item label="Item" type="text-multi"><value><item id="item-9a02386b-22b5-4baf-93f0-4868930ac086"><test>item-9a02386b-22b5-4baf-93f0-4868930ac086</test></item></value></item></result> 2022-02-03 21:45:38 | [Mutex] notify: [retrieved:item:item-9a02386b-22b5-4baf-93f0-4868930ac086:payload-matches:true:localhost] 2022-02-03 21:45:38 | [Mutex] received everything. 2022-02-03 21:45:38 | [Mutex] isItemNotified: retrieved:item:item-9a02386b-22b5-4baf-93f0-4868930ac086:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-02-03 21:45:38 |
2022-02-03 21:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:38 | ------------------------------------ 2022-02-03 21:45:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-03 21:45:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-9eaf4ae0-3604-4840-80ef-1f4185571e27</value><value>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-03 21:45:38 |
2022-02-03 21:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:38 | ------------------------------------ 2022-02-03 21:45:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e9a619e-367b-49aa-b8aa-23cc687f8854)</node-pattern></data> 2022-02-03 21:45:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.164s |
2022-02-03 21:45:37 |
2022-02-03 21:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:37 | ------------------------------------ 2022-02-03 21:45:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 21:45:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.255s |
2022-02-03 21:45:39 |
2022-02-03 21:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:45:39 | ------------------------------------ 2022-02-03 21:45:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3e9a619e-367b-49aa-b8aa-23cc687f8854</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 21:45:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |