Test duration : 9.397s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-06-17 22:32:00 |
2022-06-17 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:00 | ------------------------------------ 2022-06-17 22:32:00 | [Mutex] waiting for: [configured:node:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:node-9135a3a1-5f3e-49b1-8256-98fb8bea73be] 2022-06-17 22:32:00 | [Mutex] received everything. 2022-06-17 22:32:00 | [Mutex] isItemNotified: configured:node:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:node-9135a3a1-5f3e-49b1-8256-98fb8bea73be :: true 2022-06-17 22:32:01 | [Mutex] waiting for: [received:nodes:f8aa15fd-3155-4f2d-a63b-f1385fc7d114:localhost] 2022-06-17 22:32:01 | [Mutex] received everything. 2022-06-17 22:32:01 | [Mutex] isItemNotified: received:node:f8aa15fd-3155-4f2d-a63b-f1385fc7d114:localhost:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:Node 486c2f8b-4678-44e7-b163-0b8c9fcf7e85 :: true 2022-06-17 22:32:01 | [Mutex] waiting for: [received:nodes:d90844da-20ef-4225-bc8b-c2ffd5ef40f2:localhost] 2022-06-17 22:32:01 | [Mutex] waiting for: [received:nodes:d90844da-20ef-4225-bc8b-c2ffd5ef40f2:localhost] 2022-06-17 22:32:01 | [Mutex] waiting for: [received:nodes:d90844da-20ef-4225-bc8b-c2ffd5ef40f2:localhost] 2022-06-17 22:32:01 | [Mutex] received everything. 2022-06-17 22:32:01 | [Mutex] isItemNotified: received:node:d90844da-20ef-4225-bc8b-c2ffd5ef40f2:localhost:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:Node 486c2f8b-4678-44e7-b163-0b8c9fcf7e85 :: false |
createNodes | 1.389s |
2022-06-17 22:31:57 |
2022-06-17 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:31:57 | ------------------------------------ 2022-06-17 22:31:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 486c2f8b-4678-44e7-b163-0b8c9fcf7e85</title></pubsub></data> 2022-06-17 22:31:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-17 22:31:59 | [Mutex] waiting for: [received:nodes:5995893e-60eb-40ca-a375-5c47bc737063:localhost] 2022-06-17 22:31:59 | [Mutex] received everything. 2022-06-17 22:31:59 | [Mutex] isItemNotified: received:node:5995893e-60eb-40ca-a375-5c47bc737063:localhost:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:Node 486c2f8b-4678-44e7-b163-0b8c9fcf7e85 :: true |
createSubnodes | 1.023s |
2022-06-17 22:31:59 |
2022-06-17 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:31:59 | ------------------------------------ 2022-06-17 22:31:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9135a3a1-5f3e-49b1-8256-98fb8bea73be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9135a3a1-5f3e-49b1-8256-98fb8bea73be</title></pubsub></data> 2022-06-17 22:31:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-17 22:32:00 | [Mutex] waiting for: [received:nodes:44fa37e6-6919-4347-a18a-8a5372774c0a:localhost] 2022-06-17 22:32:00 | [Mutex] received everything. 2022-06-17 22:32:00 | [Mutex] isItemNotified: received:node:44fa37e6-6919-4347-a18a-8a5372774c0a:localhost:node-9135a3a1-5f3e-49b1-8256-98fb8bea73be:Node 9135a3a1-5f3e-49b1-8256-98fb8bea73be :: true |
deleteNodes | 1.016s |
2022-06-17 22:32:05 |
2022-06-17 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:05 | ------------------------------------ 2022-06-17 22:32:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9135a3a1-5f3e-49b1-8256-98fb8bea73be</node></data> 2022-06-17 22:32:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-17 22:32:06 | [Mutex] waiting for: [received:nodes:b3ff027f-4bfe-41f2-8987-54ae4d292b86:localhost] 2022-06-17 22:32:06 | [Mutex] waiting for: [received:nodes:b3ff027f-4bfe-41f2-8987-54ae4d292b86:localhost] 2022-06-17 22:32:06 | [Mutex] received everything. 2022-06-17 22:32:06 | [Mutex] isItemNotified: received:node:b3ff027f-4bfe-41f2-8987-54ae4d292b86:localhost:node-9135a3a1-5f3e-49b1-8256-98fb8bea73be:Node 9135a3a1-5f3e-49b1-8256-98fb8bea73be :: false |
deleteSubnodes | 1.173s |
2022-06-17 22:32:04 |
2022-06-17 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:04 | ------------------------------------ 2022-06-17 22:32:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node></data> 2022-06-17 22:32:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-17 22:32:05 | [Mutex] waiting for: [received:nodes:f8734735-d26b-404d-a728-d6c8e7c19dd5:localhost] 2022-06-17 22:32:05 | [Mutex] received everything. 2022-06-17 22:32:05 | [Mutex] isItemNotified: received:node:f8734735-d26b-404d-a728-d6c8e7c19dd5:localhost:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:Node 486c2f8b-4678-44e7-b163-0b8c9fcf7e85 :: false 2022-06-17 22:32:05 | [Mutex] waiting for: [received:nodes:c8f971f6-4589-4149-ab4e-0acaf7501b79:localhost] 2022-06-17 22:32:05 | [Mutex] received everything. 2022-06-17 22:32:05 | [Mutex] isItemNotified: received:node:c8f971f6-4589-4149-ab4e-0acaf7501b79:localhost:node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85:Node 486c2f8b-4678-44e7-b163-0b8c9fcf7e85 :: false |
publishItemsToNodes | 0.245s |
2022-06-17 22:32:02 |
2022-06-17 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:02 | ------------------------------------ 2022-06-17 22:32:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node><item-id>item-dea9dc19-459d-4262-b522-bbe48c2b3177</item-id><entry><test>item-dea9dc19-459d-4262-b522-bbe48c2b3177</test></entry></data> 2022-06-17 22:32:02 | 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-dea9dc19-459d-4262-b522-bbe48c2b3177</value></item-id></result> 2022-06-17 22:32:02 | [Mutex] received everything. 2022-06-17 22:32:02 | [Mutex] isItemNotified: published:item:notifieditem-dea9dc19-459d-4262-b522-bbe48c2b3177:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2022-06-17 22:32:03 |
2022-06-17 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:03 | ------------------------------------ 2022-06-17 22:32:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node><item-id>item-dea9dc19-459d-4262-b522-bbe48c2b3177</item-id></data> 2022-06-17 22:32:03 | 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-dea9dc19-459d-4262-b522-bbe48c2b3177</value></item-id></result> 2022-06-17 22:32:03 | [Mutex] received everything. 2022-06-17 22:32:03 | [Mutex] isItemNotified: retracted:item:notifieditem-dea9dc19-459d-4262-b522-bbe48c2b3177:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2022-06-17 22:32:02 |
2022-06-17 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:02 | ------------------------------------ 2022-06-17 22:32:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node><item-id>item-dea9dc19-459d-4262-b522-bbe48c2b3177</item-id></data> 2022-06-17 22:32:03 | 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-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</value></node><item-id label="Item ID" type="text-single"><value>item-dea9dc19-459d-4262-b522-bbe48c2b3177</value></item-id><item label="Item" type="text-multi"><value><item id="item-dea9dc19-459d-4262-b522-bbe48c2b3177"><test>item-dea9dc19-459d-4262-b522-bbe48c2b3177</test></item></value></item></result> 2022-06-17 22:32:03 | [Mutex] notify: [retrieved:item:item-dea9dc19-459d-4262-b522-bbe48c2b3177:payload-matches:true:localhost] 2022-06-17 22:32:03 | [Mutex] received everything. 2022-06-17 22:32:03 | [Mutex] isItemNotified: retrieved:item:item-dea9dc19-459d-4262-b522-bbe48c2b3177:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-17 22:32:03 |
2022-06-17 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:03 | ------------------------------------ 2022-06-17 22:32:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-17 22:32:03 | 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-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</value><value>node-9135a3a1-5f3e-49b1-8256-98fb8bea73be</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-06-17 22:32:03 |
2022-06-17 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:03 | ------------------------------------ 2022-06-17 22:32:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85)</node-pattern></data> 2022-06-17 22:32:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.109s |
2022-06-17 22:32:01 |
2022-06-17 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:01 | ------------------------------------ 2022-06-17 22:32:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-17 22:32:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.139s |
2022-06-17 22:32:03 |
2022-06-17 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:32:03 | ------------------------------------ 2022-06-17 22:32:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-486c2f8b-4678-44e7-b163-0b8c9fcf7e85</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-17 22:32:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |