Test duration : 10.359s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2021-04-23 10:12:10 |
2021-04-23 10:12:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:10 | ------------------------------------ 2021-04-23 10:12:10 | [Mutex] waiting for: [configured:node:node-9a011797-b21f-4823-a295-07f8c98a654c:node-bcee8511-1f97-451e-9825-7d8b4b641d5c] 2021-04-23 10:12:11 | [Mutex] received everything. 2021-04-23 10:12:11 | [Mutex] isItemNotified: configured:node:node-9a011797-b21f-4823-a295-07f8c98a654c:node-bcee8511-1f97-451e-9825-7d8b4b641d5c :: true 2021-04-23 10:12:12 | [Mutex] waiting for: [received:nodes:0ee3aeda-d714-4149-b692-71fc29893f7f:localhost] 2021-04-23 10:12:12 | [Mutex] received everything. 2021-04-23 10:12:12 | [Mutex] isItemNotified: received:node:0ee3aeda-d714-4149-b692-71fc29893f7f:localhost:node-9a011797-b21f-4823-a295-07f8c98a654c:Node 9a011797-b21f-4823-a295-07f8c98a654c :: true 2021-04-23 10:12:12 | [Mutex] waiting for: [received:nodes:fc2cea84-c50f-45f5-8ed7-128b2a481816:localhost] 2021-04-23 10:12:12 | [Mutex] waiting for: [received:nodes:fc2cea84-c50f-45f5-8ed7-128b2a481816:localhost] 2021-04-23 10:12:12 | [Mutex] waiting for: [received:nodes:fc2cea84-c50f-45f5-8ed7-128b2a481816:localhost] 2021-04-23 10:12:12 | [Mutex] received everything. 2021-04-23 10:12:12 | [Mutex] isItemNotified: received:node:fc2cea84-c50f-45f5-8ed7-128b2a481816:localhost:node-9a011797-b21f-4823-a295-07f8c98a654c:Node 9a011797-b21f-4823-a295-07f8c98a654c :: false |
createNodes | 1.741s |
2021-04-23 10:12:08 |
2021-04-23 10:12:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:08 | ------------------------------------ 2021-04-23 10:12:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9a011797-b21f-4823-a295-07f8c98a654c</title></pubsub></data> 2021-04-23 10:12:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-23 10:12:09 | [Mutex] waiting for: [received:nodes:16cc4022-bdba-4d1a-beae-73ef34f7203d:localhost] 2021-04-23 10:12:09 | [Mutex] received everything. 2021-04-23 10:12:09 | [Mutex] isItemNotified: received:node:16cc4022-bdba-4d1a-beae-73ef34f7203d:localhost:node-9a011797-b21f-4823-a295-07f8c98a654c:Node 9a011797-b21f-4823-a295-07f8c98a654c :: true |
createSubnodes | 1.033s |
2021-04-23 10:12:09 |
2021-04-23 10:12:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:09 | ------------------------------------ 2021-04-23 10:12:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bcee8511-1f97-451e-9825-7d8b4b641d5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bcee8511-1f97-451e-9825-7d8b4b641d5c</title></pubsub></data> 2021-04-23 10:12:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-23 10:12:10 | [Mutex] waiting for: [received:nodes:4c43b013-602e-48c9-a6c9-172265552f1a:localhost] 2021-04-23 10:12:10 | [Mutex] received everything. 2021-04-23 10:12:10 | [Mutex] isItemNotified: received:node:4c43b013-602e-48c9-a6c9-172265552f1a:localhost:node-bcee8511-1f97-451e-9825-7d8b4b641d5c:Node bcee8511-1f97-451e-9825-7d8b4b641d5c :: true |
deleteNodes | 1.020s |
2021-04-23 10:12:16 |
2021-04-23 10:12:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:16 | ------------------------------------ 2021-04-23 10:12:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bcee8511-1f97-451e-9825-7d8b4b641d5c</node></data> 2021-04-23 10:12:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-23 10:12:17 | [Mutex] waiting for: [received:nodes:e058b0f8-c083-435f-a763-f3496993d265:localhost] 2021-04-23 10:12:17 | [Mutex] received everything. 2021-04-23 10:12:17 | [Mutex] isItemNotified: received:node:e058b0f8-c083-435f-a763-f3496993d265:localhost:node-bcee8511-1f97-451e-9825-7d8b4b641d5c:Node bcee8511-1f97-451e-9825-7d8b4b641d5c :: false |
deleteSubnodes | 1.131s |
2021-04-23 10:12:15 |
2021-04-23 10:12:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:15 | ------------------------------------ 2021-04-23 10:12:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node></data> 2021-04-23 10:12:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-23 10:12:16 | [Mutex] waiting for: [received:nodes:8ee68401-900f-4e57-bd0f-6a7f65c5f433:localhost] 2021-04-23 10:12:16 | [Mutex] received everything. 2021-04-23 10:12:16 | [Mutex] isItemNotified: received:node:8ee68401-900f-4e57-bd0f-6a7f65c5f433:localhost:node-9a011797-b21f-4823-a295-07f8c98a654c:Node 9a011797-b21f-4823-a295-07f8c98a654c :: false 2021-04-23 10:12:16 | [Mutex] waiting for: [received:nodes:a457c865-82b4-4af8-8fcb-6fbee0af802d:localhost] 2021-04-23 10:12:16 | [Mutex] received everything. 2021-04-23 10:12:16 | [Mutex] isItemNotified: received:node:a457c865-82b4-4af8-8fcb-6fbee0af802d:localhost:node-9a011797-b21f-4823-a295-07f8c98a654c:Node 9a011797-b21f-4823-a295-07f8c98a654c :: false |
publishItemsToNodes | 0.237s |
2021-04-23 10:12:13 |
2021-04-23 10:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:13 | ------------------------------------ 2021-04-23 10:12:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node><item-id>item-14b02c54-140b-4418-8ae4-0579630c04f3</item-id><entry><test>item-14b02c54-140b-4418-8ae4-0579630c04f3</test></entry></data> 2021-04-23 10:12:13 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-14b02c54-140b-4418-8ae4-0579630c04f3</value></item-id></result> 2021-04-23 10:12:13 | [Mutex] received everything. 2021-04-23 10:12:13 | [Mutex] isItemNotified: published:item:notifieditem-14b02c54-140b-4418-8ae4-0579630c04f3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.212s |
2021-04-23 10:12:13 |
2021-04-23 10:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:13 | ------------------------------------ 2021-04-23 10:12:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node><item-id>item-14b02c54-140b-4418-8ae4-0579630c04f3</item-id></data> 2021-04-23 10:12:14 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-14b02c54-140b-4418-8ae4-0579630c04f3</value></item-id></result> 2021-04-23 10:12:14 | [Mutex] received everything. 2021-04-23 10:12:14 | [Mutex] isItemNotified: retracted:item:notifieditem-14b02c54-140b-4418-8ae4-0579630c04f3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.392s |
2021-04-23 10:12:13 |
2021-04-23 10:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:13 | ------------------------------------ 2021-04-23 10:12:13 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node><item-id>item-14b02c54-140b-4418-8ae4-0579630c04f3</item-id></data> 2021-04-23 10:12:13 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-9a011797-b21f-4823-a295-07f8c98a654c</value></node><item-id label="Item ID" type="text-single"><value>item-14b02c54-140b-4418-8ae4-0579630c04f3</value></item-id><item label="Item" type="text-multi"><value><item id="item-14b02c54-140b-4418-8ae4-0579630c04f3"><test>item-14b02c54-140b-4418-8ae4-0579630c04f3</test></item></value></item></result> 2021-04-23 10:12:13 | [Mutex] notify: [retrieved:item:item-14b02c54-140b-4418-8ae4-0579630c04f3:payload-matches:true:localhost] 2021-04-23 10:12:13 | [Mutex] received everything. 2021-04-23 10:12:13 | [Mutex] isItemNotified: retrieved:item:item-14b02c54-140b-4418-8ae4-0579630c04f3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-04-23 10:12:13 |
2021-04-23 10:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:13 | ------------------------------------ 2021-04-23 10:12:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-23 10:12:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-9a011797-b21f-4823-a295-07f8c98a654c</value><value>test</value><value>node-bcee8511-1f97-451e-9825-7d8b4b641d5c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-04-23 10:12:13 |
2021-04-23 10:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:13 | ------------------------------------ 2021-04-23 10:12:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9a011797-b21f-4823-a295-07f8c98a654c)</node-pattern></data> 2021-04-23 10:12:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.167s |
2021-04-23 10:12:12 |
2021-04-23 10:12:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:12 | ------------------------------------ 2021-04-23 10:12:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-23 10:12:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.314s |
2021-04-23 10:12:14 |
2021-04-23 10:12:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-23 10:12:14 | ------------------------------------ 2021-04-23 10:12:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9a011797-b21f-4823-a295-07f8c98a654c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-23 10:12:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |