Test duration : 9.385s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2023-03-18 22:29:20 |
2023-03-18 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:20 | ------------------------------------ 2023-03-18 22:29:20 | [Mutex] waiting for: [configured:node:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:node-c1a72227-ff90-4f3c-b579-566713442c96] 2023-03-18 22:29:20 | [Mutex] received everything. 2023-03-18 22:29:20 | [Mutex] isItemNotified: configured:node:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:node-c1a72227-ff90-4f3c-b579-566713442c96 :: true 2023-03-18 22:29:21 | [Mutex] waiting for: [received:nodes:853be0a1-10a6-4d8e-9e23-b26853969896:localhost] 2023-03-18 22:29:21 | [Mutex] received everything. 2023-03-18 22:29:21 | [Mutex] isItemNotified: received:node:853be0a1-10a6-4d8e-9e23-b26853969896:localhost:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:Node bf5b759b-581f-4a30-b5bb-8b8ca974d829 :: true 2023-03-18 22:29:21 | [Mutex] waiting for: [received:nodes:bf19c89d-1321-4d8a-8b87-04a6e566be84:localhost] 2023-03-18 22:29:21 | [Mutex] waiting for: [received:nodes:bf19c89d-1321-4d8a-8b87-04a6e566be84:localhost] 2023-03-18 22:29:21 | [Mutex] waiting for: [received:nodes:bf19c89d-1321-4d8a-8b87-04a6e566be84:localhost] 2023-03-18 22:29:21 | [Mutex] waiting for: [received:nodes:bf19c89d-1321-4d8a-8b87-04a6e566be84:localhost] 2023-03-18 22:29:21 | [Mutex] received everything. 2023-03-18 22:29:21 | [Mutex] isItemNotified: received:node:bf19c89d-1321-4d8a-8b87-04a6e566be84:localhost:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:Node bf5b759b-581f-4a30-b5bb-8b8ca974d829 :: false |
createNodes | 1.444s |
2023-03-18 22:29:17 |
2023-03-18 22:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:17 | ------------------------------------ 2023-03-18 22:29:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bf5b759b-581f-4a30-b5bb-8b8ca974d829</title></pubsub></data> 2023-03-18 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> 2023-03-18 22:29:19 | [Mutex] waiting for: [received:nodes:214486d5-6b82-4812-bdb8-a9a46c9780d4:localhost] 2023-03-18 22:29:19 | [Mutex] received everything. 2023-03-18 22:29:19 | [Mutex] isItemNotified: received:node:214486d5-6b82-4812-bdb8-a9a46c9780d4:localhost:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:Node bf5b759b-581f-4a30-b5bb-8b8ca974d829 :: true |
createSubnodes | 1.027s |
2023-03-18 22:29:19 |
2023-03-18 22:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:19 | ------------------------------------ 2023-03-18 22:29:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c1a72227-ff90-4f3c-b579-566713442c96</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c1a72227-ff90-4f3c-b579-566713442c96</title></pubsub></data> 2023-03-18 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> 2023-03-18 22:29:20 | [Mutex] waiting for: [received:nodes:bc831c3b-6592-44b0-b941-6b49a0457eb4:localhost] 2023-03-18 22:29:20 | [Mutex] waiting for: [received:nodes:bc831c3b-6592-44b0-b941-6b49a0457eb4:localhost] 2023-03-18 22:29:20 | [Mutex] waiting for: [received:nodes:bc831c3b-6592-44b0-b941-6b49a0457eb4:localhost] 2023-03-18 22:29:20 | [Mutex] waiting for: [received:nodes:bc831c3b-6592-44b0-b941-6b49a0457eb4:localhost] 2023-03-18 22:29:20 | [Mutex] received everything. 2023-03-18 22:29:20 | [Mutex] isItemNotified: received:node:bc831c3b-6592-44b0-b941-6b49a0457eb4:localhost:node-c1a72227-ff90-4f3c-b579-566713442c96:Node c1a72227-ff90-4f3c-b579-566713442c96 :: true |
deleteNodes | 1.020s |
2023-03-18 22:29:25 |
2023-03-18 22:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:25 | ------------------------------------ 2023-03-18 22:29:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c1a72227-ff90-4f3c-b579-566713442c96</node></data> 2023-03-18 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> 2023-03-18 22:29:26 | [Mutex] waiting for: [received:nodes:8ac2c4b7-85cc-43e5-a02f-083ce694cdcf:localhost] 2023-03-18 22:29:26 | [Mutex] waiting for: [received:nodes:8ac2c4b7-85cc-43e5-a02f-083ce694cdcf:localhost] 2023-03-18 22:29:26 | [Mutex] waiting for: [received:nodes:8ac2c4b7-85cc-43e5-a02f-083ce694cdcf:localhost] 2023-03-18 22:29:26 | [Mutex] received everything. 2023-03-18 22:29:26 | [Mutex] isItemNotified: received:node:8ac2c4b7-85cc-43e5-a02f-083ce694cdcf:localhost:node-c1a72227-ff90-4f3c-b579-566713442c96:Node c1a72227-ff90-4f3c-b579-566713442c96 :: false |
deleteSubnodes | 1.156s |
2023-03-18 22:29:24 |
2023-03-18 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:24 | ------------------------------------ 2023-03-18 22:29:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node></data> 2023-03-18 22:29:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-18 22:29:25 | [Mutex] waiting for: [received:nodes:0c336aa7-94d6-4ca7-bdf4-30db092cb7b0:localhost] 2023-03-18 22:29:25 | [Mutex] waiting for: [received:nodes:0c336aa7-94d6-4ca7-bdf4-30db092cb7b0:localhost] 2023-03-18 22:29:25 | [Mutex] waiting for: [received:nodes:0c336aa7-94d6-4ca7-bdf4-30db092cb7b0:localhost] 2023-03-18 22:29:25 | [Mutex] waiting for: [received:nodes:0c336aa7-94d6-4ca7-bdf4-30db092cb7b0:localhost] 2023-03-18 22:29:25 | [Mutex] received everything. 2023-03-18 22:29:25 | [Mutex] isItemNotified: received:node:0c336aa7-94d6-4ca7-bdf4-30db092cb7b0:localhost:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:Node bf5b759b-581f-4a30-b5bb-8b8ca974d829 :: false 2023-03-18 22:29:25 | [Mutex] waiting for: [received:nodes:7f50f31c-d26d-4968-94a8-8567395b0291:localhost] 2023-03-18 22:29:25 | [Mutex] received everything. 2023-03-18 22:29:25 | [Mutex] isItemNotified: received:node:7f50f31c-d26d-4968-94a8-8567395b0291:localhost:node-bf5b759b-581f-4a30-b5bb-8b8ca974d829:Node bf5b759b-581f-4a30-b5bb-8b8ca974d829 :: false |
publishItemsToNodes | 0.169s |
2023-03-18 22:29:22 |
2023-03-18 22:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:22 | ------------------------------------ 2023-03-18 22:29:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node><item-id>item-0f2ef41e-91dd-4775-9542-54e0600b4163</item-id><entry><test>item-0f2ef41e-91dd-4775-9542-54e0600b4163</test></entry></data> 2023-03-18 22:29:22 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0f2ef41e-91dd-4775-9542-54e0600b4163</value></item-id></result> 2023-03-18 22:29:22 | [Mutex] waiting for: [published:item:notifieditem-0f2ef41e-91dd-4775-9542-54e0600b4163:admin@test-domain.com] 2023-03-18 22:29:22 | [Mutex] received everything. 2023-03-18 22:29:22 | [Mutex] isItemNotified: published:item:notifieditem-0f2ef41e-91dd-4775-9542-54e0600b4163:admin@test-domain.com :: true |
retractItemsFromNodes | 0.215s |
2023-03-18 22:29:23 |
2023-03-18 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:23 | ------------------------------------ 2023-03-18 22:29:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node><item-id>item-0f2ef41e-91dd-4775-9542-54e0600b4163</item-id></data> 2023-03-18 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 type="fixed" label="Item ID"><value>item-0f2ef41e-91dd-4775-9542-54e0600b4163</value></item-id></result> 2023-03-18 22:29:23 | [Mutex] received everything. 2023-03-18 22:29:23 | [Mutex] isItemNotified: retracted:item:notifieditem-0f2ef41e-91dd-4775-9542-54e0600b4163:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.257s |
2023-03-18 22:29:22 |
2023-03-18 22:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:22 | ------------------------------------ 2023-03-18 22:29:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node><item-id>item-0f2ef41e-91dd-4775-9542-54e0600b4163</item-id></data> 2023-03-18 22:29:23 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</value></node><item-id type="text-single" label="Item ID"><value>item-0f2ef41e-91dd-4775-9542-54e0600b4163</value></item-id><item type="text-multi" label="Item"><value><item id="item-0f2ef41e-91dd-4775-9542-54e0600b4163"><test>item-0f2ef41e-91dd-4775-9542-54e0600b4163</test></item></value></item></result> 2023-03-18 22:29:23 | [Mutex] notify: [retrieved:item:item-0f2ef41e-91dd-4775-9542-54e0600b4163:payload-matches:true:localhost] 2023-03-18 22:29:23 | [Mutex] received everything. 2023-03-18 22:29:23 | [Mutex] isItemNotified: retrieved:item:item-0f2ef41e-91dd-4775-9542-54e0600b4163:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-18 22:29:23 |
2023-03-18 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:23 | ------------------------------------ 2023-03-18 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> 2023-03-18 22:29:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c1a72227-ff90-4f3c-b579-566713442c96</value><value>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-03-18 22:29:23 |
2023-03-18 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:23 | ------------------------------------ 2023-03-18 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-bf5b759b-581f-4a30-b5bb-8b8ca974d829)</node-pattern></data> 2023-03-18 22:29:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-03-18 22:29:21 |
2023-03-18 22:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:21 | ------------------------------------ 2023-03-18 22:29:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-18 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.196s |
2023-03-18 22:29:23 |
2023-03-18 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-18 22:29:23 | ------------------------------------ 2023-03-18 22:29:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bf5b759b-581f-4a30-b5bb-8b8ca974d829</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-18 22:29:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |