Test duration : 10.528s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2020-12-16 13:51:06 |
2020-12-16 13:51:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:06 | ------------------------------------ 2020-12-16 13:51:06 | [Mutex] waiting for: [configured:node:node-928fcf1b-6be8-495c-a481-76342e142d2f:node-b82231be-36e6-4547-b889-d1318b87357c] 2020-12-16 13:51:06 | [Mutex] received everything. 2020-12-16 13:51:06 | [Mutex] isItemNotified: configured:node:node-928fcf1b-6be8-495c-a481-76342e142d2f:node-b82231be-36e6-4547-b889-d1318b87357c :: true 2020-12-16 13:51:07 | [Mutex] waiting for: [received:nodes:ad7666a3-2191-4878-9873-17b21ca407cc:localhost] 2020-12-16 13:51:07 | [Mutex] received everything. 2020-12-16 13:51:07 | [Mutex] isItemNotified: received:node:ad7666a3-2191-4878-9873-17b21ca407cc:localhost:node-928fcf1b-6be8-495c-a481-76342e142d2f:Node 928fcf1b-6be8-495c-a481-76342e142d2f :: true 2020-12-16 13:51:07 | [Mutex] waiting for: [received:nodes:66aca43d-fcbb-4880-918a-b4dc1a150577:localhost] 2020-12-16 13:51:07 | [Mutex] waiting for: [received:nodes:66aca43d-fcbb-4880-918a-b4dc1a150577:localhost] 2020-12-16 13:51:07 | [Mutex] waiting for: [received:nodes:66aca43d-fcbb-4880-918a-b4dc1a150577:localhost] 2020-12-16 13:51:07 | [Mutex] received everything. 2020-12-16 13:51:07 | [Mutex] isItemNotified: received:node:66aca43d-fcbb-4880-918a-b4dc1a150577:localhost:node-928fcf1b-6be8-495c-a481-76342e142d2f:Node 928fcf1b-6be8-495c-a481-76342e142d2f :: false |
createNodes | 1.466s |
2020-12-16 13:51:04 |
2020-12-16 13:51:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:04 | ------------------------------------ 2020-12-16 13:51:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 928fcf1b-6be8-495c-a481-76342e142d2f</title></pubsub></data> 2020-12-16 13:51:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:51:05 | [Mutex] waiting for: [received:nodes:63802b7e-cadb-45b1-b978-4403a1c44982:localhost] 2020-12-16 13:51:05 | [Mutex] received everything. 2020-12-16 13:51:05 | [Mutex] isItemNotified: received:node:63802b7e-cadb-45b1-b978-4403a1c44982:localhost:node-928fcf1b-6be8-495c-a481-76342e142d2f:Node 928fcf1b-6be8-495c-a481-76342e142d2f :: true |
createSubnodes | 1.023s |
2020-12-16 13:51:05 |
2020-12-16 13:51:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:05 | ------------------------------------ 2020-12-16 13:51:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b82231be-36e6-4547-b889-d1318b87357c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b82231be-36e6-4547-b889-d1318b87357c</title></pubsub></data> 2020-12-16 13:51:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:51:06 | [Mutex] waiting for: [received:nodes:a3a3b774-bf66-476e-82b3-d58867fcc7ab:localhost] 2020-12-16 13:51:06 | [Mutex] received everything. 2020-12-16 13:51:06 | [Mutex] isItemNotified: received:node:a3a3b774-bf66-476e-82b3-d58867fcc7ab:localhost:node-b82231be-36e6-4547-b889-d1318b87357c:Node b82231be-36e6-4547-b889-d1318b87357c :: true |
deleteNodes | 1.017s |
2020-12-16 13:51:12 |
2020-12-16 13:51:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:12 | ------------------------------------ 2020-12-16 13:51:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b82231be-36e6-4547-b889-d1318b87357c</node></data> 2020-12-16 13:51:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:51:13 | [Mutex] waiting for: [received:nodes:fcc24423-087f-4cc5-aebc-6b8795096040:localhost] 2020-12-16 13:51:13 | [Mutex] received everything. 2020-12-16 13:51:13 | [Mutex] isItemNotified: received:node:fcc24423-087f-4cc5-aebc-6b8795096040:localhost:node-b82231be-36e6-4547-b889-d1318b87357c:Node b82231be-36e6-4547-b889-d1318b87357c :: false |
deleteSubnodes | 1.125s |
2020-12-16 13:51:11 |
2020-12-16 13:51:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:11 | ------------------------------------ 2020-12-16 13:51:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node></data> 2020-12-16 13:51:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:51:12 | [Mutex] waiting for: [received:nodes:04a1d017-2b40-4cfd-b36e-1b651de633c5:localhost] 2020-12-16 13:51:12 | [Mutex] received everything. 2020-12-16 13:51:12 | [Mutex] isItemNotified: received:node:04a1d017-2b40-4cfd-b36e-1b651de633c5:localhost:node-928fcf1b-6be8-495c-a481-76342e142d2f:Node 928fcf1b-6be8-495c-a481-76342e142d2f :: false 2020-12-16 13:51:12 | [Mutex] waiting for: [received:nodes:0a031683-2c2f-404d-95ea-b463243cd1c1:localhost] 2020-12-16 13:51:12 | [Mutex] received everything. 2020-12-16 13:51:12 | [Mutex] isItemNotified: received:node:0a031683-2c2f-404d-95ea-b463243cd1c1:localhost:node-928fcf1b-6be8-495c-a481-76342e142d2f:Node 928fcf1b-6be8-495c-a481-76342e142d2f :: false |
publishItemsToNodes | 0.271s |
2020-12-16 13:51:09 |
2020-12-16 13:51:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:09 | ------------------------------------ 2020-12-16 13:51:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node><item-id>item-adb147ed-7330-48bf-8f1c-5d0fd8d35212</item-id><entry><test>item-adb147ed-7330-48bf-8f1c-5d0fd8d35212</test></entry></data> 2020-12-16 13:51:09 | 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-adb147ed-7330-48bf-8f1c-5d0fd8d35212</value></item-id></result> 2020-12-16 13:51:09 | [Mutex] waiting for: [published:item:notifieditem-adb147ed-7330-48bf-8f1c-5d0fd8d35212:admin@test-domain.com] 2020-12-16 13:51:09 | [Mutex] received everything. 2020-12-16 13:51:09 | [Mutex] isItemNotified: published:item:notifieditem-adb147ed-7330-48bf-8f1c-5d0fd8d35212:admin@test-domain.com :: true |
retractItemsFromNodes | 0.384s |
2020-12-16 13:51:09 |
2020-12-16 13:51:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:09 | ------------------------------------ 2020-12-16 13:51:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node><item-id>item-adb147ed-7330-48bf-8f1c-5d0fd8d35212</item-id></data> 2020-12-16 13:51:10 | 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-adb147ed-7330-48bf-8f1c-5d0fd8d35212</value></item-id></result> 2020-12-16 13:51:10 | [Mutex] received everything. 2020-12-16 13:51:10 | [Mutex] isItemNotified: retracted:item:notifieditem-adb147ed-7330-48bf-8f1c-5d0fd8d35212:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.339s |
2020-12-16 13:51:09 |
2020-12-16 13:51:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:09 | ------------------------------------ 2020-12-16 13:51:09 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node><item-id>item-adb147ed-7330-48bf-8f1c-5d0fd8d35212</item-id></data> 2020-12-16 13:51:09 | 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-928fcf1b-6be8-495c-a481-76342e142d2f</value></node><item-id label="Item ID" type="text-single"><value>item-adb147ed-7330-48bf-8f1c-5d0fd8d35212</value></item-id><item label="Item" type="text-multi"><value><item id="item-adb147ed-7330-48bf-8f1c-5d0fd8d35212"><test>item-adb147ed-7330-48bf-8f1c-5d0fd8d35212</test></item></value></item></result> 2020-12-16 13:51:09 | [Mutex] notify: [retrieved:item:item-adb147ed-7330-48bf-8f1c-5d0fd8d35212:payload-matches:true:localhost] 2020-12-16 13:51:09 | [Mutex] received everything. 2020-12-16 13:51:09 | [Mutex] isItemNotified: retrieved:item:item-adb147ed-7330-48bf-8f1c-5d0fd8d35212:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-12-16 13:51:09 |
2020-12-16 13:51:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:09 | ------------------------------------ 2020-12-16 13:51:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-16 13:51:09 | 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-928fcf1b-6be8-495c-a481-76342e142d2f</value><value>node-b82231be-36e6-4547-b889-d1318b87357c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.130s |
2020-12-16 13:51:09 |
2020-12-16 13:51:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:09 | ------------------------------------ 2020-12-16 13:51:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-928fcf1b-6be8-495c-a481-76342e142d2f)</node-pattern></data> 2020-12-16 13:51:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.111s |
2020-12-16 13:51:07 |
2020-12-16 13:51:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:07 | ------------------------------------ 2020-12-16 13:51:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-16 13:51:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.276s |
2020-12-16 13:51:10 |
2020-12-16 13:51:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:51:10 | ------------------------------------ 2020-12-16 13:51:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-928fcf1b-6be8-495c-a481-76342e142d2f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-16 13:51:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |