Test duration : 10.432s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-02-17 22:02:52 |
2022-02-17 22:02:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:52 | ------------------------------------ 2022-02-17 22:02:52 | [Mutex] waiting for: [configured:node:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:node-e5d44e39-7bf1-4d12-8549-5a014aa0565f] 2022-02-17 22:02:52 | [Mutex] received everything. 2022-02-17 22:02:52 | [Mutex] isItemNotified: configured:node:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:node-e5d44e39-7bf1-4d12-8549-5a014aa0565f :: true 2022-02-17 22:02:53 | [Mutex] waiting for: [received:nodes:b7cd74de-619c-49be-a229-fe7781a2f997:localhost] 2022-02-17 22:02:53 | [Mutex] received everything. 2022-02-17 22:02:53 | [Mutex] isItemNotified: received:node:b7cd74de-619c-49be-a229-fe7781a2f997:localhost:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:Node 6e27e309-231c-40b6-98f6-6b0f75a8b41b :: true 2022-02-17 22:02:53 | [Mutex] waiting for: [received:nodes:dd28390e-a462-47b4-a2e3-5437d6b73f8c:localhost] 2022-02-17 22:02:53 | [Mutex] received everything. 2022-02-17 22:02:53 | [Mutex] isItemNotified: received:node:dd28390e-a462-47b4-a2e3-5437d6b73f8c:localhost:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:Node 6e27e309-231c-40b6-98f6-6b0f75a8b41b :: false |
createNodes | 1.581s |
2022-02-17 22:02:50 |
2022-02-17 22:02:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:50 | ------------------------------------ 2022-02-17 22:02:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6e27e309-231c-40b6-98f6-6b0f75a8b41b</title></pubsub></data> 2022-02-17 22:02:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 22:02:51 | [Mutex] waiting for: [received:nodes:05f74fa1-60c8-484c-b19d-b17c16c0a203:localhost] 2022-02-17 22:02:51 | [Mutex] waiting for: [received:nodes:05f74fa1-60c8-484c-b19d-b17c16c0a203:localhost] 2022-02-17 22:02:51 | [Mutex] received everything. 2022-02-17 22:02:51 | [Mutex] isItemNotified: received:node:05f74fa1-60c8-484c-b19d-b17c16c0a203:localhost:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:Node 6e27e309-231c-40b6-98f6-6b0f75a8b41b :: true |
createSubnodes | 1.026s |
2022-02-17 22:02:51 |
2022-02-17 22:02:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:51 | ------------------------------------ 2022-02-17 22:02:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e5d44e39-7bf1-4d12-8549-5a014aa0565f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e5d44e39-7bf1-4d12-8549-5a014aa0565f</title></pubsub></data> 2022-02-17 22:02:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 22:02:52 | [Mutex] waiting for: [received:nodes:cc265813-866e-4562-885f-27f69b0f78bc:localhost] 2022-02-17 22:02:52 | [Mutex] received everything. 2022-02-17 22:02:52 | [Mutex] isItemNotified: received:node:cc265813-866e-4562-885f-27f69b0f78bc:localhost:node-e5d44e39-7bf1-4d12-8549-5a014aa0565f:Node e5d44e39-7bf1-4d12-8549-5a014aa0565f :: true |
deleteNodes | 1.020s |
2022-02-17 22:02:58 |
2022-02-17 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:58 | ------------------------------------ 2022-02-17 22:02:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e5d44e39-7bf1-4d12-8549-5a014aa0565f</node></data> 2022-02-17 22:02:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 22:02:59 | [Mutex] waiting for: [received:nodes:ac3d5c1d-e4f3-49bc-b553-6b4b000eaa99:localhost] 2022-02-17 22:02:59 | [Mutex] received everything. 2022-02-17 22:02:59 | [Mutex] isItemNotified: received:node:ac3d5c1d-e4f3-49bc-b553-6b4b000eaa99:localhost:node-e5d44e39-7bf1-4d12-8549-5a014aa0565f:Node e5d44e39-7bf1-4d12-8549-5a014aa0565f :: false |
deleteSubnodes | 1.177s |
2022-02-17 22:02:57 |
2022-02-17 22:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:57 | ------------------------------------ 2022-02-17 22:02:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node></data> 2022-02-17 22:02:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 22:02:58 | [Mutex] waiting for: [received:nodes:591af5cb-065e-491d-8280-e32720f25602:localhost] 2022-02-17 22:02:58 | [Mutex] waiting for: [received:nodes:591af5cb-065e-491d-8280-e32720f25602:localhost] 2022-02-17 22:02:58 | [Mutex] received everything. 2022-02-17 22:02:58 | [Mutex] isItemNotified: received:node:591af5cb-065e-491d-8280-e32720f25602:localhost:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:Node 6e27e309-231c-40b6-98f6-6b0f75a8b41b :: false 2022-02-17 22:02:58 | [Mutex] waiting for: [received:nodes:515b1681-f573-41d2-9f81-8bf6518c0847:localhost] 2022-02-17 22:02:58 | [Mutex] received everything. 2022-02-17 22:02:58 | [Mutex] isItemNotified: received:node:515b1681-f573-41d2-9f81-8bf6518c0847:localhost:node-6e27e309-231c-40b6-98f6-6b0f75a8b41b:Node 6e27e309-231c-40b6-98f6-6b0f75a8b41b :: false |
publishItemsToNodes | 0.299s |
2022-02-17 22:02:55 |
2022-02-17 22:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:55 | ------------------------------------ 2022-02-17 22:02:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node><item-id>item-38100754-0e95-47e5-8676-b528b79d563b</item-id><entry><test>item-38100754-0e95-47e5-8676-b528b79d563b</test></entry></data> 2022-02-17 22:02:55 | 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-38100754-0e95-47e5-8676-b528b79d563b</value></item-id></result> 2022-02-17 22:02:55 | [Mutex] received everything. 2022-02-17 22:02:55 | [Mutex] isItemNotified: published:item:notifieditem-38100754-0e95-47e5-8676-b528b79d563b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2022-02-17 22:02:55 |
2022-02-17 22:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:55 | ------------------------------------ 2022-02-17 22:02:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node><item-id>item-38100754-0e95-47e5-8676-b528b79d563b</item-id></data> 2022-02-17 22:02:56 | 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-38100754-0e95-47e5-8676-b528b79d563b</value></item-id></result> 2022-02-17 22:02:56 | [Mutex] received everything. 2022-02-17 22:02:56 | [Mutex] isItemNotified: retracted:item:notifieditem-38100754-0e95-47e5-8676-b528b79d563b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.266s |
2022-02-17 22:02:55 |
2022-02-17 22:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:55 | ------------------------------------ 2022-02-17 22:02:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node><item-id>item-38100754-0e95-47e5-8676-b528b79d563b</item-id></data> 2022-02-17 22:02:55 | 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-6e27e309-231c-40b6-98f6-6b0f75a8b41b</value></node><item-id label="Item ID" type="text-single"><value>item-38100754-0e95-47e5-8676-b528b79d563b</value></item-id><item label="Item" type="text-multi"><value><item id="item-38100754-0e95-47e5-8676-b528b79d563b"><test>item-38100754-0e95-47e5-8676-b528b79d563b</test></item></value></item></result> 2022-02-17 22:02:55 | [Mutex] notify: [retrieved:item:item-38100754-0e95-47e5-8676-b528b79d563b:payload-matches:true:localhost] 2022-02-17 22:02:55 | [Mutex] received everything. 2022-02-17 22:02:55 | [Mutex] isItemNotified: retrieved:item:item-38100754-0e95-47e5-8676-b528b79d563b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-17 22:02:55 |
2022-02-17 22:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:55 | ------------------------------------ 2022-02-17 22:02:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-17 22:02:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</value><value>node-e5d44e39-7bf1-4d12-8549-5a014aa0565f</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-17 22:02:55 |
2022-02-17 22:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:55 | ------------------------------------ 2022-02-17 22:02:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6e27e309-231c-40b6-98f6-6b0f75a8b41b)</node-pattern></data> 2022-02-17 22:02:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.185s |
2022-02-17 22:02:53 |
2022-02-17 22:02:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:53 | ------------------------------------ 2022-02-17 22:02:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 22:02:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.323s |
2022-02-17 22:02:56 |
2022-02-17 22:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 22:02:56 | ------------------------------------ 2022-02-17 22:02:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6e27e309-231c-40b6-98f6-6b0f75a8b41b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 22:02:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |