Test duration : 9.435s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-08-23 23:04:43 |
2022-08-23 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:43 | ------------------------------------ 2022-08-23 23:04:43 | [Mutex] waiting for: [configured:node:node-ae99039c-06a9-44b2-92dd-e007febd45b1:node-bcb72202-066b-416d-88a6-f35707bac390] 2022-08-23 23:04:43 | [Mutex] received everything. 2022-08-23 23:04:43 | [Mutex] isItemNotified: configured:node:node-ae99039c-06a9-44b2-92dd-e007febd45b1:node-bcb72202-066b-416d-88a6-f35707bac390 :: true 2022-08-23 23:04:44 | [Mutex] waiting for: [received:nodes:20b6308a-59f4-4081-80f7-612ef23e9846:localhost] 2022-08-23 23:04:44 | [Mutex] received everything. 2022-08-23 23:04:44 | [Mutex] isItemNotified: received:node:20b6308a-59f4-4081-80f7-612ef23e9846:localhost:node-ae99039c-06a9-44b2-92dd-e007febd45b1:Node ae99039c-06a9-44b2-92dd-e007febd45b1 :: true 2022-08-23 23:04:44 | [Mutex] waiting for: [received:nodes:c3ef06b2-b588-4e6a-87e5-45398e4603dd:localhost] 2022-08-23 23:04:44 | [Mutex] waiting for: [received:nodes:c3ef06b2-b588-4e6a-87e5-45398e4603dd:localhost] 2022-08-23 23:04:44 | [Mutex] received everything. 2022-08-23 23:04:44 | [Mutex] isItemNotified: received:node:c3ef06b2-b588-4e6a-87e5-45398e4603dd:localhost:node-ae99039c-06a9-44b2-92dd-e007febd45b1:Node ae99039c-06a9-44b2-92dd-e007febd45b1 :: false |
createNodes | 1.471s |
2022-08-23 23:04:41 |
2022-08-23 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:41 | ------------------------------------ 2022-08-23 23:04:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ae99039c-06a9-44b2-92dd-e007febd45b1</title></pubsub></data> 2022-08-23 23:04:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 23:04:42 | [Mutex] waiting for: [received:nodes:a78e8698-243d-461d-ade4-61de4e2a1aac:localhost] 2022-08-23 23:04:42 | [Mutex] received everything. 2022-08-23 23:04:42 | [Mutex] isItemNotified: received:node:a78e8698-243d-461d-ade4-61de4e2a1aac:localhost:node-ae99039c-06a9-44b2-92dd-e007febd45b1:Node ae99039c-06a9-44b2-92dd-e007febd45b1 :: true |
createSubnodes | 1.021s |
2022-08-23 23:04:42 |
2022-08-23 23:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:42 | ------------------------------------ 2022-08-23 23:04:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bcb72202-066b-416d-88a6-f35707bac390</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bcb72202-066b-416d-88a6-f35707bac390</title></pubsub></data> 2022-08-23 23:04:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 23:04:43 | [Mutex] waiting for: [received:nodes:62ecc821-03ce-4ca0-8654-97b1d14ffafa:localhost] 2022-08-23 23:04:43 | [Mutex] received everything. 2022-08-23 23:04:43 | [Mutex] isItemNotified: received:node:62ecc821-03ce-4ca0-8654-97b1d14ffafa:localhost:node-bcb72202-066b-416d-88a6-f35707bac390:Node bcb72202-066b-416d-88a6-f35707bac390 :: true |
deleteNodes | 1.024s |
2022-08-23 23:04:48 |
2022-08-23 23:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:48 | ------------------------------------ 2022-08-23 23:04:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bcb72202-066b-416d-88a6-f35707bac390</node></data> 2022-08-23 23:04:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 23:04:49 | [Mutex] waiting for: [received:nodes:2d2023c3-11ae-4c22-9500-4f178385b43f:localhost] 2022-08-23 23:04:49 | [Mutex] waiting for: [received:nodes:2d2023c3-11ae-4c22-9500-4f178385b43f:localhost] 2022-08-23 23:04:49 | [Mutex] received everything. 2022-08-23 23:04:49 | [Mutex] isItemNotified: received:node:2d2023c3-11ae-4c22-9500-4f178385b43f:localhost:node-bcb72202-066b-416d-88a6-f35707bac390:Node bcb72202-066b-416d-88a6-f35707bac390 :: false |
deleteSubnodes | 1.120s |
2022-08-23 23:04:47 |
2022-08-23 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:47 | ------------------------------------ 2022-08-23 23:04:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node></data> 2022-08-23 23:04:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 23:04:48 | [Mutex] waiting for: [received:nodes:a5dac439-314b-4b58-bdc7-09eddf2a16a2:localhost] 2022-08-23 23:04:48 | [Mutex] waiting for: [received:nodes:a5dac439-314b-4b58-bdc7-09eddf2a16a2:localhost] 2022-08-23 23:04:48 | [Mutex] received everything. 2022-08-23 23:04:48 | [Mutex] isItemNotified: received:node:a5dac439-314b-4b58-bdc7-09eddf2a16a2:localhost:node-ae99039c-06a9-44b2-92dd-e007febd45b1:Node ae99039c-06a9-44b2-92dd-e007febd45b1 :: false 2022-08-23 23:04:48 | [Mutex] waiting for: [received:nodes:0b915973-4a0e-4f18-ae08-4b8380d1f7e8:localhost] 2022-08-23 23:04:48 | [Mutex] received everything. 2022-08-23 23:04:48 | [Mutex] isItemNotified: received:node:0b915973-4a0e-4f18-ae08-4b8380d1f7e8:localhost:node-ae99039c-06a9-44b2-92dd-e007febd45b1:Node ae99039c-06a9-44b2-92dd-e007febd45b1 :: false |
publishItemsToNodes | 0.194s |
2022-08-23 23:04:45 |
2022-08-23 23:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:45 | ------------------------------------ 2022-08-23 23:04:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node><item-id>item-d92d8ee0-834e-491e-b6c0-be091fa8c596</item-id><entry><test>item-d92d8ee0-834e-491e-b6c0-be091fa8c596</test></entry></data> 2022-08-23 23:04:46 | 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-d92d8ee0-834e-491e-b6c0-be091fa8c596</value></item-id></result> 2022-08-23 23:04:46 | [Mutex] waiting for: [published:item:notifieditem-d92d8ee0-834e-491e-b6c0-be091fa8c596:admin@test-domain.com] 2022-08-23 23:04:46 | [Mutex] received everything. 2022-08-23 23:04:46 | [Mutex] isItemNotified: published:item:notifieditem-d92d8ee0-834e-491e-b6c0-be091fa8c596:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-08-23 23:04:46 |
2022-08-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:46 | ------------------------------------ 2022-08-23 23:04:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node><item-id>item-d92d8ee0-834e-491e-b6c0-be091fa8c596</item-id></data> 2022-08-23 23:04:46 | 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-d92d8ee0-834e-491e-b6c0-be091fa8c596</value></item-id></result> 2022-08-23 23:04:46 | [Mutex] received everything. 2022-08-23 23:04:46 | [Mutex] isItemNotified: retracted:item:notifieditem-d92d8ee0-834e-491e-b6c0-be091fa8c596:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.174s |
2022-08-23 23:04:46 |
2022-08-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:46 | ------------------------------------ 2022-08-23 23:04:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node><item-id>item-d92d8ee0-834e-491e-b6c0-be091fa8c596</item-id></data> 2022-08-23 23:04:46 | 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-ae99039c-06a9-44b2-92dd-e007febd45b1</value></node><item-id label="Item ID" type="text-single"><value>item-d92d8ee0-834e-491e-b6c0-be091fa8c596</value></item-id><item label="Item" type="text-multi"><value><item id="item-d92d8ee0-834e-491e-b6c0-be091fa8c596"><test>item-d92d8ee0-834e-491e-b6c0-be091fa8c596</test></item></value></item></result> 2022-08-23 23:04:46 | [Mutex] notify: [retrieved:item:item-d92d8ee0-834e-491e-b6c0-be091fa8c596:payload-matches:true:localhost] 2022-08-23 23:04:46 | [Mutex] received everything. 2022-08-23 23:04:46 | [Mutex] isItemNotified: retrieved:item:item-d92d8ee0-834e-491e-b6c0-be091fa8c596:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-23 23:04:46 |
2022-08-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:46 | ------------------------------------ 2022-08-23 23:04:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-23 23:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-bcb72202-066b-416d-88a6-f35707bac390</value><value>test</value><value>node-ae99039c-06a9-44b2-92dd-e007febd45b1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-23 23:04:46 |
2022-08-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:46 | ------------------------------------ 2022-08-23 23:04:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ae99039c-06a9-44b2-92dd-e007febd45b1)</node-pattern></data> 2022-08-23 23:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.186s |
2022-08-23 23:04:44 |
2022-08-23 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:44 | ------------------------------------ 2022-08-23 23:04:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-23 23:04:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.179s |
2022-08-23 23:04:46 |
2022-08-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 23:04:46 | ------------------------------------ 2022-08-23 23:04:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ae99039c-06a9-44b2-92dd-e007febd45b1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-23 23:04:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |