Test duration : 9.743s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2021-01-27 21:27:26 |
2021-01-27 21:27:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:26 | ------------------------------------ 2021-01-27 21:27:26 | [Mutex] waiting for: [configured:node:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:node-a3f75c06-23ad-43dd-a4cc-676dc184cac0] 2021-01-27 21:27:26 | [Mutex] received everything. 2021-01-27 21:27:26 | [Mutex] isItemNotified: configured:node:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:node-a3f75c06-23ad-43dd-a4cc-676dc184cac0 :: true 2021-01-27 21:27:27 | [Mutex] waiting for: [received:nodes:5c51c226-54dc-4204-ba06-349122f64c72:localhost] 2021-01-27 21:27:27 | [Mutex] received everything. 2021-01-27 21:27:27 | [Mutex] isItemNotified: received:node:5c51c226-54dc-4204-ba06-349122f64c72:localhost:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:Node ad84bc6f-9069-490e-bd78-d7abc80001e3 :: true 2021-01-27 21:27:27 | [Mutex] waiting for: [received:nodes:bd4ede05-b3ee-436d-a409-bd88de570f9e:localhost] 2021-01-27 21:27:27 | [Mutex] received everything. 2021-01-27 21:27:27 | [Mutex] isItemNotified: received:node:bd4ede05-b3ee-436d-a409-bd88de570f9e:localhost:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:Node ad84bc6f-9069-490e-bd78-d7abc80001e3 :: false |
createNodes | 1.434s |
2021-01-27 21:27:24 |
2021-01-27 21:27:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:24 | ------------------------------------ 2021-01-27 21:27:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ad84bc6f-9069-490e-bd78-d7abc80001e3</title></pubsub></data> 2021-01-27 21:27:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 21:27:25 | [Mutex] waiting for: [received:nodes:d7dd432b-a16c-4643-834d-f4de0b8e8e14:localhost] 2021-01-27 21:27:25 | [Mutex] received everything. 2021-01-27 21:27:25 | [Mutex] isItemNotified: received:node:d7dd432b-a16c-4643-834d-f4de0b8e8e14:localhost:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:Node ad84bc6f-9069-490e-bd78-d7abc80001e3 :: true |
createSubnodes | 1.024s |
2021-01-27 21:27:25 |
2021-01-27 21:27:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:25 | ------------------------------------ 2021-01-27 21:27:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a3f75c06-23ad-43dd-a4cc-676dc184cac0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a3f75c06-23ad-43dd-a4cc-676dc184cac0</title></pubsub></data> 2021-01-27 21:27:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 21:27:26 | [Mutex] waiting for: [received:nodes:d4d30fb3-16f0-4e70-adb0-d19a63affc61:localhost] 2021-01-27 21:27:26 | [Mutex] received everything. 2021-01-27 21:27:26 | [Mutex] isItemNotified: received:node:d4d30fb3-16f0-4e70-adb0-d19a63affc61:localhost:node-a3f75c06-23ad-43dd-a4cc-676dc184cac0:Node a3f75c06-23ad-43dd-a4cc-676dc184cac0 :: true |
deleteNodes | 1.018s |
2021-01-27 21:27:31 |
2021-01-27 21:27:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:31 | ------------------------------------ 2021-01-27 21:27:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a3f75c06-23ad-43dd-a4cc-676dc184cac0</node></data> 2021-01-27 21:27:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 21:27:32 | [Mutex] waiting for: [received:nodes:496e0ccc-9efb-4db1-bfe2-24adf90ad36a:localhost] 2021-01-27 21:27:32 | [Mutex] received everything. 2021-01-27 21:27:32 | [Mutex] isItemNotified: received:node:496e0ccc-9efb-4db1-bfe2-24adf90ad36a:localhost:node-a3f75c06-23ad-43dd-a4cc-676dc184cac0:Node a3f75c06-23ad-43dd-a4cc-676dc184cac0 :: false |
deleteSubnodes | 1.130s |
2021-01-27 21:27:30 |
2021-01-27 21:27:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:30 | ------------------------------------ 2021-01-27 21:27:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node></data> 2021-01-27 21:27:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 21:27:31 | [Mutex] waiting for: [received:nodes:26dc05b2-0f81-4fd6-845f-5bed87c1e7ec:localhost] 2021-01-27 21:27:31 | [Mutex] received everything. 2021-01-27 21:27:31 | [Mutex] isItemNotified: received:node:26dc05b2-0f81-4fd6-845f-5bed87c1e7ec:localhost:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:Node ad84bc6f-9069-490e-bd78-d7abc80001e3 :: false 2021-01-27 21:27:31 | [Mutex] waiting for: [received:nodes:f4963770-d8f1-4936-b704-11de177bbc58:localhost] 2021-01-27 21:27:31 | [Mutex] received everything. 2021-01-27 21:27:31 | [Mutex] isItemNotified: received:node:f4963770-d8f1-4936-b704-11de177bbc58:localhost:node-ad84bc6f-9069-490e-bd78-d7abc80001e3:Node ad84bc6f-9069-490e-bd78-d7abc80001e3 :: false |
publishItemsToNodes | 0.179s |
2021-01-27 21:27:28 |
2021-01-27 21:27:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:28 | ------------------------------------ 2021-01-27 21:27:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node><item-id>item-16d573d2-ee38-4f30-b641-1da9c1ac896c</item-id><entry><test>item-16d573d2-ee38-4f30-b641-1da9c1ac896c</test></entry></data> 2021-01-27 21:27:28 | 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-16d573d2-ee38-4f30-b641-1da9c1ac896c</value></item-id></result> 2021-01-27 21:27:28 | [Mutex] received everything. 2021-01-27 21:27:28 | [Mutex] isItemNotified: published:item:notifieditem-16d573d2-ee38-4f30-b641-1da9c1ac896c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.188s |
2021-01-27 21:27:29 |
2021-01-27 21:27:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:29 | ------------------------------------ 2021-01-27 21:27:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node><item-id>item-16d573d2-ee38-4f30-b641-1da9c1ac896c</item-id></data> 2021-01-27 21:27:29 | 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-16d573d2-ee38-4f30-b641-1da9c1ac896c</value></item-id></result> 2021-01-27 21:27:29 | [Mutex] waiting for: [retracted:item:notifieditem-16d573d2-ee38-4f30-b641-1da9c1ac896c:admin@test-domain.com] 2021-01-27 21:27:29 | [Mutex] received everything. 2021-01-27 21:27:29 | [Mutex] isItemNotified: retracted:item:notifieditem-16d573d2-ee38-4f30-b641-1da9c1ac896c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.236s |
2021-01-27 21:27:28 |
2021-01-27 21:27:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:28 | ------------------------------------ 2021-01-27 21:27:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node><item-id>item-16d573d2-ee38-4f30-b641-1da9c1ac896c</item-id></data> 2021-01-27 21:27:29 | 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-ad84bc6f-9069-490e-bd78-d7abc80001e3</value></node><item-id label="Item ID" type="text-single"><value>item-16d573d2-ee38-4f30-b641-1da9c1ac896c</value></item-id><item label="Item" type="text-multi"><value><item id="item-16d573d2-ee38-4f30-b641-1da9c1ac896c"><test>item-16d573d2-ee38-4f30-b641-1da9c1ac896c</test></item></value></item></result> 2021-01-27 21:27:29 | [Mutex] notify: [retrieved:item:item-16d573d2-ee38-4f30-b641-1da9c1ac896c:payload-matches:true:localhost] 2021-01-27 21:27:29 | [Mutex] received everything. 2021-01-27 21:27:29 | [Mutex] isItemNotified: retrieved:item:item-16d573d2-ee38-4f30-b641-1da9c1ac896c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-27 21:27:29 |
2021-01-27 21:27:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:29 | ------------------------------------ 2021-01-27 21:27:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-27 21:27:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a3f75c06-23ad-43dd-a4cc-676dc184cac0</value><value>test</value><value>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-01-27 21:27:29 |
2021-01-27 21:27:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:29 | ------------------------------------ 2021-01-27 21:27:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ad84bc6f-9069-490e-bd78-d7abc80001e3)</node-pattern></data> 2021-01-27 21:27:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.154s |
2021-01-27 21:27:27 |
2021-01-27 21:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:27 | ------------------------------------ 2021-01-27 21:27:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-27 21:27:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2021-01-27 21:27:29 |
2021-01-27 21:27:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 21:27:29 | ------------------------------------ 2021-01-27 21:27:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ad84bc6f-9069-490e-bd78-d7abc80001e3</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-27 21:27:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |