Test duration : 9.486s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.086s |
2022-07-22 22:32:02 |
2022-07-22 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:02 | ------------------------------------ 2022-07-22 22:32:02 | [Mutex] waiting for: [configured:node:node-440b64ef-869c-4b97-9a7c-7d3898856957:node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58] 2022-07-22 22:32:02 | [Mutex] received everything. 2022-07-22 22:32:02 | [Mutex] isItemNotified: configured:node:node-440b64ef-869c-4b97-9a7c-7d3898856957:node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58 :: true 2022-07-22 22:32:03 | [Mutex] waiting for: [received:nodes:71f959b5-ff45-401b-8cf5-27f9ec121f6b:localhost] 2022-07-22 22:32:03 | [Mutex] received everything. 2022-07-22 22:32:03 | [Mutex] isItemNotified: received:node:71f959b5-ff45-401b-8cf5-27f9ec121f6b:localhost:node-440b64ef-869c-4b97-9a7c-7d3898856957:Node 440b64ef-869c-4b97-9a7c-7d3898856957 :: true 2022-07-22 22:32:03 | [Mutex] waiting for: [received:nodes:046290dd-97e2-498b-9ede-b73dc6ea212a:localhost] 2022-07-22 22:32:03 | [Mutex] waiting for: [received:nodes:046290dd-97e2-498b-9ede-b73dc6ea212a:localhost] 2022-07-22 22:32:03 | [Mutex] received everything. 2022-07-22 22:32:03 | [Mutex] isItemNotified: received:node:046290dd-97e2-498b-9ede-b73dc6ea212a:localhost:node-440b64ef-869c-4b97-9a7c-7d3898856957:Node 440b64ef-869c-4b97-9a7c-7d3898856957 :: false |
createNodes | 1.377s |
2022-07-22 22:32:00 |
2022-07-22 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:00 | ------------------------------------ 2022-07-22 22:32:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 440b64ef-869c-4b97-9a7c-7d3898856957</title></pubsub></data> 2022-07-22 22:32:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-22 22:32:01 | [Mutex] waiting for: [received:nodes:d446a124-227c-4cf0-bfc8-538e2671131a:localhost] 2022-07-22 22:32:01 | [Mutex] received everything. 2022-07-22 22:32:01 | [Mutex] isItemNotified: received:node:d446a124-227c-4cf0-bfc8-538e2671131a:localhost:node-440b64ef-869c-4b97-9a7c-7d3898856957:Node 440b64ef-869c-4b97-9a7c-7d3898856957 :: true |
createSubnodes | 1.027s |
2022-07-22 22:32:01 |
2022-07-22 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:01 | ------------------------------------ 2022-07-22 22:32:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 67ccdf33-987d-4ee0-abbe-ff9f42f31f58</title></pubsub></data> 2022-07-22 22:32:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-22 22:32:02 | [Mutex] waiting for: [received:nodes:f8e2dc88-c173-4e20-a6f2-21a097df8828:localhost] 2022-07-22 22:32:02 | [Mutex] received everything. 2022-07-22 22:32:02 | [Mutex] isItemNotified: received:node:f8e2dc88-c173-4e20-a6f2-21a097df8828:localhost:node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58:Node 67ccdf33-987d-4ee0-abbe-ff9f42f31f58 :: true |
deleteNodes | 1.021s |
2022-07-22 22:32:08 |
2022-07-22 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:08 | ------------------------------------ 2022-07-22 22:32:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58</node></data> 2022-07-22 22:32:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-22 22:32:09 | [Mutex] waiting for: [received:nodes:cb432bc0-c1cb-4f85-a88c-22f24371fd24:localhost] 2022-07-22 22:32:09 | [Mutex] received everything. 2022-07-22 22:32:09 | [Mutex] isItemNotified: received:node:cb432bc0-c1cb-4f85-a88c-22f24371fd24:localhost:node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58:Node 67ccdf33-987d-4ee0-abbe-ff9f42f31f58 :: false |
deleteSubnodes | 1.122s |
2022-07-22 22:32:06 |
2022-07-22 22:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:06 | ------------------------------------ 2022-07-22 22:32:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node></data> 2022-07-22 22:32:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-22 22:32:08 | [Mutex] waiting for: [received:nodes:84d68750-c2bb-4dbb-be62-7d90ce455d11:localhost] 2022-07-22 22:32:08 | [Mutex] waiting for: [received:nodes:84d68750-c2bb-4dbb-be62-7d90ce455d11:localhost] 2022-07-22 22:32:08 | [Mutex] received everything. 2022-07-22 22:32:08 | [Mutex] isItemNotified: received:node:84d68750-c2bb-4dbb-be62-7d90ce455d11:localhost:node-440b64ef-869c-4b97-9a7c-7d3898856957:Node 440b64ef-869c-4b97-9a7c-7d3898856957 :: false 2022-07-22 22:32:08 | [Mutex] waiting for: [received:nodes:2cc9a300-e548-4eec-9b8b-e650ea2b0bf0:localhost] 2022-07-22 22:32:08 | [Mutex] received everything. 2022-07-22 22:32:08 | [Mutex] isItemNotified: received:node:2cc9a300-e548-4eec-9b8b-e650ea2b0bf0:localhost:node-440b64ef-869c-4b97-9a7c-7d3898856957:Node 440b64ef-869c-4b97-9a7c-7d3898856957 :: false |
publishItemsToNodes | 0.189s |
2022-07-22 22:32:04 |
2022-07-22 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:04 | ------------------------------------ 2022-07-22 22:32:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node><item-id>item-00926e75-1e0d-4deb-8408-583f6855ada7</item-id><entry><test>item-00926e75-1e0d-4deb-8408-583f6855ada7</test></entry></data> 2022-07-22 22:32:05 | 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-00926e75-1e0d-4deb-8408-583f6855ada7</value></item-id></result> 2022-07-22 22:32:05 | [Mutex] received everything. 2022-07-22 22:32:05 | [Mutex] isItemNotified: published:item:notifieditem-00926e75-1e0d-4deb-8408-583f6855ada7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.231s |
2022-07-22 22:32:05 |
2022-07-22 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:05 | ------------------------------------ 2022-07-22 22:32:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node><item-id>item-00926e75-1e0d-4deb-8408-583f6855ada7</item-id></data> 2022-07-22 22:32:05 | 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-00926e75-1e0d-4deb-8408-583f6855ada7</value></item-id></result> 2022-07-22 22:32:05 | [Mutex] waiting for: [retracted:item:notifieditem-00926e75-1e0d-4deb-8408-583f6855ada7:admin@test-domain.com] 2022-07-22 22:32:05 | [Mutex] received everything. 2022-07-22 22:32:05 | [Mutex] isItemNotified: retracted:item:notifieditem-00926e75-1e0d-4deb-8408-583f6855ada7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.284s |
2022-07-22 22:32:05 |
2022-07-22 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:05 | ------------------------------------ 2022-07-22 22:32:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node><item-id>item-00926e75-1e0d-4deb-8408-583f6855ada7</item-id></data> 2022-07-22 22:32:05 | 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-440b64ef-869c-4b97-9a7c-7d3898856957</value></node><item-id label="Item ID" type="text-single"><value>item-00926e75-1e0d-4deb-8408-583f6855ada7</value></item-id><item label="Item" type="text-multi"><value><item id="item-00926e75-1e0d-4deb-8408-583f6855ada7"><test>item-00926e75-1e0d-4deb-8408-583f6855ada7</test></item></value></item></result> 2022-07-22 22:32:05 | [Mutex] notify: [retrieved:item:item-00926e75-1e0d-4deb-8408-583f6855ada7:payload-matches:true:localhost] 2022-07-22 22:32:05 | [Mutex] received everything. 2022-07-22 22:32:05 | [Mutex] isItemNotified: retrieved:item:item-00926e75-1e0d-4deb-8408-583f6855ada7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-22 22:32:05 |
2022-07-22 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:05 | ------------------------------------ 2022-07-22 22:32:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-22 22:32:05 | 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-440b64ef-869c-4b97-9a7c-7d3898856957</value><value>node-67ccdf33-987d-4ee0-abbe-ff9f42f31f58</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-07-22 22:32:05 |
2022-07-22 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:05 | ------------------------------------ 2022-07-22 22:32:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-440b64ef-869c-4b97-9a7c-7d3898856957)</node-pattern></data> 2022-07-22 22:32:05 | 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-07-22 22:32:03 |
2022-07-22 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:03 | ------------------------------------ 2022-07-22 22:32:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-22 22:32:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2022-07-22 22:32:05 |
2022-07-22 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-22 22:32:05 | ------------------------------------ 2022-07-22 22:32:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-440b64ef-869c-4b97-9a7c-7d3898856957</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-22 22:32:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |