Test duration : 10.300s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2021-11-15 21:44:48 |
2021-11-15 21:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:48 | ------------------------------------ 2021-11-15 21:44:48 | [Mutex] waiting for: [configured:node:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:node-f9621a09-9268-4e32-a104-c981a241ee49] 2021-11-15 21:44:48 | [Mutex] received everything. 2021-11-15 21:44:48 | [Mutex] isItemNotified: configured:node:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:node-f9621a09-9268-4e32-a104-c981a241ee49 :: true 2021-11-15 21:44:49 | [Mutex] waiting for: [received:nodes:e1e8a805-7a9e-45cf-8fe3-82dcb1522b89:localhost] 2021-11-15 21:44:49 | [Mutex] received everything. 2021-11-15 21:44:49 | [Mutex] isItemNotified: received:node:e1e8a805-7a9e-45cf-8fe3-82dcb1522b89:localhost:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:Node 9ac6ec00-75de-47c1-bf81-cabc2d571ad1 :: true 2021-11-15 21:44:49 | [Mutex] waiting for: [received:nodes:4653cf31-b1c7-481b-934a-6ef16bde1d4a:localhost] 2021-11-15 21:44:49 | [Mutex] received everything. 2021-11-15 21:44:49 | [Mutex] isItemNotified: received:node:4653cf31-b1c7-481b-934a-6ef16bde1d4a:localhost:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:Node 9ac6ec00-75de-47c1-bf81-cabc2d571ad1 :: false |
createNodes | 1.648s |
2021-11-15 21:44:46 |
2021-11-15 21:44:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:46 | ------------------------------------ 2021-11-15 21:44:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9ac6ec00-75de-47c1-bf81-cabc2d571ad1</title></pubsub></data> 2021-11-15 21:44:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-15 21:44:47 | [Mutex] waiting for: [received:nodes:b4c04228-e779-4cbb-93b0-da9bcc9e8008:localhost] 2021-11-15 21:44:47 | [Mutex] waiting for: [received:nodes:b4c04228-e779-4cbb-93b0-da9bcc9e8008:localhost] 2021-11-15 21:44:47 | [Mutex] waiting for: [received:nodes:b4c04228-e779-4cbb-93b0-da9bcc9e8008:localhost] 2021-11-15 21:44:47 | [Mutex] received everything. 2021-11-15 21:44:47 | [Mutex] isItemNotified: received:node:b4c04228-e779-4cbb-93b0-da9bcc9e8008:localhost:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:Node 9ac6ec00-75de-47c1-bf81-cabc2d571ad1 :: true |
createSubnodes | 1.038s |
2021-11-15 21:44:47 |
2021-11-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:47 | ------------------------------------ 2021-11-15 21:44:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f9621a09-9268-4e32-a104-c981a241ee49</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f9621a09-9268-4e32-a104-c981a241ee49</title></pubsub></data> 2021-11-15 21:44:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-15 21:44:48 | [Mutex] waiting for: [received:nodes:ad91f796-063b-4994-93d9-9154085ec30f:localhost] 2021-11-15 21:44:48 | [Mutex] received everything. 2021-11-15 21:44:48 | [Mutex] isItemNotified: received:node:ad91f796-063b-4994-93d9-9154085ec30f:localhost:node-f9621a09-9268-4e32-a104-c981a241ee49:Node f9621a09-9268-4e32-a104-c981a241ee49 :: true |
deleteNodes | 1.025s |
2021-11-15 21:44:54 |
2021-11-15 21:44:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:54 | ------------------------------------ 2021-11-15 21:44:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f9621a09-9268-4e32-a104-c981a241ee49</node></data> 2021-11-15 21:44:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-15 21:44:55 | [Mutex] waiting for: [received:nodes:924e656d-6294-4a78-9e4b-038d4ecc4d73:localhost] 2021-11-15 21:44:55 | [Mutex] received everything. 2021-11-15 21:44:55 | [Mutex] isItemNotified: received:node:924e656d-6294-4a78-9e4b-038d4ecc4d73:localhost:node-f9621a09-9268-4e32-a104-c981a241ee49:Node f9621a09-9268-4e32-a104-c981a241ee49 :: false |
deleteSubnodes | 1.178s |
2021-11-15 21:44:53 |
2021-11-15 21:44:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:53 | ------------------------------------ 2021-11-15 21:44:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node></data> 2021-11-15 21:44:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-15 21:44:54 | [Mutex] waiting for: [received:nodes:869073c4-ceb5-44bf-8607-cffd5ef7047d:localhost] 2021-11-15 21:44:54 | [Mutex] received everything. 2021-11-15 21:44:54 | [Mutex] isItemNotified: received:node:869073c4-ceb5-44bf-8607-cffd5ef7047d:localhost:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:Node 9ac6ec00-75de-47c1-bf81-cabc2d571ad1 :: false 2021-11-15 21:44:54 | [Mutex] waiting for: [received:nodes:ec60b352-63b9-4021-b829-4e99653cb307:localhost] 2021-11-15 21:44:54 | [Mutex] received everything. 2021-11-15 21:44:54 | [Mutex] isItemNotified: received:node:ec60b352-63b9-4021-b829-4e99653cb307:localhost:node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1:Node 9ac6ec00-75de-47c1-bf81-cabc2d571ad1 :: false |
publishItemsToNodes | 0.221s |
2021-11-15 21:44:51 |
2021-11-15 21:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:51 | ------------------------------------ 2021-11-15 21:44:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node><item-id>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</item-id><entry><test>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</test></entry></data> 2021-11-15 21:44:51 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</value></item-id></result> 2021-11-15 21:44:51 | [Mutex] received everything. 2021-11-15 21:44:51 | [Mutex] isItemNotified: published:item:notifieditem-f986733d-b5d5-4d59-820b-cf356df3bcbe:admin@test-domain.com :: true |
retractItemsFromNodes | 0.222s |
2021-11-15 21:44:51 |
2021-11-15 21:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:51 | ------------------------------------ 2021-11-15 21:44:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node><item-id>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</item-id></data> 2021-11-15 21:44:51 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</value></item-id></result> 2021-11-15 21:44:51 | [Mutex] waiting for: [retracted:item:notifieditem-f986733d-b5d5-4d59-820b-cf356df3bcbe:admin@test-domain.com] 2021-11-15 21:44:51 | [Mutex] received everything. 2021-11-15 21:44:51 | [Mutex] isItemNotified: retracted:item:notifieditem-f986733d-b5d5-4d59-820b-cf356df3bcbe:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.310s |
2021-11-15 21:44:51 |
2021-11-15 21:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:51 | ------------------------------------ 2021-11-15 21:44:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node><item-id>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</item-id></data> 2021-11-15 21:44:51 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</value></node><item-id type="text-single" label="Item ID"><value>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</value></item-id><item type="text-multi" label="Item"><value><item id="item-f986733d-b5d5-4d59-820b-cf356df3bcbe"><test>item-f986733d-b5d5-4d59-820b-cf356df3bcbe</test></item></value></item></result> 2021-11-15 21:44:51 | [Mutex] notify: [retrieved:item:item-f986733d-b5d5-4d59-820b-cf356df3bcbe:payload-matches:true:localhost] 2021-11-15 21:44:51 | [Mutex] received everything. 2021-11-15 21:44:51 | [Mutex] isItemNotified: retrieved:item:item-f986733d-b5d5-4d59-820b-cf356df3bcbe:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-11-15 21:44:51 |
2021-11-15 21:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:51 | ------------------------------------ 2021-11-15 21:44:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-11-15 21:44:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-f9621a09-9268-4e32-a104-c981a241ee49</value><value>test</value><value>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-11-15 21:44:51 |
2021-11-15 21:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:51 | ------------------------------------ 2021-11-15 21:44:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1)</node-pattern></data> 2021-11-15 21:44:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.141s |
2021-11-15 21:44:49 |
2021-11-15 21:44:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:49 | ------------------------------------ 2021-11-15 21:44:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-15 21:44:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.316s |
2021-11-15 21:44:51 |
2021-11-15 21:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-15 21:44:51 | ------------------------------------ 2021-11-15 21:44:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9ac6ec00-75de-47c1-bf81-cabc2d571ad1</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-15 21:44:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |