Test duration : 10.420s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2021-02-02 21:27:31 |
2021-02-02 21:27:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:31 | ------------------------------------ 2021-02-02 21:27:31 | [Mutex] waiting for: [configured:node:node-99442e35-b833-4ec6-9c27-874dac5d1419:node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5] 2021-02-02 21:27:31 | [Mutex] received everything. 2021-02-02 21:27:31 | [Mutex] isItemNotified: configured:node:node-99442e35-b833-4ec6-9c27-874dac5d1419:node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5 :: true 2021-02-02 21:27:32 | [Mutex] waiting for: [received:nodes:03bcb1be-267f-48f8-ba60-65ca48441657:localhost] 2021-02-02 21:27:32 | [Mutex] received everything. 2021-02-02 21:27:32 | [Mutex] isItemNotified: received:node:03bcb1be-267f-48f8-ba60-65ca48441657:localhost:node-99442e35-b833-4ec6-9c27-874dac5d1419:Node 99442e35-b833-4ec6-9c27-874dac5d1419 :: true 2021-02-02 21:27:32 | [Mutex] waiting for: [received:nodes:24b2d10e-3461-41af-aa04-4ab0ef758513:localhost] 2021-02-02 21:27:32 | [Mutex] received everything. 2021-02-02 21:27:32 | [Mutex] isItemNotified: received:node:24b2d10e-3461-41af-aa04-4ab0ef758513:localhost:node-99442e35-b833-4ec6-9c27-874dac5d1419:Node 99442e35-b833-4ec6-9c27-874dac5d1419 :: false |
createNodes | 1.593s |
2021-02-02 21:27:28 |
2021-02-02 21:27:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:28 | ------------------------------------ 2021-02-02 21:27:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 99442e35-b833-4ec6-9c27-874dac5d1419</title></pubsub></data> 2021-02-02 21:27:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:27:30 | [Mutex] waiting for: [received:nodes:afa79a01-a738-433e-b5e2-e58b323ee05f:localhost] 2021-02-02 21:27:30 | [Mutex] received everything. 2021-02-02 21:27:30 | [Mutex] isItemNotified: received:node:afa79a01-a738-433e-b5e2-e58b323ee05f:localhost:node-99442e35-b833-4ec6-9c27-874dac5d1419:Node 99442e35-b833-4ec6-9c27-874dac5d1419 :: true |
createSubnodes | 1.024s |
2021-02-02 21:27:30 |
2021-02-02 21:27:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:30 | ------------------------------------ 2021-02-02 21:27:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a01e3b41-82ec-49e3-9db4-05fe9064f1c5</title></pubsub></data> 2021-02-02 21:27:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:27:31 | [Mutex] waiting for: [received:nodes:b4d1eaf7-f414-4b6a-a8e7-d4e457da8a1f:localhost] 2021-02-02 21:27:31 | [Mutex] received everything. 2021-02-02 21:27:31 | [Mutex] isItemNotified: received:node:b4d1eaf7-f414-4b6a-a8e7-d4e457da8a1f:localhost:node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5:Node a01e3b41-82ec-49e3-9db4-05fe9064f1c5 :: true |
deleteNodes | 1.021s |
2021-02-02 21:27:36 |
2021-02-02 21:27:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:36 | ------------------------------------ 2021-02-02 21:27:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5</node></data> 2021-02-02 21:27:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:27:37 | [Mutex] waiting for: [received:nodes:5b3dd67b-5ad0-4a5d-a82e-d8d9bd3eeed5:localhost] 2021-02-02 21:27:37 | [Mutex] received everything. 2021-02-02 21:27:37 | [Mutex] isItemNotified: received:node:5b3dd67b-5ad0-4a5d-a82e-d8d9bd3eeed5:localhost:node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5:Node a01e3b41-82ec-49e3-9db4-05fe9064f1c5 :: false |
deleteSubnodes | 1.208s |
2021-02-02 21:27:35 |
2021-02-02 21:27:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:35 | ------------------------------------ 2021-02-02 21:27:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node></data> 2021-02-02 21:27:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:27:36 | [Mutex] waiting for: [received:nodes:736802da-6fd9-41b1-aa1a-93a039516acb:localhost] 2021-02-02 21:27:36 | [Mutex] received everything. 2021-02-02 21:27:36 | [Mutex] isItemNotified: received:node:736802da-6fd9-41b1-aa1a-93a039516acb:localhost:node-99442e35-b833-4ec6-9c27-874dac5d1419:Node 99442e35-b833-4ec6-9c27-874dac5d1419 :: false 2021-02-02 21:27:36 | [Mutex] waiting for: [received:nodes:0de3f480-08fa-4c36-ab6d-472e6072fa8b:localhost] 2021-02-02 21:27:36 | [Mutex] received everything. 2021-02-02 21:27:36 | [Mutex] isItemNotified: received:node:0de3f480-08fa-4c36-ab6d-472e6072fa8b:localhost:node-99442e35-b833-4ec6-9c27-874dac5d1419:Node 99442e35-b833-4ec6-9c27-874dac5d1419 :: false |
publishItemsToNodes | 0.243s |
2021-02-02 21:27:33 |
2021-02-02 21:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:33 | ------------------------------------ 2021-02-02 21:27:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node><item-id>item-9dd97bde-da24-4fd2-be46-4eb74231aa84</item-id><entry><test>item-9dd97bde-da24-4fd2-be46-4eb74231aa84</test></entry></data> 2021-02-02 21:27:33 | 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-9dd97bde-da24-4fd2-be46-4eb74231aa84</value></item-id></result> 2021-02-02 21:27:33 | [Mutex] received everything. 2021-02-02 21:27:33 | [Mutex] isItemNotified: published:item:notifieditem-9dd97bde-da24-4fd2-be46-4eb74231aa84:admin@test-domain.com :: true |
retractItemsFromNodes | 0.320s |
2021-02-02 21:27:33 |
2021-02-02 21:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:33 | ------------------------------------ 2021-02-02 21:27:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node><item-id>item-9dd97bde-da24-4fd2-be46-4eb74231aa84</item-id></data> 2021-02-02 21:27:34 | 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-9dd97bde-da24-4fd2-be46-4eb74231aa84</value></item-id></result> 2021-02-02 21:27:34 | [Mutex] received everything. 2021-02-02 21:27:34 | [Mutex] isItemNotified: retracted:item:notifieditem-9dd97bde-da24-4fd2-be46-4eb74231aa84:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.350s |
2021-02-02 21:27:33 |
2021-02-02 21:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:33 | ------------------------------------ 2021-02-02 21:27:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node><item-id>item-9dd97bde-da24-4fd2-be46-4eb74231aa84</item-id></data> 2021-02-02 21:27:33 | 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-99442e35-b833-4ec6-9c27-874dac5d1419</value></node><item-id label="Item ID" type="text-single"><value>item-9dd97bde-da24-4fd2-be46-4eb74231aa84</value></item-id><item label="Item" type="text-multi"><value><item id="item-9dd97bde-da24-4fd2-be46-4eb74231aa84"><test>item-9dd97bde-da24-4fd2-be46-4eb74231aa84</test></item></value></item></result> 2021-02-02 21:27:33 | [Mutex] notify: [retrieved:item:item-9dd97bde-da24-4fd2-be46-4eb74231aa84:payload-matches:true:localhost] 2021-02-02 21:27:33 | [Mutex] received everything. 2021-02-02 21:27:33 | [Mutex] isItemNotified: retrieved:item:item-9dd97bde-da24-4fd2-be46-4eb74231aa84:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-02-02 21:27:33 |
2021-02-02 21:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:33 | ------------------------------------ 2021-02-02 21:27:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-02 21:27:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-99442e35-b833-4ec6-9c27-874dac5d1419</value><value>test</value><value>node-a01e3b41-82ec-49e3-9db4-05fe9064f1c5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-02-02 21:27:33 |
2021-02-02 21:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:33 | ------------------------------------ 2021-02-02 21:27:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-99442e35-b833-4ec6-9c27-874dac5d1419)</node-pattern></data> 2021-02-02 21:27:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2021-02-02 21:27:32 |
2021-02-02 21:27:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:32 | ------------------------------------ 2021-02-02 21:27:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-02 21:27:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.266s |
2021-02-02 21:27:34 |
2021-02-02 21:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:27:34 | ------------------------------------ 2021-02-02 21:27:34 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-99442e35-b833-4ec6-9c27-874dac5d1419</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-02 21:27:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |