Test duration : 9.733s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-04-14 22:36:26 |
2022-04-14 22:36:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:26 | ------------------------------------ 2022-04-14 22:36:26 | [Mutex] waiting for: [configured:node:node-c2eea99d-853f-4230-b926-5eac3a9857a2:node-8920de92-32fc-4acb-8765-880ff5242f7a] 2022-04-14 22:36:26 | [Mutex] received everything. 2022-04-14 22:36:26 | [Mutex] isItemNotified: configured:node:node-c2eea99d-853f-4230-b926-5eac3a9857a2:node-8920de92-32fc-4acb-8765-880ff5242f7a :: true 2022-04-14 22:36:27 | [Mutex] waiting for: [received:nodes:2dda17cf-72b1-4c8f-ac85-54aa1026e9bb:localhost] 2022-04-14 22:36:27 | [Mutex] received everything. 2022-04-14 22:36:27 | [Mutex] isItemNotified: received:node:2dda17cf-72b1-4c8f-ac85-54aa1026e9bb:localhost:node-c2eea99d-853f-4230-b926-5eac3a9857a2:Node c2eea99d-853f-4230-b926-5eac3a9857a2 :: true 2022-04-14 22:36:27 | [Mutex] waiting for: [received:nodes:54115bea-ee00-4a07-9391-54ebb0226dc2:localhost] 2022-04-14 22:36:27 | [Mutex] waiting for: [received:nodes:54115bea-ee00-4a07-9391-54ebb0226dc2:localhost] 2022-04-14 22:36:27 | [Mutex] received everything. 2022-04-14 22:36:27 | [Mutex] isItemNotified: received:node:54115bea-ee00-4a07-9391-54ebb0226dc2:localhost:node-c2eea99d-853f-4230-b926-5eac3a9857a2:Node c2eea99d-853f-4230-b926-5eac3a9857a2 :: false |
createNodes | 1.433s |
2022-04-14 22:36:24 |
2022-04-14 22:36:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:24 | ------------------------------------ 2022-04-14 22:36:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c2eea99d-853f-4230-b926-5eac3a9857a2</title></pubsub></data> 2022-04-14 22:36:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:36:25 | [Mutex] waiting for: [received:nodes:3d67206e-c5f9-4b55-8d68-75180636ab1e:localhost] 2022-04-14 22:36:25 | [Mutex] received everything. 2022-04-14 22:36:25 | [Mutex] isItemNotified: received:node:3d67206e-c5f9-4b55-8d68-75180636ab1e:localhost:node-c2eea99d-853f-4230-b926-5eac3a9857a2:Node c2eea99d-853f-4230-b926-5eac3a9857a2 :: true |
createSubnodes | 1.035s |
2022-04-14 22:36:25 |
2022-04-14 22:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:25 | ------------------------------------ 2022-04-14 22:36:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8920de92-32fc-4acb-8765-880ff5242f7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8920de92-32fc-4acb-8765-880ff5242f7a</title></pubsub></data> 2022-04-14 22:36:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:36:26 | [Mutex] waiting for: [received:nodes:ed5dc11a-d8fa-4c4d-99a6-d14a9f171cde:localhost] 2022-04-14 22:36:26 | [Mutex] received everything. 2022-04-14 22:36:26 | [Mutex] isItemNotified: received:node:ed5dc11a-d8fa-4c4d-99a6-d14a9f171cde:localhost:node-8920de92-32fc-4acb-8765-880ff5242f7a:Node 8920de92-32fc-4acb-8765-880ff5242f7a :: true |
deleteNodes | 1.020s |
2022-04-14 22:36:32 |
2022-04-14 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:32 | ------------------------------------ 2022-04-14 22:36:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8920de92-32fc-4acb-8765-880ff5242f7a</node></data> 2022-04-14 22:36:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:36:33 | [Mutex] waiting for: [received:nodes:227953b5-5d6b-43e8-8c71-3771ff64f1ca:localhost] 2022-04-14 22:36:33 | [Mutex] received everything. 2022-04-14 22:36:33 | [Mutex] isItemNotified: received:node:227953b5-5d6b-43e8-8c71-3771ff64f1ca:localhost:node-8920de92-32fc-4acb-8765-880ff5242f7a:Node 8920de92-32fc-4acb-8765-880ff5242f7a :: false |
deleteSubnodes | 1.132s |
2022-04-14 22:36:31 |
2022-04-14 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:31 | ------------------------------------ 2022-04-14 22:36:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node></data> 2022-04-14 22:36:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:36:32 | [Mutex] waiting for: [received:nodes:72f362f7-d9fb-4c5f-9b4c-c2ae040a12bb:localhost] 2022-04-14 22:36:32 | [Mutex] received everything. 2022-04-14 22:36:32 | [Mutex] isItemNotified: received:node:72f362f7-d9fb-4c5f-9b4c-c2ae040a12bb:localhost:node-c2eea99d-853f-4230-b926-5eac3a9857a2:Node c2eea99d-853f-4230-b926-5eac3a9857a2 :: false 2022-04-14 22:36:32 | [Mutex] waiting for: [received:nodes:373d50a1-2b0e-46af-ace4-664cf4c9fb2d:localhost] 2022-04-14 22:36:32 | [Mutex] received everything. 2022-04-14 22:36:32 | [Mutex] isItemNotified: received:node:373d50a1-2b0e-46af-ace4-664cf4c9fb2d:localhost:node-c2eea99d-853f-4230-b926-5eac3a9857a2:Node c2eea99d-853f-4230-b926-5eac3a9857a2 :: false |
publishItemsToNodes | 0.203s |
2022-04-14 22:36:29 |
2022-04-14 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:29 | ------------------------------------ 2022-04-14 22:36:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node><item-id>item-8fb7e382-83d8-4f82-abac-f6892913ad68</item-id><entry><test>item-8fb7e382-83d8-4f82-abac-f6892913ad68</test></entry></data> 2022-04-14 22:36:29 | 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-8fb7e382-83d8-4f82-abac-f6892913ad68</value></item-id></result> 2022-04-14 22:36:29 | [Mutex] waiting for: [published:item:notifieditem-8fb7e382-83d8-4f82-abac-f6892913ad68:admin@test-domain.com] 2022-04-14 22:36:29 | [Mutex] received everything. 2022-04-14 22:36:29 | [Mutex] isItemNotified: published:item:notifieditem-8fb7e382-83d8-4f82-abac-f6892913ad68:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-04-14 22:36:29 |
2022-04-14 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:29 | ------------------------------------ 2022-04-14 22:36:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node><item-id>item-8fb7e382-83d8-4f82-abac-f6892913ad68</item-id></data> 2022-04-14 22:36:29 | 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-8fb7e382-83d8-4f82-abac-f6892913ad68</value></item-id></result> 2022-04-14 22:36:29 | [Mutex] received everything. 2022-04-14 22:36:29 | [Mutex] isItemNotified: retracted:item:notifieditem-8fb7e382-83d8-4f82-abac-f6892913ad68:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2022-04-14 22:36:29 |
2022-04-14 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:29 | ------------------------------------ 2022-04-14 22:36:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node><item-id>item-8fb7e382-83d8-4f82-abac-f6892913ad68</item-id></data> 2022-04-14 22:36:29 | 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-c2eea99d-853f-4230-b926-5eac3a9857a2</value></node><item-id label="Item ID" type="text-single"><value>item-8fb7e382-83d8-4f82-abac-f6892913ad68</value></item-id><item label="Item" type="text-multi"><value><item id="item-8fb7e382-83d8-4f82-abac-f6892913ad68"><test>item-8fb7e382-83d8-4f82-abac-f6892913ad68</test></item></value></item></result> 2022-04-14 22:36:29 | [Mutex] notify: [retrieved:item:item-8fb7e382-83d8-4f82-abac-f6892913ad68:payload-matches:true:localhost] 2022-04-14 22:36:29 | [Mutex] received everything. 2022-04-14 22:36:29 | [Mutex] isItemNotified: retrieved:item:item-8fb7e382-83d8-4f82-abac-f6892913ad68:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-04-14 22:36:29 |
2022-04-14 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:29 | ------------------------------------ 2022-04-14 22:36:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-14 22:36:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-c2eea99d-853f-4230-b926-5eac3a9857a2</value><value>node-8920de92-32fc-4acb-8765-880ff5242f7a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-04-14 22:36:29 |
2022-04-14 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:29 | ------------------------------------ 2022-04-14 22:36:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c2eea99d-853f-4230-b926-5eac3a9857a2)</node-pattern></data> 2022-04-14 22:36:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.145s |
2022-04-14 22:36:27 |
2022-04-14 22:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:27 | ------------------------------------ 2022-04-14 22:36:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 22:36:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.299s |
2022-04-14 22:36:29 |
2022-04-14 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:36:29 | ------------------------------------ 2022-04-14 22:36:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c2eea99d-853f-4230-b926-5eac3a9857a2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 22:36:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |