Test duration : 9.953s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2020-08-27 22:48:15 |
2020-08-27 22:48:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:15 | ------------------------------------ 2020-08-27 22:48:15 | [Mutex] waiting for: [configured:node:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:node-ac4e8007-5f09-4d5e-be24-851e83efea6f] 2020-08-27 22:48:15 | [Mutex] received everything. 2020-08-27 22:48:15 | [Mutex] isItemNotified: configured:node:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:node-ac4e8007-5f09-4d5e-be24-851e83efea6f :: true 2020-08-27 22:48:16 | [Mutex] waiting for: [received:nodes:c2136d05-b136-481b-a18c-4a59ea5b4ad5:localhost] 2020-08-27 22:48:16 | [Mutex] received everything. 2020-08-27 22:48:16 | [Mutex] isItemNotified: received:node:c2136d05-b136-481b-a18c-4a59ea5b4ad5:localhost:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:Node 1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98 :: true 2020-08-27 22:48:16 | [Mutex] waiting for: [received:nodes:8d6905aa-4a05-4554-ab61-4d75f4ffb591:localhost] 2020-08-27 22:48:16 | [Mutex] received everything. 2020-08-27 22:48:16 | [Mutex] isItemNotified: received:node:8d6905aa-4a05-4554-ab61-4d75f4ffb591:localhost:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:Node 1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98 :: false |
createNodes | 1.526s |
2020-08-27 22:48:13 |
2020-08-27 22:48:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:13 | ------------------------------------ 2020-08-27 22:48:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</title></pubsub></data> 2020-08-27 22:48:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:48:14 | [Mutex] waiting for: [received:nodes:cf720a44-3ea6-40eb-9b8b-9c96214998cf:localhost] 2020-08-27 22:48:14 | [Mutex] received everything. 2020-08-27 22:48:14 | [Mutex] isItemNotified: received:node:cf720a44-3ea6-40eb-9b8b-9c96214998cf:localhost:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:Node 1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98 :: true |
createSubnodes | 1.023s |
2020-08-27 22:48:14 |
2020-08-27 22:48:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:14 | ------------------------------------ 2020-08-27 22:48:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ac4e8007-5f09-4d5e-be24-851e83efea6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ac4e8007-5f09-4d5e-be24-851e83efea6f</title></pubsub></data> 2020-08-27 22:48:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:48:15 | [Mutex] waiting for: [received:nodes:803d8a86-7795-43c7-b469-ae41978e99fc:localhost] 2020-08-27 22:48:15 | [Mutex] received everything. 2020-08-27 22:48:15 | [Mutex] isItemNotified: received:node:803d8a86-7795-43c7-b469-ae41978e99fc:localhost:node-ac4e8007-5f09-4d5e-be24-851e83efea6f:Node ac4e8007-5f09-4d5e-be24-851e83efea6f :: true |
deleteNodes | 1.023s |
2020-08-27 22:48:21 |
2020-08-27 22:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:21 | ------------------------------------ 2020-08-27 22:48:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ac4e8007-5f09-4d5e-be24-851e83efea6f</node></data> 2020-08-27 22:48:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:48:22 | [Mutex] waiting for: [received:nodes:fbc564b1-c89d-489e-a368-1dd518a33851:localhost] 2020-08-27 22:48:22 | [Mutex] received everything. 2020-08-27 22:48:22 | [Mutex] isItemNotified: received:node:fbc564b1-c89d-489e-a368-1dd518a33851:localhost:node-ac4e8007-5f09-4d5e-be24-851e83efea6f:Node ac4e8007-5f09-4d5e-be24-851e83efea6f :: false |
deleteSubnodes | 1.140s |
2020-08-27 22:48:19 |
2020-08-27 22:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:19 | ------------------------------------ 2020-08-27 22:48:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node></data> 2020-08-27 22:48:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:48:21 | [Mutex] waiting for: [received:nodes:39d9fadd-882b-4c49-8c1e-ee0ec51d1592:localhost] 2020-08-27 22:48:21 | [Mutex] waiting for: [received:nodes:39d9fadd-882b-4c49-8c1e-ee0ec51d1592:localhost] 2020-08-27 22:48:21 | [Mutex] received everything. 2020-08-27 22:48:21 | [Mutex] isItemNotified: received:node:39d9fadd-882b-4c49-8c1e-ee0ec51d1592:localhost:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:Node 1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98 :: false 2020-08-27 22:48:21 | [Mutex] waiting for: [received:nodes:f665523a-719f-43e3-8d53-ef1e735748b6:localhost] 2020-08-27 22:48:21 | [Mutex] received everything. 2020-08-27 22:48:21 | [Mutex] isItemNotified: received:node:f665523a-719f-43e3-8d53-ef1e735748b6:localhost:node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98:Node 1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98 :: false |
publishItemsToNodes | 0.179s |
2020-08-27 22:48:17 |
2020-08-27 22:48:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:17 | ------------------------------------ 2020-08-27 22:48:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node><item-id>item-8be77fd4-da09-4d07-8a92-bc67954a1d9b</item-id><entry><test>item-8be77fd4-da09-4d07-8a92-bc67954a1d9b</test></entry></data> 2020-08-27 22:48:18 | 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-8be77fd4-da09-4d07-8a92-bc67954a1d9b</value></item-id></result> 2020-08-27 22:48:18 | [Mutex] waiting for: [published:item:notifieditem-8be77fd4-da09-4d07-8a92-bc67954a1d9b:admin@test-domain.com] 2020-08-27 22:48:18 | [Mutex] received everything. 2020-08-27 22:48:18 | [Mutex] isItemNotified: published:item:notifieditem-8be77fd4-da09-4d07-8a92-bc67954a1d9b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2020-08-27 22:48:18 |
2020-08-27 22:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:18 | ------------------------------------ 2020-08-27 22:48:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node><item-id>item-8be77fd4-da09-4d07-8a92-bc67954a1d9b</item-id></data> 2020-08-27 22:48:18 | 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-8be77fd4-da09-4d07-8a92-bc67954a1d9b</value></item-id></result> 2020-08-27 22:48:18 | [Mutex] waiting for: [retracted:item:notifieditem-8be77fd4-da09-4d07-8a92-bc67954a1d9b:admin@test-domain.com] 2020-08-27 22:48:18 | [Mutex] received everything. 2020-08-27 22:48:18 | [Mutex] isItemNotified: retracted:item:notifieditem-8be77fd4-da09-4d07-8a92-bc67954a1d9b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.232s |
2020-08-27 22:48:18 |
2020-08-27 22:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:18 | ------------------------------------ 2020-08-27 22:48:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node><item-id>item-8be77fd4-da09-4d07-8a92-bc67954a1d9b</item-id></data> 2020-08-27 22:48:18 | 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-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</value></node><item-id label="Item ID" type="text-single"><value>item-8be77fd4-da09-4d07-8a92-bc67954a1d9b</value></item-id><item label="Item" type="text-multi"><value><item id="item-8be77fd4-da09-4d07-8a92-bc67954a1d9b"><test>item-8be77fd4-da09-4d07-8a92-bc67954a1d9b</test></item></value></item></result> 2020-08-27 22:48:18 | [Mutex] notify: [retrieved:item:item-8be77fd4-da09-4d07-8a92-bc67954a1d9b:payload-matches:true:localhost] 2020-08-27 22:48:18 | [Mutex] received everything. 2020-08-27 22:48:18 | [Mutex] isItemNotified: retrieved:item:item-8be77fd4-da09-4d07-8a92-bc67954a1d9b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2020-08-27 22:48:18 |
2020-08-27 22:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:18 | ------------------------------------ 2020-08-27 22:48:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-27 22:48:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</value><value>test</value><value>node-ac4e8007-5f09-4d5e-be24-851e83efea6f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-08-27 22:48:18 |
2020-08-27 22:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:18 | ------------------------------------ 2020-08-27 22:48:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98)</node-pattern></data> 2020-08-27 22:48:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.143s |
2020-08-27 22:48:16 |
2020-08-27 22:48:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:16 | ------------------------------------ 2020-08-27 22:48:16 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 22:48:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.238s |
2020-08-27 22:48:18 |
2020-08-27 22:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:48:18 | ------------------------------------ 2020-08-27 22:48:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1bc9bb81-11c9-40d1-a6b9-bf6f98d21f98</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 22:48:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |