Test duration : 10.171s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2021-10-06 22:29:20 |
2021-10-06 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:20 | ------------------------------------ 2021-10-06 22:29:20 | [Mutex] waiting for: [configured:node:node-f353e069-7451-4203-8c0a-793fa982bcbd:node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a] 2021-10-06 22:29:20 | [Mutex] received everything. 2021-10-06 22:29:20 | [Mutex] isItemNotified: configured:node:node-f353e069-7451-4203-8c0a-793fa982bcbd:node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a :: true 2021-10-06 22:29:21 | [Mutex] waiting for: [received:nodes:c87a244a-fb5f-49d0-beb6-8114877b6fac:localhost] 2021-10-06 22:29:21 | [Mutex] received everything. 2021-10-06 22:29:21 | [Mutex] isItemNotified: received:node:c87a244a-fb5f-49d0-beb6-8114877b6fac:localhost:node-f353e069-7451-4203-8c0a-793fa982bcbd:Node f353e069-7451-4203-8c0a-793fa982bcbd :: true 2021-10-06 22:29:21 | [Mutex] waiting for: [received:nodes:61d170d5-3e1c-4d86-b805-ec5de1c1d3cc:localhost] 2021-10-06 22:29:21 | [Mutex] waiting for: [received:nodes:61d170d5-3e1c-4d86-b805-ec5de1c1d3cc:localhost] 2021-10-06 22:29:21 | [Mutex] received everything. 2021-10-06 22:29:21 | [Mutex] isItemNotified: received:node:61d170d5-3e1c-4d86-b805-ec5de1c1d3cc:localhost:node-f353e069-7451-4203-8c0a-793fa982bcbd:Node f353e069-7451-4203-8c0a-793fa982bcbd :: false |
createNodes | 1.565s |
2021-10-06 22:29:17 |
2021-10-06 22:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:17 | ------------------------------------ 2021-10-06 22:29:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f353e069-7451-4203-8c0a-793fa982bcbd</title></pubsub></data> 2021-10-06 22:29:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:29:19 | [Mutex] waiting for: [received:nodes:b38ebf54-48bc-469b-a4a3-997822334472:localhost] 2021-10-06 22:29:19 | [Mutex] received everything. 2021-10-06 22:29:19 | [Mutex] isItemNotified: received:node:b38ebf54-48bc-469b-a4a3-997822334472:localhost:node-f353e069-7451-4203-8c0a-793fa982bcbd:Node f353e069-7451-4203-8c0a-793fa982bcbd :: true |
createSubnodes | 1.026s |
2021-10-06 22:29:19 |
2021-10-06 22:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:19 | ------------------------------------ 2021-10-06 22:29:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bbd83c72-5144-4fe6-ab5b-f0f99c741a6a</title></pubsub></data> 2021-10-06 22:29:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:29:20 | [Mutex] waiting for: [received:nodes:8254c57c-255f-4cee-b5d5-6b37a40d619b:localhost] 2021-10-06 22:29:20 | [Mutex] received everything. 2021-10-06 22:29:20 | [Mutex] isItemNotified: received:node:8254c57c-255f-4cee-b5d5-6b37a40d619b:localhost:node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a:Node bbd83c72-5144-4fe6-ab5b-f0f99c741a6a :: true |
deleteNodes | 1.023s |
2021-10-06 22:29:26 |
2021-10-06 22:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:26 | ------------------------------------ 2021-10-06 22:29:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a</node></data> 2021-10-06 22:29:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:29:27 | [Mutex] waiting for: [received:nodes:ecb3a28d-5581-49f0-b09a-3b0b777d5ae8:localhost] 2021-10-06 22:29:27 | [Mutex] received everything. 2021-10-06 22:29:27 | [Mutex] isItemNotified: received:node:ecb3a28d-5581-49f0-b09a-3b0b777d5ae8:localhost:node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a:Node bbd83c72-5144-4fe6-ab5b-f0f99c741a6a :: false |
deleteSubnodes | 1.141s |
2021-10-06 22:29:25 |
2021-10-06 22:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:25 | ------------------------------------ 2021-10-06 22:29:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node></data> 2021-10-06 22:29:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-06 22:29:26 | [Mutex] waiting for: [received:nodes:ff9aae7c-9c6f-4d7e-bbd4-16e365f26eb8:localhost] 2021-10-06 22:29:26 | [Mutex] received everything. 2021-10-06 22:29:26 | [Mutex] isItemNotified: received:node:ff9aae7c-9c6f-4d7e-bbd4-16e365f26eb8:localhost:node-f353e069-7451-4203-8c0a-793fa982bcbd:Node f353e069-7451-4203-8c0a-793fa982bcbd :: false 2021-10-06 22:29:26 | [Mutex] waiting for: [received:nodes:ae57b068-b8f3-440f-ac57-c3dab13eb6e6:localhost] 2021-10-06 22:29:26 | [Mutex] received everything. 2021-10-06 22:29:26 | [Mutex] isItemNotified: received:node:ae57b068-b8f3-440f-ac57-c3dab13eb6e6:localhost:node-f353e069-7451-4203-8c0a-793fa982bcbd:Node f353e069-7451-4203-8c0a-793fa982bcbd :: false |
publishItemsToNodes | 0.255s |
2021-10-06 22:29:22 |
2021-10-06 22:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:22 | ------------------------------------ 2021-10-06 22:29:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node><item-id>item-fa2e887e-8708-416d-95fb-bf401db12179</item-id><entry><test>item-fa2e887e-8708-416d-95fb-bf401db12179</test></entry></data> 2021-10-06 22:29:23 | 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-fa2e887e-8708-416d-95fb-bf401db12179</value></item-id></result> 2021-10-06 22:29:23 | [Mutex] waiting for: [published:item:notifieditem-fa2e887e-8708-416d-95fb-bf401db12179:admin@test-domain.com] 2021-10-06 22:29:23 | [Mutex] received everything. 2021-10-06 22:29:23 | [Mutex] isItemNotified: published:item:notifieditem-fa2e887e-8708-416d-95fb-bf401db12179:admin@test-domain.com :: true |
retractItemsFromNodes | 0.219s |
2021-10-06 22:29:23 |
2021-10-06 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:23 | ------------------------------------ 2021-10-06 22:29:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node><item-id>item-fa2e887e-8708-416d-95fb-bf401db12179</item-id></data> 2021-10-06 22:29:23 | 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-fa2e887e-8708-416d-95fb-bf401db12179</value></item-id></result> 2021-10-06 22:29:23 | [Mutex] received everything. 2021-10-06 22:29:23 | [Mutex] isItemNotified: retracted:item:notifieditem-fa2e887e-8708-416d-95fb-bf401db12179:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.358s |
2021-10-06 22:29:23 |
2021-10-06 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:23 | ------------------------------------ 2021-10-06 22:29:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node><item-id>item-fa2e887e-8708-416d-95fb-bf401db12179</item-id></data> 2021-10-06 22:29:23 | 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-f353e069-7451-4203-8c0a-793fa982bcbd</value></node><item-id label="Item ID" type="text-single"><value>item-fa2e887e-8708-416d-95fb-bf401db12179</value></item-id><item label="Item" type="text-multi"><value><item id="item-fa2e887e-8708-416d-95fb-bf401db12179"><test>item-fa2e887e-8708-416d-95fb-bf401db12179</test></item></value></item></result> 2021-10-06 22:29:23 | [Mutex] notify: [retrieved:item:item-fa2e887e-8708-416d-95fb-bf401db12179:payload-matches:true:localhost] 2021-10-06 22:29:23 | [Mutex] received everything. 2021-10-06 22:29:23 | [Mutex] isItemNotified: retrieved:item:item-fa2e887e-8708-416d-95fb-bf401db12179:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-10-06 22:29:23 |
2021-10-06 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:23 | ------------------------------------ 2021-10-06 22:29:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-06 22:29:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-f353e069-7451-4203-8c0a-793fa982bcbd</value><value>test</value><value>node-bbd83c72-5144-4fe6-ab5b-f0f99c741a6a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-10-06 22:29:23 |
2021-10-06 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:23 | ------------------------------------ 2021-10-06 22:29:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f353e069-7451-4203-8c0a-793fa982bcbd)</node-pattern></data> 2021-10-06 22:29:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.203s |
2021-10-06 22:29:21 |
2021-10-06 22:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:21 | ------------------------------------ 2021-10-06 22:29:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-06 22:29:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.267s |
2021-10-06 22:29:23 |
2021-10-06 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-06 22:29:23 | ------------------------------------ 2021-10-06 22:29:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f353e069-7451-4203-8c0a-793fa982bcbd</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-06 22:29:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |