Test duration : 10.400s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2022-02-16 07:40:38 |
2022-02-16 07:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:38 | ------------------------------------ 2022-02-16 07:40:38 | [Mutex] waiting for: [configured:node:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:node-57230520-cb50-43a3-aafe-3df80ea7a164] 2022-02-16 07:40:38 | [Mutex] received everything. 2022-02-16 07:40:38 | [Mutex] isItemNotified: configured:node:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:node-57230520-cb50-43a3-aafe-3df80ea7a164 :: true 2022-02-16 07:40:39 | [Mutex] waiting for: [received:nodes:4386d7bf-b086-473e-85d7-8a356c9616a5:localhost] 2022-02-16 07:40:39 | [Mutex] received everything. 2022-02-16 07:40:39 | [Mutex] isItemNotified: received:node:4386d7bf-b086-473e-85d7-8a356c9616a5:localhost:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:Node 02bcf7ad-49b0-423a-b571-80ac21c1aa16 :: true 2022-02-16 07:40:39 | [Mutex] waiting for: [received:nodes:b30053d4-a9eb-4b8d-8f90-fd4d6875ac0f:localhost] 2022-02-16 07:40:39 | [Mutex] waiting for: [received:nodes:b30053d4-a9eb-4b8d-8f90-fd4d6875ac0f:localhost] 2022-02-16 07:40:39 | [Mutex] received everything. 2022-02-16 07:40:39 | [Mutex] isItemNotified: received:node:b30053d4-a9eb-4b8d-8f90-fd4d6875ac0f:localhost:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:Node 02bcf7ad-49b0-423a-b571-80ac21c1aa16 :: false |
createNodes | 1.579s |
2022-02-16 07:40:35 |
2022-02-16 07:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:35 | ------------------------------------ 2022-02-16 07:40:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 02bcf7ad-49b0-423a-b571-80ac21c1aa16</title></pubsub></data> 2022-02-16 07:40:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 07:40:37 | [Mutex] waiting for: [received:nodes:ebe1e291-3882-48f0-83a8-2b7b5bafcb28:localhost] 2022-02-16 07:40:37 | [Mutex] received everything. 2022-02-16 07:40:37 | [Mutex] isItemNotified: received:node:ebe1e291-3882-48f0-83a8-2b7b5bafcb28:localhost:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:Node 02bcf7ad-49b0-423a-b571-80ac21c1aa16 :: true |
createSubnodes | 1.035s |
2022-02-16 07:40:37 |
2022-02-16 07:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:37 | ------------------------------------ 2022-02-16 07:40:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-57230520-cb50-43a3-aafe-3df80ea7a164</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 57230520-cb50-43a3-aafe-3df80ea7a164</title></pubsub></data> 2022-02-16 07:40:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 07:40:38 | [Mutex] waiting for: [received:nodes:0c83f0a4-4776-49dc-b8bb-e0b1c1b1bdcd:localhost] 2022-02-16 07:40:38 | [Mutex] received everything. 2022-02-16 07:40:38 | [Mutex] isItemNotified: received:node:0c83f0a4-4776-49dc-b8bb-e0b1c1b1bdcd:localhost:node-57230520-cb50-43a3-aafe-3df80ea7a164:Node 57230520-cb50-43a3-aafe-3df80ea7a164 :: true |
deleteNodes | 1.021s |
2022-02-16 07:40:44 |
2022-02-16 07:40:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:44 | ------------------------------------ 2022-02-16 07:40:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-57230520-cb50-43a3-aafe-3df80ea7a164</node></data> 2022-02-16 07:40:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 07:40:45 | [Mutex] waiting for: [received:nodes:18c72eb4-97fc-4804-b87b-9eec2e9e4523:localhost] 2022-02-16 07:40:45 | [Mutex] received everything. 2022-02-16 07:40:45 | [Mutex] isItemNotified: received:node:18c72eb4-97fc-4804-b87b-9eec2e9e4523:localhost:node-57230520-cb50-43a3-aafe-3df80ea7a164:Node 57230520-cb50-43a3-aafe-3df80ea7a164 :: false |
deleteSubnodes | 1.148s |
2022-02-16 07:40:43 |
2022-02-16 07:40:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:43 | ------------------------------------ 2022-02-16 07:40:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node></data> 2022-02-16 07:40:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 07:40:44 | [Mutex] waiting for: [received:nodes:954ad468-e6cd-4e7f-a3a5-5eccd47e69e0:localhost] 2022-02-16 07:40:44 | [Mutex] waiting for: [received:nodes:954ad468-e6cd-4e7f-a3a5-5eccd47e69e0:localhost] 2022-02-16 07:40:44 | [Mutex] received everything. 2022-02-16 07:40:44 | [Mutex] isItemNotified: received:node:954ad468-e6cd-4e7f-a3a5-5eccd47e69e0:localhost:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:Node 02bcf7ad-49b0-423a-b571-80ac21c1aa16 :: false 2022-02-16 07:40:44 | [Mutex] waiting for: [received:nodes:c7471ffb-3009-4c04-9705-1f8b3a507a01:localhost] 2022-02-16 07:40:44 | [Mutex] received everything. 2022-02-16 07:40:44 | [Mutex] isItemNotified: received:node:c7471ffb-3009-4c04-9705-1f8b3a507a01:localhost:node-02bcf7ad-49b0-423a-b571-80ac21c1aa16:Node 02bcf7ad-49b0-423a-b571-80ac21c1aa16 :: false |
publishItemsToNodes | 0.257s |
2022-02-16 07:40:40 |
2022-02-16 07:40:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:40 | ------------------------------------ 2022-02-16 07:40:40 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node><item-id>item-6106cd54-9eef-4c60-8038-076b77426f7b</item-id><entry><test>item-6106cd54-9eef-4c60-8038-076b77426f7b</test></entry></data> 2022-02-16 07:40:41 | 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-6106cd54-9eef-4c60-8038-076b77426f7b</value></item-id></result> 2022-02-16 07:40:41 | [Mutex] received everything. 2022-02-16 07:40:41 | [Mutex] isItemNotified: published:item:notifieditem-6106cd54-9eef-4c60-8038-076b77426f7b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.332s |
2022-02-16 07:40:41 |
2022-02-16 07:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:41 | ------------------------------------ 2022-02-16 07:40:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node><item-id>item-6106cd54-9eef-4c60-8038-076b77426f7b</item-id></data> 2022-02-16 07:40:41 | 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-6106cd54-9eef-4c60-8038-076b77426f7b</value></item-id></result> 2022-02-16 07:40:41 | [Mutex] waiting for: [retracted:item:notifieditem-6106cd54-9eef-4c60-8038-076b77426f7b:admin@test-domain.com] 2022-02-16 07:40:41 | [Mutex] received everything. 2022-02-16 07:40:41 | [Mutex] isItemNotified: retracted:item:notifieditem-6106cd54-9eef-4c60-8038-076b77426f7b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.380s |
2022-02-16 07:40:41 |
2022-02-16 07:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:41 | ------------------------------------ 2022-02-16 07:40:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node><item-id>item-6106cd54-9eef-4c60-8038-076b77426f7b</item-id></data> 2022-02-16 07:40:41 | 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-02bcf7ad-49b0-423a-b571-80ac21c1aa16</value></node><item-id type="text-single" label="Item ID"><value>item-6106cd54-9eef-4c60-8038-076b77426f7b</value></item-id><item type="text-multi" label="Item"><value><item id="item-6106cd54-9eef-4c60-8038-076b77426f7b"><test>item-6106cd54-9eef-4c60-8038-076b77426f7b</test></item></value></item></result> 2022-02-16 07:40:41 | [Mutex] notify: [retrieved:item:item-6106cd54-9eef-4c60-8038-076b77426f7b:payload-matches:true:localhost] 2022-02-16 07:40:41 | [Mutex] received everything. 2022-02-16 07:40:41 | [Mutex] isItemNotified: retrieved:item:item-6106cd54-9eef-4c60-8038-076b77426f7b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-16 07:40:41 |
2022-02-16 07:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:41 | ------------------------------------ 2022-02-16 07:40:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-16 07:40:41 | 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-02bcf7ad-49b0-423a-b571-80ac21c1aa16</value><value>node-57230520-cb50-43a3-aafe-3df80ea7a164</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-16 07:40:41 |
2022-02-16 07:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:41 | ------------------------------------ 2022-02-16 07:40:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-02bcf7ad-49b0-423a-b571-80ac21c1aa16)</node-pattern></data> 2022-02-16 07:40:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.141s |
2022-02-16 07:40:39 |
2022-02-16 07:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:39 | ------------------------------------ 2022-02-16 07:40:39 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-16 07:40:39 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.310s |
2022-02-16 07:40:41 |
2022-02-16 07:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 07:40:41 | ------------------------------------ 2022-02-16 07:40:41 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-02bcf7ad-49b0-423a-b571-80ac21c1aa16</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-16 07:40:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |