Test duration: 10.384s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-01-15 19:21:55 |
2020-01-15 19:21:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:55 | ------------------------------------ 2020-01-15 19:21:55 | [Mutex] waiting for: [configured:node:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:node-396d37dc-7e1a-4408-8edd-7685a6bbbf42] 2020-01-15 19:21:55 | [Mutex] received everything. 2020-01-15 19:21:55 | [Mutex] isItemNotified: configured:node:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:node-396d37dc-7e1a-4408-8edd-7685a6bbbf42 :: true 2020-01-15 19:21:56 | [Mutex] waiting for: [received:nodes:b7b1bbd5-e948-4db4-a40b-c6f2eac3ab0b:localhost] 2020-01-15 19:21:56 | [Mutex] received everything. 2020-01-15 19:21:56 | [Mutex] isItemNotified: received:node:b7b1bbd5-e948-4db4-a40b-c6f2eac3ab0b:localhost:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:Node 5a96a22e-fda5-4821-92de-89bb3c42b69f :: true 2020-01-15 19:21:56 | [Mutex] waiting for: [received:nodes:33e5b371-d594-4fe4-aea8-26fa97cad843:localhost] 2020-01-15 19:21:56 | [Mutex] received everything. 2020-01-15 19:21:56 | [Mutex] isItemNotified: received:node:33e5b371-d594-4fe4-aea8-26fa97cad843:localhost:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:Node 5a96a22e-fda5-4821-92de-89bb3c42b69f :: false |
createNodes | 1.643s |
2020-01-15 19:21:53 |
2020-01-15 19:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:53 | ------------------------------------ 2020-01-15 19:21:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5a96a22e-fda5-4821-92de-89bb3c42b69f</title></pubsub></data> 2020-01-15 19:21:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-15 19:21:54 | [Mutex] waiting for: [received:nodes:5031de8a-3f04-4fec-b4ff-7bc21cf8c4e9:localhost] 2020-01-15 19:21:54 | [Mutex] received everything. 2020-01-15 19:21:54 | [Mutex] isItemNotified: received:node:5031de8a-3f04-4fec-b4ff-7bc21cf8c4e9:localhost:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:Node 5a96a22e-fda5-4821-92de-89bb3c42b69f :: true |
createSubnodes | 1.031s |
2020-01-15 19:21:54 |
2020-01-15 19:21:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:54 | ------------------------------------ 2020-01-15 19:21:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-396d37dc-7e1a-4408-8edd-7685a6bbbf42</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 396d37dc-7e1a-4408-8edd-7685a6bbbf42</title></pubsub></data> 2020-01-15 19:21:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-15 19:21:55 | [Mutex] waiting for: [received:nodes:cfbabef2-ea95-4637-a619-17e73e6b1ae0:localhost] 2020-01-15 19:21:55 | [Mutex] received everything. 2020-01-15 19:21:55 | [Mutex] isItemNotified: received:node:cfbabef2-ea95-4637-a619-17e73e6b1ae0:localhost:node-396d37dc-7e1a-4408-8edd-7685a6bbbf42:Node 396d37dc-7e1a-4408-8edd-7685a6bbbf42 :: true |
deleteNodes | 1.025s |
2020-01-15 19:22:01 |
2020-01-15 19:22:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:22:01 | ------------------------------------ 2020-01-15 19:22:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-396d37dc-7e1a-4408-8edd-7685a6bbbf42</node></data> 2020-01-15 19:22:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-15 19:22:02 | [Mutex] waiting for: [received:nodes:91df6b00-fd03-415e-ad59-f244118b3f44:localhost] 2020-01-15 19:22:02 | [Mutex] received everything. 2020-01-15 19:22:02 | [Mutex] isItemNotified: received:node:91df6b00-fd03-415e-ad59-f244118b3f44:localhost:node-396d37dc-7e1a-4408-8edd-7685a6bbbf42:Node 396d37dc-7e1a-4408-8edd-7685a6bbbf42 :: false |
deleteSubnodes | 1.179s |
2020-01-15 19:22:00 |
2020-01-15 19:22:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:22:00 | ------------------------------------ 2020-01-15 19:22:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node></data> 2020-01-15 19:22:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-15 19:22:01 | [Mutex] waiting for: [received:nodes:5b2f94a0-7aa9-4d77-8e54-11ec6711d45d:localhost] 2020-01-15 19:22:01 | [Mutex] received everything. 2020-01-15 19:22:01 | [Mutex] isItemNotified: received:node:5b2f94a0-7aa9-4d77-8e54-11ec6711d45d:localhost:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:Node 5a96a22e-fda5-4821-92de-89bb3c42b69f :: false 2020-01-15 19:22:01 | [Mutex] waiting for: [received:nodes:9803da9e-842b-421f-b818-f8333965e868:localhost] 2020-01-15 19:22:01 | [Mutex] received everything. 2020-01-15 19:22:01 | [Mutex] isItemNotified: received:node:9803da9e-842b-421f-b818-f8333965e868:localhost:node-5a96a22e-fda5-4821-92de-89bb3c42b69f:Node 5a96a22e-fda5-4821-92de-89bb3c42b69f :: false |
publishItemsToNodes | 0.216s |
2020-01-15 19:21:58 |
2020-01-15 19:21:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:58 | ------------------------------------ 2020-01-15 19:21:58 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node><item-id>item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</item-id><entry><test>item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</test></entry></data> 2020-01-15 19:21:58 | 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-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</value></item-id></result> 2020-01-15 19:21:58 | [Mutex] waiting for: [published:item:notifieditem-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c:admin@localhost] 2020-01-15 19:21:58 | [Mutex] received everything. 2020-01-15 19:21:58 | [Mutex] isItemNotified: published:item:notifieditem-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c:admin@localhost :: true |
retractItemsFromNodes | 0.324s |
2020-01-15 19:21:58 |
2020-01-15 19:21:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:58 | ------------------------------------ 2020-01-15 19:21:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node><item-id>item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</item-id></data> 2020-01-15 19:21:59 | 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-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</value></item-id></result> 2020-01-15 19:21:59 | [Mutex] waiting for: [retracted:item:notifieditem-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c:admin@localhost] 2020-01-15 19:21:59 | [Mutex] received everything. 2020-01-15 19:21:59 | [Mutex] isItemNotified: retracted:item:notifieditem-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c:admin@localhost :: true |
retrieveItemsFromNodes | 0.180s |
2020-01-15 19:21:58 |
2020-01-15 19:21:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:58 | ------------------------------------ 2020-01-15 19:21:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node><item-id>item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</item-id></data> 2020-01-15 19:21:58 | 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-5a96a22e-fda5-4821-92de-89bb3c42b69f</value></node><item-id type="text-single" label="Item ID"><value>item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</value></item-id><item type="text-multi" label="Item"><value><item id="item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c"><test>item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c</test></item></value></item></result> 2020-01-15 19:21:58 | [Mutex] notify: [retrieved:item:item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c:payload-matches:true:localhost] 2020-01-15 19:21:58 | [Mutex] received everything. 2020-01-15 19:21:58 | [Mutex] isItemNotified: retrieved:item:item-cfc029ea-b1d5-4e8e-be96-45da5ad2c68c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.252s |
2020-01-15 19:21:58 |
2020-01-15 19:21:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:58 | ------------------------------------ 2020-01-15 19:21:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-01-15 19:21:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</value><value>node-396d37dc-7e1a-4408-8edd-7685a6bbbf42</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-01-15 19:21:58 |
2020-01-15 19:21:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:58 | ------------------------------------ 2020-01-15 19:21:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-5a96a22e-fda5-4821-92de-89bb3c42b69f)</node-pattern></data> 2020-01-15 19:21:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.158s |
2020-01-15 19:21:56 |
2020-01-15 19:21:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:56 | ------------------------------------ 2020-01-15 19:21:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node><jids><value>admin@localhost</value></jids></data> 2020-01-15 19:21:57 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.169s |
2020-01-15 19:21:59 |
2020-01-15 19:21:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-15 19:21:59 | ------------------------------------ 2020-01-15 19:21:59 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5a96a22e-fda5-4821-92de-89bb3c42b69f</node><jids><value>admin@localhost</value></jids></data> 2020-01-15 19:21:59 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |