Test duration : 10.289s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2022-01-19 21:43:19 |
2022-01-19 21:43:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:19 | ------------------------------------ 2022-01-19 21:43:19 | [Mutex] waiting for: [configured:node:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:node-c6be033d-02a2-42de-bc83-ea13f61cb51f] 2022-01-19 21:43:19 | [Mutex] received everything. 2022-01-19 21:43:19 | [Mutex] isItemNotified: configured:node:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:node-c6be033d-02a2-42de-bc83-ea13f61cb51f :: true 2022-01-19 21:43:20 | [Mutex] waiting for: [received:nodes:71234d16-b53e-460e-825d-d733b6295ae5:localhost] 2022-01-19 21:43:20 | [Mutex] received everything. 2022-01-19 21:43:20 | [Mutex] isItemNotified: received:node:71234d16-b53e-460e-825d-d733b6295ae5:localhost:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:Node c1ff83ce-bea1-48ff-b51d-dfe888271733 :: true 2022-01-19 21:43:20 | [Mutex] waiting for: [received:nodes:5691d40f-75e2-41fd-bf5c-247b88c79307:localhost] 2022-01-19 21:43:20 | [Mutex] waiting for: [received:nodes:5691d40f-75e2-41fd-bf5c-247b88c79307:localhost] 2022-01-19 21:43:20 | [Mutex] waiting for: [received:nodes:5691d40f-75e2-41fd-bf5c-247b88c79307:localhost] 2022-01-19 21:43:20 | [Mutex] waiting for: [received:nodes:5691d40f-75e2-41fd-bf5c-247b88c79307:localhost] 2022-01-19 21:43:20 | [Mutex] received everything. 2022-01-19 21:43:20 | [Mutex] isItemNotified: received:node:5691d40f-75e2-41fd-bf5c-247b88c79307:localhost:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:Node c1ff83ce-bea1-48ff-b51d-dfe888271733 :: false |
createNodes | 1.567s |
2022-01-19 21:43:16 |
2022-01-19 21:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:16 | ------------------------------------ 2022-01-19 21:43:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c1ff83ce-bea1-48ff-b51d-dfe888271733</title></pubsub></data> 2022-01-19 21:43:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:43:17 | [Mutex] waiting for: [received:nodes:9c35f0c1-c7b0-469b-8dfb-2084e4e50322:localhost] 2022-01-19 21:43:17 | [Mutex] received everything. 2022-01-19 21:43:17 | [Mutex] isItemNotified: received:node:9c35f0c1-c7b0-469b-8dfb-2084e4e50322:localhost:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:Node c1ff83ce-bea1-48ff-b51d-dfe888271733 :: true |
createSubnodes | 1.031s |
2022-01-19 21:43:17 |
2022-01-19 21:43:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:17 | ------------------------------------ 2022-01-19 21:43:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c6be033d-02a2-42de-bc83-ea13f61cb51f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c6be033d-02a2-42de-bc83-ea13f61cb51f</title></pubsub></data> 2022-01-19 21:43:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:43:19 | [Mutex] waiting for: [received:nodes:83b9d600-34a7-4334-b2a7-b1f29ee9a06e:localhost] 2022-01-19 21:43:19 | [Mutex] received everything. 2022-01-19 21:43:19 | [Mutex] isItemNotified: received:node:83b9d600-34a7-4334-b2a7-b1f29ee9a06e:localhost:node-c6be033d-02a2-42de-bc83-ea13f61cb51f:Node c6be033d-02a2-42de-bc83-ea13f61cb51f :: true |
deleteNodes | 1.029s |
2022-01-19 21:43:24 |
2022-01-19 21:43:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:24 | ------------------------------------ 2022-01-19 21:43:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c6be033d-02a2-42de-bc83-ea13f61cb51f</node></data> 2022-01-19 21:43:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:43:25 | [Mutex] waiting for: [received:nodes:40afc7b5-aba1-4add-ac24-ed5062b8f356:localhost] 2022-01-19 21:43:25 | [Mutex] waiting for: [received:nodes:40afc7b5-aba1-4add-ac24-ed5062b8f356:localhost] 2022-01-19 21:43:25 | [Mutex] received everything. 2022-01-19 21:43:25 | [Mutex] isItemNotified: received:node:40afc7b5-aba1-4add-ac24-ed5062b8f356:localhost:node-c6be033d-02a2-42de-bc83-ea13f61cb51f:Node c6be033d-02a2-42de-bc83-ea13f61cb51f :: false |
deleteSubnodes | 1.157s |
2022-01-19 21:43:23 |
2022-01-19 21:43:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:23 | ------------------------------------ 2022-01-19 21:43:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node></data> 2022-01-19 21:43:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-19 21:43:24 | [Mutex] waiting for: [received:nodes:8dcff75a-8625-471d-ae2a-e695e6f947df:localhost] 2022-01-19 21:43:24 | [Mutex] received everything. 2022-01-19 21:43:24 | [Mutex] isItemNotified: received:node:8dcff75a-8625-471d-ae2a-e695e6f947df:localhost:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:Node c1ff83ce-bea1-48ff-b51d-dfe888271733 :: false 2022-01-19 21:43:24 | [Mutex] waiting for: [received:nodes:7601c152-739f-4b57-8515-d29ed6f957ba:localhost] 2022-01-19 21:43:24 | [Mutex] received everything. 2022-01-19 21:43:24 | [Mutex] isItemNotified: received:node:7601c152-739f-4b57-8515-d29ed6f957ba:localhost:node-c1ff83ce-bea1-48ff-b51d-dfe888271733:Node c1ff83ce-bea1-48ff-b51d-dfe888271733 :: false |
publishItemsToNodes | 0.257s |
2022-01-19 21:43:21 |
2022-01-19 21:43:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:21 | ------------------------------------ 2022-01-19 21:43:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node><item-id>item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</item-id><entry><test>item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</test></entry></data> 2022-01-19 21:43:21 | 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-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</value></item-id></result> 2022-01-19 21:43:21 | [Mutex] waiting for: [published:item:notifieditem-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9:admin@test-domain.com] 2022-01-19 21:43:21 | [Mutex] received everything. 2022-01-19 21:43:21 | [Mutex] isItemNotified: published:item:notifieditem-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2022-01-19 21:43:22 |
2022-01-19 21:43:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:22 | ------------------------------------ 2022-01-19 21:43:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node><item-id>item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</item-id></data> 2022-01-19 21:43:22 | 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-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</value></item-id></result> 2022-01-19 21:43:22 | [Mutex] received everything. 2022-01-19 21:43:22 | [Mutex] isItemNotified: retracted:item:notifieditem-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.328s |
2022-01-19 21:43:21 |
2022-01-19 21:43:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:21 | ------------------------------------ 2022-01-19 21:43:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node><item-id>item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</item-id></data> 2022-01-19 21:43:21 | 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-c1ff83ce-bea1-48ff-b51d-dfe888271733</value></node><item-id label="Item ID" type="text-single"><value>item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</value></item-id><item label="Item" type="text-multi"><value><item id="item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9"><test>item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9</test></item></value></item></result> 2022-01-19 21:43:21 | [Mutex] notify: [retrieved:item:item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9:payload-matches:true:localhost] 2022-01-19 21:43:21 | [Mutex] received everything. 2022-01-19 21:43:21 | [Mutex] isItemNotified: retrieved:item:item-3447aa1f-7cb8-4082-8b1a-bc95faa4f9f9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.060s |
2022-01-19 21:43:21 |
2022-01-19 21:43:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:21 | ------------------------------------ 2022-01-19 21:43:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-01-19 21:43:21 | 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-c6be033d-02a2-42de-bc83-ea13f61cb51f</value><value>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-01-19 21:43:21 |
2022-01-19 21:43:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:21 | ------------------------------------ 2022-01-19 21:43:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c1ff83ce-bea1-48ff-b51d-dfe888271733)</node-pattern></data> 2022-01-19 21:43:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.160s |
2022-01-19 21:43:20 |
2022-01-19 21:43:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:20 | ------------------------------------ 2022-01-19 21:43:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-19 21:43:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.255s |
2022-01-19 21:43:22 |
2022-01-19 21:43:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-19 21:43:22 | ------------------------------------ 2022-01-19 21:43:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c1ff83ce-bea1-48ff-b51d-dfe888271733</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-19 21:43:22 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |