Test duration : 9.358s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-12-25 21:31:10 |
2022-12-25 21:31:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:10 | ------------------------------------ 2022-12-25 21:31:10 | [Mutex] waiting for: [configured:node:node-8a0df550-7e33-4897-987d-4f809d7ca054:node-ada35d52-c01d-47d2-b971-fb7df81de30e] 2022-12-25 21:31:10 | [Mutex] received everything. 2022-12-25 21:31:10 | [Mutex] isItemNotified: configured:node:node-8a0df550-7e33-4897-987d-4f809d7ca054:node-ada35d52-c01d-47d2-b971-fb7df81de30e :: true 2022-12-25 21:31:11 | [Mutex] waiting for: [received:nodes:7faef109-9925-45e6-8ec5-1d58a398ec44:localhost] 2022-12-25 21:31:11 | [Mutex] received everything. 2022-12-25 21:31:11 | [Mutex] isItemNotified: received:node:7faef109-9925-45e6-8ec5-1d58a398ec44:localhost:node-8a0df550-7e33-4897-987d-4f809d7ca054:Node 8a0df550-7e33-4897-987d-4f809d7ca054 :: true 2022-12-25 21:31:11 | [Mutex] waiting for: [received:nodes:9d46bdc5-b891-4408-b8d7-141941b03c5e:localhost] 2022-12-25 21:31:11 | [Mutex] waiting for: [received:nodes:9d46bdc5-b891-4408-b8d7-141941b03c5e:localhost] 2022-12-25 21:31:11 | [Mutex] waiting for: [received:nodes:9d46bdc5-b891-4408-b8d7-141941b03c5e:localhost] 2022-12-25 21:31:11 | [Mutex] waiting for: [received:nodes:9d46bdc5-b891-4408-b8d7-141941b03c5e:localhost] 2022-12-25 21:31:11 | [Mutex] received everything. 2022-12-25 21:31:11 | [Mutex] isItemNotified: received:node:9d46bdc5-b891-4408-b8d7-141941b03c5e:localhost:node-8a0df550-7e33-4897-987d-4f809d7ca054:Node 8a0df550-7e33-4897-987d-4f809d7ca054 :: false |
createNodes | 1.405s |
2022-12-25 21:31:08 |
2022-12-25 21:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:08 | ------------------------------------ 2022-12-25 21:31:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8a0df550-7e33-4897-987d-4f809d7ca054</title></pubsub></data> 2022-12-25 21:31:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:31:09 | [Mutex] waiting for: [received:nodes:22dc5581-ea94-4053-83cc-f44b0f07914d:localhost] 2022-12-25 21:31:09 | [Mutex] received everything. 2022-12-25 21:31:09 | [Mutex] isItemNotified: received:node:22dc5581-ea94-4053-83cc-f44b0f07914d:localhost:node-8a0df550-7e33-4897-987d-4f809d7ca054:Node 8a0df550-7e33-4897-987d-4f809d7ca054 :: true |
createSubnodes | 1.023s |
2022-12-25 21:31:09 |
2022-12-25 21:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:09 | ------------------------------------ 2022-12-25 21:31:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ada35d52-c01d-47d2-b971-fb7df81de30e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ada35d52-c01d-47d2-b971-fb7df81de30e</title></pubsub></data> 2022-12-25 21:31:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:31:10 | [Mutex] waiting for: [received:nodes:b27fce9d-3b27-4aee-8882-44277b39a3f4:localhost] 2022-12-25 21:31:10 | [Mutex] waiting for: [received:nodes:b27fce9d-3b27-4aee-8882-44277b39a3f4:localhost] 2022-12-25 21:31:10 | [Mutex] waiting for: [received:nodes:b27fce9d-3b27-4aee-8882-44277b39a3f4:localhost] 2022-12-25 21:31:10 | [Mutex] waiting for: [received:nodes:b27fce9d-3b27-4aee-8882-44277b39a3f4:localhost] 2022-12-25 21:31:10 | [Mutex] received everything. 2022-12-25 21:31:10 | [Mutex] isItemNotified: received:node:b27fce9d-3b27-4aee-8882-44277b39a3f4:localhost:node-ada35d52-c01d-47d2-b971-fb7df81de30e:Node ada35d52-c01d-47d2-b971-fb7df81de30e :: true |
deleteNodes | 1.016s |
2022-12-25 21:31:15 |
2022-12-25 21:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:15 | ------------------------------------ 2022-12-25 21:31:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ada35d52-c01d-47d2-b971-fb7df81de30e</node></data> 2022-12-25 21:31:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:31:16 | [Mutex] waiting for: [received:nodes:7ef78910-4e89-4a7b-9f94-a6bc7d60aedb:localhost] 2022-12-25 21:31:16 | [Mutex] waiting for: [received:nodes:7ef78910-4e89-4a7b-9f94-a6bc7d60aedb:localhost] 2022-12-25 21:31:16 | [Mutex] waiting for: [received:nodes:7ef78910-4e89-4a7b-9f94-a6bc7d60aedb:localhost] 2022-12-25 21:31:16 | [Mutex] received everything. 2022-12-25 21:31:16 | [Mutex] isItemNotified: received:node:7ef78910-4e89-4a7b-9f94-a6bc7d60aedb:localhost:node-ada35d52-c01d-47d2-b971-fb7df81de30e:Node ada35d52-c01d-47d2-b971-fb7df81de30e :: false |
deleteSubnodes | 1.121s |
2022-12-25 21:31:14 |
2022-12-25 21:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:14 | ------------------------------------ 2022-12-25 21:31:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node></data> 2022-12-25 21:31:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:31:15 | [Mutex] waiting for: [received:nodes:5ddb862c-8834-430f-82f7-428fb881f00f:localhost] 2022-12-25 21:31:15 | [Mutex] waiting for: [received:nodes:5ddb862c-8834-430f-82f7-428fb881f00f:localhost] 2022-12-25 21:31:15 | [Mutex] waiting for: [received:nodes:5ddb862c-8834-430f-82f7-428fb881f00f:localhost] 2022-12-25 21:31:15 | [Mutex] waiting for: [received:nodes:5ddb862c-8834-430f-82f7-428fb881f00f:localhost] 2022-12-25 21:31:15 | [Mutex] received everything. 2022-12-25 21:31:15 | [Mutex] isItemNotified: received:node:5ddb862c-8834-430f-82f7-428fb881f00f:localhost:node-8a0df550-7e33-4897-987d-4f809d7ca054:Node 8a0df550-7e33-4897-987d-4f809d7ca054 :: false 2022-12-25 21:31:15 | [Mutex] waiting for: [received:nodes:96e7794e-6a04-4c8a-b82a-1ad0e127c901:localhost] 2022-12-25 21:31:15 | [Mutex] received everything. 2022-12-25 21:31:15 | [Mutex] isItemNotified: received:node:96e7794e-6a04-4c8a-b82a-1ad0e127c901:localhost:node-8a0df550-7e33-4897-987d-4f809d7ca054:Node 8a0df550-7e33-4897-987d-4f809d7ca054 :: false |
publishItemsToNodes | 0.227s |
2022-12-25 21:31:12 |
2022-12-25 21:31:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:12 | ------------------------------------ 2022-12-25 21:31:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node><item-id>item-0ed603ef-a26b-4643-be7d-73e74f533453</item-id><entry><test>item-0ed603ef-a26b-4643-be7d-73e74f533453</test></entry></data> 2022-12-25 21:31:12 | 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-0ed603ef-a26b-4643-be7d-73e74f533453</value></item-id></result> 2022-12-25 21:31:12 | [Mutex] waiting for: [published:item:notifieditem-0ed603ef-a26b-4643-be7d-73e74f533453:admin@test-domain.com] 2022-12-25 21:31:12 | [Mutex] received everything. 2022-12-25 21:31:12 | [Mutex] isItemNotified: published:item:notifieditem-0ed603ef-a26b-4643-be7d-73e74f533453:admin@test-domain.com :: true |
retractItemsFromNodes | 0.270s |
2022-12-25 21:31:13 |
2022-12-25 21:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:13 | ------------------------------------ 2022-12-25 21:31:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node><item-id>item-0ed603ef-a26b-4643-be7d-73e74f533453</item-id></data> 2022-12-25 21:31:13 | 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-0ed603ef-a26b-4643-be7d-73e74f533453</value></item-id></result> 2022-12-25 21:31:13 | [Mutex] received everything. 2022-12-25 21:31:13 | [Mutex] isItemNotified: retracted:item:notifieditem-0ed603ef-a26b-4643-be7d-73e74f533453:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.168s |
2022-12-25 21:31:12 |
2022-12-25 21:31:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:12 | ------------------------------------ 2022-12-25 21:31:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node><item-id>item-0ed603ef-a26b-4643-be7d-73e74f533453</item-id></data> 2022-12-25 21:31:13 | 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-8a0df550-7e33-4897-987d-4f809d7ca054</value></node><item-id type="text-single" label="Item ID"><value>item-0ed603ef-a26b-4643-be7d-73e74f533453</value></item-id><item type="text-multi" label="Item"><value><item id="item-0ed603ef-a26b-4643-be7d-73e74f533453"><test>item-0ed603ef-a26b-4643-be7d-73e74f533453</test></item></value></item></result> 2022-12-25 21:31:13 | [Mutex] notify: [retrieved:item:item-0ed603ef-a26b-4643-be7d-73e74f533453:payload-matches:true:localhost] 2022-12-25 21:31:13 | [Mutex] received everything. 2022-12-25 21:31:13 | [Mutex] isItemNotified: retrieved:item:item-0ed603ef-a26b-4643-be7d-73e74f533453:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-25 21:31:13 |
2022-12-25 21:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:13 | ------------------------------------ 2022-12-25 21:31:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-25 21:31:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-ada35d52-c01d-47d2-b971-fb7df81de30e</value><value>test</value><value>node-8a0df550-7e33-4897-987d-4f809d7ca054</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-12-25 21:31:13 |
2022-12-25 21:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:13 | ------------------------------------ 2022-12-25 21:31: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-8a0df550-7e33-4897-987d-4f809d7ca054)</node-pattern></data> 2022-12-25 21:31:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.122s |
2022-12-25 21:31:11 |
2022-12-25 21:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:11 | ------------------------------------ 2022-12-25 21:31:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-25 21:31:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.204s |
2022-12-25 21:31:13 |
2022-12-25 21:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:31:13 | ------------------------------------ 2022-12-25 21:31:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8a0df550-7e33-4897-987d-4f809d7ca054</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-25 21:31:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |