Test duration : 10.115s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2021-05-06 22:47:30 |
2021-05-06 22:47:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:30 | ------------------------------------ 2021-05-06 22:47:30 | [Mutex] waiting for: [configured:node:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96] 2021-05-06 22:47:30 | [Mutex] received everything. 2021-05-06 22:47:30 | [Mutex] isItemNotified: configured:node:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96 :: true 2021-05-06 22:47:31 | [Mutex] waiting for: [received:nodes:32990424-437a-4e34-ba98-2bafcde9d307:localhost] 2021-05-06 22:47:31 | [Mutex] waiting for: [received:nodes:32990424-437a-4e34-ba98-2bafcde9d307:localhost] 2021-05-06 22:47:31 | [Mutex] received everything. 2021-05-06 22:47:31 | [Mutex] isItemNotified: received:node:32990424-437a-4e34-ba98-2bafcde9d307:localhost:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:Node 0f90a07b-cda9-4f05-a1a8-20fdf502b868 :: true 2021-05-06 22:47:31 | [Mutex] waiting for: [received:nodes:430cdae2-448e-44d1-b393-f9d342dffc15:localhost] 2021-05-06 22:47:31 | [Mutex] waiting for: [received:nodes:430cdae2-448e-44d1-b393-f9d342dffc15:localhost] 2021-05-06 22:47:31 | [Mutex] waiting for: [received:nodes:430cdae2-448e-44d1-b393-f9d342dffc15:localhost] 2021-05-06 22:47:31 | [Mutex] received everything. 2021-05-06 22:47:31 | [Mutex] isItemNotified: received:node:430cdae2-448e-44d1-b393-f9d342dffc15:localhost:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:Node 0f90a07b-cda9-4f05-a1a8-20fdf502b868 :: false |
createNodes | 1.424s |
2021-05-06 22:47:27 |
2021-05-06 22:47:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:27 | ------------------------------------ 2021-05-06 22:47:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0f90a07b-cda9-4f05-a1a8-20fdf502b868</title></pubsub></data> 2021-05-06 22:47:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:47:29 | [Mutex] waiting for: [received:nodes:b912556d-1bbf-4832-8466-557d25f6706b:localhost] 2021-05-06 22:47:29 | [Mutex] received everything. 2021-05-06 22:47:29 | [Mutex] isItemNotified: received:node:b912556d-1bbf-4832-8466-557d25f6706b:localhost:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:Node 0f90a07b-cda9-4f05-a1a8-20fdf502b868 :: true |
createSubnodes | 1.050s |
2021-05-06 22:47:29 |
2021-05-06 22:47:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:29 | ------------------------------------ 2021-05-06 22:47:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7fe5ece7-fba0-4f4e-8428-dca6d8db0e96</title></pubsub></data> 2021-05-06 22:47:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:47:30 | [Mutex] waiting for: [received:nodes:da3f4653-4391-4700-a467-a04fadc8bfec:localhost] 2021-05-06 22:47:30 | [Mutex] received everything. 2021-05-06 22:47:30 | [Mutex] isItemNotified: received:node:da3f4653-4391-4700-a467-a04fadc8bfec:localhost:node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96:Node 7fe5ece7-fba0-4f4e-8428-dca6d8db0e96 :: true |
deleteNodes | 1.017s |
2021-05-06 22:47:36 |
2021-05-06 22:47:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:36 | ------------------------------------ 2021-05-06 22:47:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96</node></data> 2021-05-06 22:47:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:47:37 | [Mutex] waiting for: [received:nodes:8414f135-1e5b-461e-8a18-bb2d7fd59e9a:localhost] 2021-05-06 22:47:37 | [Mutex] waiting for: [received:nodes:8414f135-1e5b-461e-8a18-bb2d7fd59e9a:localhost] 2021-05-06 22:47:37 | [Mutex] received everything. 2021-05-06 22:47:37 | [Mutex] isItemNotified: received:node:8414f135-1e5b-461e-8a18-bb2d7fd59e9a:localhost:node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96:Node 7fe5ece7-fba0-4f4e-8428-dca6d8db0e96 :: false |
deleteSubnodes | 1.144s |
2021-05-06 22:47:35 |
2021-05-06 22:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:35 | ------------------------------------ 2021-05-06 22:47:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node></data> 2021-05-06 22:47:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:47:36 | [Mutex] waiting for: [received:nodes:1bb9edc4-ea0a-418e-b0e7-395954c576b6:localhost] 2021-05-06 22:47:36 | [Mutex] received everything. 2021-05-06 22:47:36 | [Mutex] isItemNotified: received:node:1bb9edc4-ea0a-418e-b0e7-395954c576b6:localhost:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:Node 0f90a07b-cda9-4f05-a1a8-20fdf502b868 :: false 2021-05-06 22:47:36 | [Mutex] waiting for: [received:nodes:158036a4-59fe-45cc-a814-237f97deaa79:localhost] 2021-05-06 22:47:36 | [Mutex] received everything. 2021-05-06 22:47:36 | [Mutex] isItemNotified: received:node:158036a4-59fe-45cc-a814-237f97deaa79:localhost:node-0f90a07b-cda9-4f05-a1a8-20fdf502b868:Node 0f90a07b-cda9-4f05-a1a8-20fdf502b868 :: false |
publishItemsToNodes | 0.298s |
2021-05-06 22:47:32 |
2021-05-06 22:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:32 | ------------------------------------ 2021-05-06 22:47:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node><item-id>item-15a133ee-b65d-42b9-9df1-e53f0152fa41</item-id><entry><test>item-15a133ee-b65d-42b9-9df1-e53f0152fa41</test></entry></data> 2021-05-06 22:47:32 | 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-15a133ee-b65d-42b9-9df1-e53f0152fa41</value></item-id></result> 2021-05-06 22:47:32 | [Mutex] waiting for: [published:item:notifieditem-15a133ee-b65d-42b9-9df1-e53f0152fa41:admin@test-domain.com] 2021-05-06 22:47:32 | [Mutex] received everything. 2021-05-06 22:47:32 | [Mutex] isItemNotified: published:item:notifieditem-15a133ee-b65d-42b9-9df1-e53f0152fa41:admin@test-domain.com :: true |
retractItemsFromNodes | 0.272s |
2021-05-06 22:47:33 |
2021-05-06 22:47:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:33 | ------------------------------------ 2021-05-06 22:47:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node><item-id>item-15a133ee-b65d-42b9-9df1-e53f0152fa41</item-id></data> 2021-05-06 22:47:33 | 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-15a133ee-b65d-42b9-9df1-e53f0152fa41</value></item-id></result> 2021-05-06 22:47:33 | [Mutex] received everything. 2021-05-06 22:47:33 | [Mutex] isItemNotified: retracted:item:notifieditem-15a133ee-b65d-42b9-9df1-e53f0152fa41:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.336s |
2021-05-06 22:47:32 |
2021-05-06 22:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:32 | ------------------------------------ 2021-05-06 22:47:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node><item-id>item-15a133ee-b65d-42b9-9df1-e53f0152fa41</item-id></data> 2021-05-06 22:47: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-0f90a07b-cda9-4f05-a1a8-20fdf502b868</value></node><item-id label="Item ID" type="text-single"><value>item-15a133ee-b65d-42b9-9df1-e53f0152fa41</value></item-id><item label="Item" type="text-multi"><value><item id="item-15a133ee-b65d-42b9-9df1-e53f0152fa41"><test>item-15a133ee-b65d-42b9-9df1-e53f0152fa41</test></item></value></item></result> 2021-05-06 22:47:33 | [Mutex] notify: [retrieved:item:item-15a133ee-b65d-42b9-9df1-e53f0152fa41:payload-matches:true:localhost] 2021-05-06 22:47:33 | [Mutex] received everything. 2021-05-06 22:47:33 | [Mutex] isItemNotified: retrieved:item:item-15a133ee-b65d-42b9-9df1-e53f0152fa41:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-06 22:47:33 |
2021-05-06 22:47:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:33 | ------------------------------------ 2021-05-06 22:47:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-06 22:47:33 | 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-0f90a07b-cda9-4f05-a1a8-20fdf502b868</value><value>node-7fe5ece7-fba0-4f4e-8428-dca6d8db0e96</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-05-06 22:47:33 |
2021-05-06 22:47:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:33 | ------------------------------------ 2021-05-06 22:47: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-0f90a07b-cda9-4f05-a1a8-20fdf502b868)</node-pattern></data> 2021-05-06 22:47:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.126s |
2021-05-06 22:47:31 |
2021-05-06 22:47:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:31 | ------------------------------------ 2021-05-06 22:47:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 22:47:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.366s |
2021-05-06 22:47:33 |
2021-05-06 22:47:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:47:33 | ------------------------------------ 2021-05-06 22:47:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0f90a07b-cda9-4f05-a1a8-20fdf502b868</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 22:47:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |