Test duration : 10.190s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.217s |
2021-05-06 23:05:57 |
2021-05-06 23:05:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:05:57 | ------------------------------------ 2021-05-06 23:05:57 | [Mutex] waiting for: [configured:node:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee] 2021-05-06 23:05:57 | [Mutex] received everything. 2021-05-06 23:05:57 | [Mutex] isItemNotified: configured:node:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee :: true 2021-05-06 23:05:58 | [Mutex] waiting for: [received:nodes:6966b9cd-1f36-432e-aa85-79ef1ba8aed5:localhost] 2021-05-06 23:05:58 | [Mutex] received everything. 2021-05-06 23:05:58 | [Mutex] isItemNotified: received:node:6966b9cd-1f36-432e-aa85-79ef1ba8aed5:localhost:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:Node 838ebd54-7bd8-4643-a028-aa2648fa2e61 :: true 2021-05-06 23:05:58 | [Mutex] waiting for: [received:nodes:26f03bee-a414-4fcb-9fbb-0b422d34d309:localhost] 2021-05-06 23:05:58 | [Mutex] received everything. 2021-05-06 23:05:58 | [Mutex] isItemNotified: received:node:26f03bee-a414-4fcb-9fbb-0b422d34d309:localhost:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:Node 838ebd54-7bd8-4643-a028-aa2648fa2e61 :: false |
createNodes | 1.505s |
2021-05-06 23:05:54 |
2021-05-06 23:05:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:05:54 | ------------------------------------ 2021-05-06 23:05:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 838ebd54-7bd8-4643-a028-aa2648fa2e61</title></pubsub></data> 2021-05-06 23:05:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:05:56 | [Mutex] waiting for: [received:nodes:a5a7eed5-7cfc-4759-ae1a-1de9239974ea:localhost] 2021-05-06 23:05:56 | [Mutex] received everything. 2021-05-06 23:05:56 | [Mutex] isItemNotified: received:node:a5a7eed5-7cfc-4759-ae1a-1de9239974ea:localhost:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:Node 838ebd54-7bd8-4643-a028-aa2648fa2e61 :: true |
createSubnodes | 1.029s |
2021-05-06 23:05:56 |
2021-05-06 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:05:56 | ------------------------------------ 2021-05-06 23:05:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eba2c017-ffdd-42b6-bf9c-da1554f6e4ee</title></pubsub></data> 2021-05-06 23:05:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:05:57 | [Mutex] waiting for: [received:nodes:96d86839-4dee-4e09-8165-353aced967bf:localhost] 2021-05-06 23:05:57 | [Mutex] received everything. 2021-05-06 23:05:57 | [Mutex] isItemNotified: received:node:96d86839-4dee-4e09-8165-353aced967bf:localhost:node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee:Node eba2c017-ffdd-42b6-bf9c-da1554f6e4ee :: true |
deleteNodes | 1.023s |
2021-05-06 23:06:02 |
2021-05-06 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:06:02 | ------------------------------------ 2021-05-06 23:06:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee</node></data> 2021-05-06 23:06:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:06:03 | [Mutex] waiting for: [received:nodes:7856cd1b-dd86-408d-888f-5d6ce831e128:localhost] 2021-05-06 23:06:03 | [Mutex] received everything. 2021-05-06 23:06:03 | [Mutex] isItemNotified: received:node:7856cd1b-dd86-408d-888f-5d6ce831e128:localhost:node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee:Node eba2c017-ffdd-42b6-bf9c-da1554f6e4ee :: false |
deleteSubnodes | 1.154s |
2021-05-06 23:06:01 |
2021-05-06 23:06:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:06:01 | ------------------------------------ 2021-05-06 23:06:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node></data> 2021-05-06 23:06:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:06:02 | [Mutex] waiting for: [received:nodes:0b1c5295-ab8f-4253-a939-3aa41826da04:localhost] 2021-05-06 23:06:02 | [Mutex] received everything. 2021-05-06 23:06:02 | [Mutex] isItemNotified: received:node:0b1c5295-ab8f-4253-a939-3aa41826da04:localhost:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:Node 838ebd54-7bd8-4643-a028-aa2648fa2e61 :: false 2021-05-06 23:06:02 | [Mutex] waiting for: [received:nodes:c220313a-ba88-4e93-b9bf-0fc2454fe7c6:localhost] 2021-05-06 23:06:02 | [Mutex] received everything. 2021-05-06 23:06:02 | [Mutex] isItemNotified: received:node:c220313a-ba88-4e93-b9bf-0fc2454fe7c6:localhost:node-838ebd54-7bd8-4643-a028-aa2648fa2e61:Node 838ebd54-7bd8-4643-a028-aa2648fa2e61 :: false |
publishItemsToNodes | 0.206s |
2021-05-06 23:05:59 |
2021-05-06 23:05:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:05:59 | ------------------------------------ 2021-05-06 23:05:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node><item-id>item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</item-id><entry><test>item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</test></entry></data> 2021-05-06 23:05:59 | 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-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</value></item-id></result> 2021-05-06 23:05:59 | [Mutex] received everything. 2021-05-06 23:05:59 | [Mutex] isItemNotified: published:item:notifieditem-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89:admin@test-domain.com :: true |
retractItemsFromNodes | 0.194s |
2021-05-06 23:06:00 |
2021-05-06 23:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:06:00 | ------------------------------------ 2021-05-06 23:06:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node><item-id>item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</item-id></data> 2021-05-06 23:06:00 | 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-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</value></item-id></result> 2021-05-06 23:06:00 | [Mutex] received everything. 2021-05-06 23:06:00 | [Mutex] isItemNotified: retracted:item:notifieditem-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.295s |
2021-05-06 23:05:59 |
2021-05-06 23:05:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:05:59 | ------------------------------------ 2021-05-06 23:05:59 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node><item-id>item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</item-id></data> 2021-05-06 23:06:00 | 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-838ebd54-7bd8-4643-a028-aa2648fa2e61</value></node><item-id type="text-single" label="Item ID"><value>item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</value></item-id><item type="text-multi" label="Item"><value><item id="item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89"><test>item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89</test></item></value></item></result> 2021-05-06 23:06:00 | [Mutex] notify: [retrieved:item:item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89:payload-matches:true:localhost] 2021-05-06 23:06:00 | [Mutex] received everything. 2021-05-06 23:06:00 | [Mutex] isItemNotified: retrieved:item:item-24c8ae4f-a6ec-4ef5-86d8-61d3bb90cc89:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-06 23:06:00 |
2021-05-06 23:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:06:00 | ------------------------------------ 2021-05-06 23:06:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-06 23:06:00 | 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-838ebd54-7bd8-4643-a028-aa2648fa2e61</value><value>node-eba2c017-ffdd-42b6-bf9c-da1554f6e4ee</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-05-06 23:06:00 |
2021-05-06 23:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:06:00 | ------------------------------------ 2021-05-06 23:06:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-838ebd54-7bd8-4643-a028-aa2648fa2e61)</node-pattern></data> 2021-05-06 23:06:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.222s |
2021-05-06 23:05:58 |
2021-05-06 23:05:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:05:58 | ------------------------------------ 2021-05-06 23:05:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 23:05:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.347s |
2021-05-06 23:06:00 |
2021-05-06 23:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:06:00 | ------------------------------------ 2021-05-06 23:06:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-838ebd54-7bd8-4643-a028-aa2648fa2e61</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 23:06:00 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |