Test duration : 10.374s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.169s |
2022-02-17 21:47:38 |
2022-02-17 21:47:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:38 | ------------------------------------ 2022-02-17 21:47:38 | [Mutex] waiting for: [configured:node:node-c9c196d3-8920-4b6d-b416-71391bbfef79:node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf] 2022-02-17 21:47:39 | [Mutex] received everything. 2022-02-17 21:47:39 | [Mutex] isItemNotified: configured:node:node-c9c196d3-8920-4b6d-b416-71391bbfef79:node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf :: true 2022-02-17 21:47:40 | [Mutex] waiting for: [received:nodes:720b0123-42cb-417a-9532-adb9ffdb8d39:localhost] 2022-02-17 21:47:40 | [Mutex] received everything. 2022-02-17 21:47:40 | [Mutex] isItemNotified: received:node:720b0123-42cb-417a-9532-adb9ffdb8d39:localhost:node-c9c196d3-8920-4b6d-b416-71391bbfef79:Node c9c196d3-8920-4b6d-b416-71391bbfef79 :: true 2022-02-17 21:47:40 | [Mutex] waiting for: [received:nodes:87d6924b-6ffa-4175-9eb2-fa07356e41b0:localhost] 2022-02-17 21:47:40 | [Mutex] waiting for: [received:nodes:87d6924b-6ffa-4175-9eb2-fa07356e41b0:localhost] 2022-02-17 21:47:40 | [Mutex] received everything. 2022-02-17 21:47:40 | [Mutex] isItemNotified: received:node:87d6924b-6ffa-4175-9eb2-fa07356e41b0:localhost:node-c9c196d3-8920-4b6d-b416-71391bbfef79:Node c9c196d3-8920-4b6d-b416-71391bbfef79 :: false |
createNodes | 1.526s |
2022-02-17 21:47:36 |
2022-02-17 21:47:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:36 | ------------------------------------ 2022-02-17 21:47:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c9c196d3-8920-4b6d-b416-71391bbfef79</title></pubsub></data> 2022-02-17 21:47:36 | 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 21:47:37 | [Mutex] waiting for: [received:nodes:327c4c90-8369-4ef4-8253-16c4b36d00f1:localhost] 2022-02-17 21:47:37 | [Mutex] received everything. 2022-02-17 21:47:37 | [Mutex] isItemNotified: received:node:327c4c90-8369-4ef4-8253-16c4b36d00f1:localhost:node-c9c196d3-8920-4b6d-b416-71391bbfef79:Node c9c196d3-8920-4b6d-b416-71391bbfef79 :: true |
createSubnodes | 1.034s |
2022-02-17 21:47:37 |
2022-02-17 21:47:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:37 | ------------------------------------ 2022-02-17 21:47:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8bc9c49f-fe5c-4a06-adec-5fef3d89fecf</title></pubsub></data> 2022-02-17 21:47:37 | 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 21:47:38 | [Mutex] waiting for: [received:nodes:444e0580-e3ee-46cc-b3b7-7012d4d222b0:localhost] 2022-02-17 21:47:38 | [Mutex] waiting for: [received:nodes:444e0580-e3ee-46cc-b3b7-7012d4d222b0:localhost] 2022-02-17 21:47:38 | [Mutex] received everything. 2022-02-17 21:47:38 | [Mutex] isItemNotified: received:node:444e0580-e3ee-46cc-b3b7-7012d4d222b0:localhost:node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf:Node 8bc9c49f-fe5c-4a06-adec-5fef3d89fecf :: true |
deleteNodes | 1.023s |
2022-02-17 21:47:44 |
2022-02-17 21:47:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:44 | ------------------------------------ 2022-02-17 21:47:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf</node></data> 2022-02-17 21:47:44 | 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 21:47:45 | [Mutex] waiting for: [received:nodes:6ac6e959-a63a-42cd-b378-f622baddaeb4:localhost] 2022-02-17 21:47:45 | [Mutex] received everything. 2022-02-17 21:47:45 | [Mutex] isItemNotified: received:node:6ac6e959-a63a-42cd-b378-f622baddaeb4:localhost:node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf:Node 8bc9c49f-fe5c-4a06-adec-5fef3d89fecf :: false |
deleteSubnodes | 1.141s |
2022-02-17 21:47:43 |
2022-02-17 21:47:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:43 | ------------------------------------ 2022-02-17 21:47:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node></data> 2022-02-17 21:47:43 | 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 21:47:44 | [Mutex] waiting for: [received:nodes:f2ead347-56c5-45aa-80bb-e75e267f1961:localhost] 2022-02-17 21:47:44 | [Mutex] received everything. 2022-02-17 21:47:44 | [Mutex] isItemNotified: received:node:f2ead347-56c5-45aa-80bb-e75e267f1961:localhost:node-c9c196d3-8920-4b6d-b416-71391bbfef79:Node c9c196d3-8920-4b6d-b416-71391bbfef79 :: false 2022-02-17 21:47:44 | [Mutex] waiting for: [received:nodes:fcca6341-4718-49b1-95ce-57ffea7ea0ab:localhost] 2022-02-17 21:47:44 | [Mutex] received everything. 2022-02-17 21:47:44 | [Mutex] isItemNotified: received:node:fcca6341-4718-49b1-95ce-57ffea7ea0ab:localhost:node-c9c196d3-8920-4b6d-b416-71391bbfef79:Node c9c196d3-8920-4b6d-b416-71391bbfef79 :: false |
publishItemsToNodes | 0.252s |
2022-02-17 21:47:41 |
2022-02-17 21:47:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:41 | ------------------------------------ 2022-02-17 21:47:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node><item-id>item-121310d4-069e-4033-9a6e-30a4a5323fcd</item-id><entry><test>item-121310d4-069e-4033-9a6e-30a4a5323fcd</test></entry></data> 2022-02-17 21:47:41 | 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-121310d4-069e-4033-9a6e-30a4a5323fcd</value></item-id></result> 2022-02-17 21:47:41 | [Mutex] received everything. 2022-02-17 21:47:41 | [Mutex] isItemNotified: published:item:notifieditem-121310d4-069e-4033-9a6e-30a4a5323fcd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2022-02-17 21:47:42 |
2022-02-17 21:47:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:42 | ------------------------------------ 2022-02-17 21:47:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node><item-id>item-121310d4-069e-4033-9a6e-30a4a5323fcd</item-id></data> 2022-02-17 21:47:42 | 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-121310d4-069e-4033-9a6e-30a4a5323fcd</value></item-id></result> 2022-02-17 21:47:42 | [Mutex] received everything. 2022-02-17 21:47:42 | [Mutex] isItemNotified: retracted:item:notifieditem-121310d4-069e-4033-9a6e-30a4a5323fcd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.336s |
2022-02-17 21:47:41 |
2022-02-17 21:47:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:41 | ------------------------------------ 2022-02-17 21:47:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node><item-id>item-121310d4-069e-4033-9a6e-30a4a5323fcd</item-id></data> 2022-02-17 21:47:41 | 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-c9c196d3-8920-4b6d-b416-71391bbfef79</value></node><item-id label="Item ID" type="text-single"><value>item-121310d4-069e-4033-9a6e-30a4a5323fcd</value></item-id><item label="Item" type="text-multi"><value><item id="item-121310d4-069e-4033-9a6e-30a4a5323fcd"><test>item-121310d4-069e-4033-9a6e-30a4a5323fcd</test></item></value></item></result> 2022-02-17 21:47:41 | [Mutex] notify: [retrieved:item:item-121310d4-069e-4033-9a6e-30a4a5323fcd:payload-matches:true:localhost] 2022-02-17 21:47:41 | [Mutex] received everything. 2022-02-17 21:47:41 | [Mutex] isItemNotified: retrieved:item:item-121310d4-069e-4033-9a6e-30a4a5323fcd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-17 21:47:41 |
2022-02-17 21:47:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:41 | ------------------------------------ 2022-02-17 21:47:41 | 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 21:47:41 | 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-c9c196d3-8920-4b6d-b416-71391bbfef79</value><value>node-8bc9c49f-fe5c-4a06-adec-5fef3d89fecf</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-17 21:47:41 |
2022-02-17 21:47:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:41 | ------------------------------------ 2022-02-17 21:47:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c9c196d3-8920-4b6d-b416-71391bbfef79)</node-pattern></data> 2022-02-17 21:47:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.183s |
2022-02-17 21:47:40 |
2022-02-17 21:47:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:40 | ------------------------------------ 2022-02-17 21:47:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 21:47:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.363s |
2022-02-17 21:47:42 |
2022-02-17 21:47:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 21:47:42 | ------------------------------------ 2022-02-17 21:47:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c9c196d3-8920-4b6d-b416-71391bbfef79</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 21:47:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |