Test duration : 9.887s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2020-09-20 22:29:58 |
2020-09-20 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:29:58 | ------------------------------------ 2020-09-20 22:29:58 | [Mutex] waiting for: [configured:node:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd] 2020-09-20 22:29:58 | [Mutex] received everything. 2020-09-20 22:29:58 | [Mutex] isItemNotified: configured:node:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd :: true 2020-09-20 22:29:59 | [Mutex] waiting for: [received:nodes:3e1ca853-4fca-4d98-ba8d-5444ab37c9f4:localhost] 2020-09-20 22:29:59 | [Mutex] received everything. 2020-09-20 22:29:59 | [Mutex] isItemNotified: received:node:3e1ca853-4fca-4d98-ba8d-5444ab37c9f4:localhost:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:Node 980e8323-b7ea-4155-9b22-d8d1af1bf2cb :: true 2020-09-20 22:29:59 | [Mutex] waiting for: [received:nodes:e123481e-e9af-41dd-a328-ba210be8f3ff:localhost] 2020-09-20 22:29:59 | [Mutex] waiting for: [received:nodes:e123481e-e9af-41dd-a328-ba210be8f3ff:localhost] 2020-09-20 22:29:59 | [Mutex] received everything. 2020-09-20 22:29:59 | [Mutex] isItemNotified: received:node:e123481e-e9af-41dd-a328-ba210be8f3ff:localhost:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:Node 980e8323-b7ea-4155-9b22-d8d1af1bf2cb :: false |
createNodes | 1.363s |
2020-09-20 22:29:56 |
2020-09-20 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:29:56 | ------------------------------------ 2020-09-20 22:29:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 980e8323-b7ea-4155-9b22-d8d1af1bf2cb</title></pubsub></data> 2020-09-20 22:29:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 22:29:57 | [Mutex] waiting for: [received:nodes:5c6e76ee-7d51-417a-9840-592171699465:localhost] 2020-09-20 22:29:57 | [Mutex] received everything. 2020-09-20 22:29:57 | [Mutex] isItemNotified: received:node:5c6e76ee-7d51-417a-9840-592171699465:localhost:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:Node 980e8323-b7ea-4155-9b22-d8d1af1bf2cb :: true |
createSubnodes | 1.026s |
2020-09-20 22:29:57 |
2020-09-20 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:29:57 | ------------------------------------ 2020-09-20 22:29:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd</title></pubsub></data> 2020-09-20 22:29:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 22:29:58 | [Mutex] waiting for: [received:nodes:f6acc95f-3335-40f4-99c4-de7a458072d0:localhost] 2020-09-20 22:29:58 | [Mutex] received everything. 2020-09-20 22:29:58 | [Mutex] isItemNotified: received:node:f6acc95f-3335-40f4-99c4-de7a458072d0:localhost:node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd:Node 4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd :: true |
deleteNodes | 1.018s |
2020-09-20 22:30:04 |
2020-09-20 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:04 | ------------------------------------ 2020-09-20 22:30:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd</node></data> 2020-09-20 22:30:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 22:30:05 | [Mutex] waiting for: [received:nodes:83619b87-966f-432e-b2ef-03b736ceb9c4:localhost] 2020-09-20 22:30:05 | [Mutex] waiting for: [received:nodes:83619b87-966f-432e-b2ef-03b736ceb9c4:localhost] 2020-09-20 22:30:05 | [Mutex] received everything. 2020-09-20 22:30:05 | [Mutex] isItemNotified: received:node:83619b87-966f-432e-b2ef-03b736ceb9c4:localhost:node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd:Node 4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd :: false |
deleteSubnodes | 1.161s |
2020-09-20 22:30:02 |
2020-09-20 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:02 | ------------------------------------ 2020-09-20 22:30:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node></data> 2020-09-20 22:30:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 22:30:04 | [Mutex] waiting for: [received:nodes:c3968562-c33f-4752-bfec-8dd40e7b6498:localhost] 2020-09-20 22:30:04 | [Mutex] received everything. 2020-09-20 22:30:04 | [Mutex] isItemNotified: received:node:c3968562-c33f-4752-bfec-8dd40e7b6498:localhost:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:Node 980e8323-b7ea-4155-9b22-d8d1af1bf2cb :: false 2020-09-20 22:30:04 | [Mutex] waiting for: [received:nodes:dfaf8fea-858b-4ea4-b247-4f928c07082d:localhost] 2020-09-20 22:30:04 | [Mutex] received everything. 2020-09-20 22:30:04 | [Mutex] isItemNotified: received:node:dfaf8fea-858b-4ea4-b247-4f928c07082d:localhost:node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb:Node 980e8323-b7ea-4155-9b22-d8d1af1bf2cb :: false |
publishItemsToNodes | 0.182s |
2020-09-20 22:30:00 |
2020-09-20 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:00 | ------------------------------------ 2020-09-20 22:30:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node><item-id>item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</item-id><entry><test>item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</test></entry></data> 2020-09-20 22:30:00 | 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-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</value></item-id></result> 2020-09-20 22:30:00 | [Mutex] received everything. 2020-09-20 22:30:00 | [Mutex] isItemNotified: published:item:notifieditem-bbee5abc-28a7-48b7-89bc-77432f7ff1d5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2020-09-20 22:30:01 |
2020-09-20 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:01 | ------------------------------------ 2020-09-20 22:30:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node><item-id>item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</item-id></data> 2020-09-20 22:30:01 | 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-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</value></item-id></result> 2020-09-20 22:30:01 | [Mutex] received everything. 2020-09-20 22:30:01 | [Mutex] isItemNotified: retracted:item:notifieditem-bbee5abc-28a7-48b7-89bc-77432f7ff1d5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.188s |
2020-09-20 22:30:00 |
2020-09-20 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:00 | ------------------------------------ 2020-09-20 22:30:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node><item-id>item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</item-id></data> 2020-09-20 22:30:01 | 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-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</value></node><item-id type="text-single" label="Item ID"><value>item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</value></item-id><item type="text-multi" label="Item"><value><item id="item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5"><test>item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5</test></item></value></item></result> 2020-09-20 22:30:01 | [Mutex] notify: [retrieved:item:item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5:payload-matches:true:localhost] 2020-09-20 22:30:01 | [Mutex] received everything. 2020-09-20 22:30:01 | [Mutex] isItemNotified: retrieved:item:item-bbee5abc-28a7-48b7-89bc-77432f7ff1d5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-20 22:30:01 |
2020-09-20 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:01 | ------------------------------------ 2020-09-20 22:30:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-20 22:30:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4fdfd5fc-b33c-46c2-81f7-61b1fd994bcd</value><value>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-09-20 22:30:01 |
2020-09-20 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:01 | ------------------------------------ 2020-09-20 22:30:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb)</node-pattern></data> 2020-09-20 22:30:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2020-09-20 22:29:59 |
2020-09-20 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:29:59 | ------------------------------------ 2020-09-20 22:29:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-20 22:29:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.340s |
2020-09-20 22:30:01 |
2020-09-20 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 22:30:01 | ------------------------------------ 2020-09-20 22:30:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-980e8323-b7ea-4155-9b22-d8d1af1bf2cb</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-20 22:30:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |