Test duration : 9.583s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-06-19 22:36:04 |
2022-06-19 22:36:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:04 | ------------------------------------ 2022-06-19 22:36:05 | [Mutex] waiting for: [configured:node:node-36bb868f-a897-4a73-90e7-f638ebab6d25:node-19fd43af-21cf-41b3-a3fd-ace6bec2736d] 2022-06-19 22:36:05 | [Mutex] received everything. 2022-06-19 22:36:05 | [Mutex] isItemNotified: configured:node:node-36bb868f-a897-4a73-90e7-f638ebab6d25:node-19fd43af-21cf-41b3-a3fd-ace6bec2736d :: true 2022-06-19 22:36:06 | [Mutex] waiting for: [received:nodes:43c7192e-7894-4b8c-96e6-3b3fbbaad3df:localhost] 2022-06-19 22:36:06 | [Mutex] received everything. 2022-06-19 22:36:06 | [Mutex] isItemNotified: received:node:43c7192e-7894-4b8c-96e6-3b3fbbaad3df:localhost:node-36bb868f-a897-4a73-90e7-f638ebab6d25:Node 36bb868f-a897-4a73-90e7-f638ebab6d25 :: true 2022-06-19 22:36:06 | [Mutex] waiting for: [received:nodes:2154dec1-7d9d-4595-8b8d-126c08e70a32:localhost] 2022-06-19 22:36:06 | [Mutex] waiting for: [received:nodes:2154dec1-7d9d-4595-8b8d-126c08e70a32:localhost] 2022-06-19 22:36:06 | [Mutex] received everything. 2022-06-19 22:36:06 | [Mutex] isItemNotified: received:node:2154dec1-7d9d-4595-8b8d-126c08e70a32:localhost:node-36bb868f-a897-4a73-90e7-f638ebab6d25:Node 36bb868f-a897-4a73-90e7-f638ebab6d25 :: false |
createNodes | 1.495s |
2022-06-19 22:36:02 |
2022-06-19 22:36:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:02 | ------------------------------------ 2022-06-19 22:36:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 36bb868f-a897-4a73-90e7-f638ebab6d25</title></pubsub></data> 2022-06-19 22:36:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:36:03 | [Mutex] waiting for: [received:nodes:2bb141e4-03fe-48c5-9b4e-8a7b8641c065:localhost] 2022-06-19 22:36:03 | [Mutex] waiting for: [received:nodes:2bb141e4-03fe-48c5-9b4e-8a7b8641c065:localhost] 2022-06-19 22:36:03 | [Mutex] received everything. 2022-06-19 22:36:03 | [Mutex] isItemNotified: received:node:2bb141e4-03fe-48c5-9b4e-8a7b8641c065:localhost:node-36bb868f-a897-4a73-90e7-f638ebab6d25:Node 36bb868f-a897-4a73-90e7-f638ebab6d25 :: true |
createSubnodes | 1.030s |
2022-06-19 22:36:03 |
2022-06-19 22:36:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:03 | ------------------------------------ 2022-06-19 22:36:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-19fd43af-21cf-41b3-a3fd-ace6bec2736d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 19fd43af-21cf-41b3-a3fd-ace6bec2736d</title></pubsub></data> 2022-06-19 22:36:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:36:04 | [Mutex] waiting for: [received:nodes:5989fffd-b6b9-47a0-8c7d-6179e64ec769:localhost] 2022-06-19 22:36:04 | [Mutex] received everything. 2022-06-19 22:36:04 | [Mutex] isItemNotified: received:node:5989fffd-b6b9-47a0-8c7d-6179e64ec769:localhost:node-19fd43af-21cf-41b3-a3fd-ace6bec2736d:Node 19fd43af-21cf-41b3-a3fd-ace6bec2736d :: true |
deleteNodes | 1.017s |
2022-06-19 22:36:10 |
2022-06-19 22:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:10 | ------------------------------------ 2022-06-19 22:36:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-19fd43af-21cf-41b3-a3fd-ace6bec2736d</node></data> 2022-06-19 22:36:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:36:11 | [Mutex] waiting for: [received:nodes:e8c7e3b8-0df8-41ba-bf2d-0e5570734676:localhost] 2022-06-19 22:36:11 | [Mutex] received everything. 2022-06-19 22:36:11 | [Mutex] isItemNotified: received:node:e8c7e3b8-0df8-41ba-bf2d-0e5570734676:localhost:node-19fd43af-21cf-41b3-a3fd-ace6bec2736d:Node 19fd43af-21cf-41b3-a3fd-ace6bec2736d :: false |
deleteSubnodes | 1.111s |
2022-06-19 22:36:09 |
2022-06-19 22:36:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:09 | ------------------------------------ 2022-06-19 22:36:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node></data> 2022-06-19 22:36:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-19 22:36:10 | [Mutex] waiting for: [received:nodes:9ee4c12a-0013-42dd-9cd5-539f9a5bdf9f:localhost] 2022-06-19 22:36:10 | [Mutex] received everything. 2022-06-19 22:36:10 | [Mutex] isItemNotified: received:node:9ee4c12a-0013-42dd-9cd5-539f9a5bdf9f:localhost:node-36bb868f-a897-4a73-90e7-f638ebab6d25:Node 36bb868f-a897-4a73-90e7-f638ebab6d25 :: false 2022-06-19 22:36:10 | [Mutex] waiting for: [received:nodes:f1ed6e9b-cded-42d4-8024-ae7e20e89a77:localhost] 2022-06-19 22:36:10 | [Mutex] received everything. 2022-06-19 22:36:10 | [Mutex] isItemNotified: received:node:f1ed6e9b-cded-42d4-8024-ae7e20e89a77:localhost:node-36bb868f-a897-4a73-90e7-f638ebab6d25:Node 36bb868f-a897-4a73-90e7-f638ebab6d25 :: false |
publishItemsToNodes | 0.265s |
2022-06-19 22:36:07 |
2022-06-19 22:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:07 | ------------------------------------ 2022-06-19 22:36:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node><item-id>item-ff48adcf-df2a-43c1-918f-5f2542e0e49a</item-id><entry><test>item-ff48adcf-df2a-43c1-918f-5f2542e0e49a</test></entry></data> 2022-06-19 22:36:07 | 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-ff48adcf-df2a-43c1-918f-5f2542e0e49a</value></item-id></result> 2022-06-19 22:36:07 | [Mutex] waiting for: [published:item:notifieditem-ff48adcf-df2a-43c1-918f-5f2542e0e49a:admin@test-domain.com] 2022-06-19 22:36:07 | [Mutex] received everything. 2022-06-19 22:36:07 | [Mutex] isItemNotified: published:item:notifieditem-ff48adcf-df2a-43c1-918f-5f2542e0e49a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-06-19 22:36:07 |
2022-06-19 22:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:07 | ------------------------------------ 2022-06-19 22:36:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node><item-id>item-ff48adcf-df2a-43c1-918f-5f2542e0e49a</item-id></data> 2022-06-19 22:36:08 | 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-ff48adcf-df2a-43c1-918f-5f2542e0e49a</value></item-id></result> 2022-06-19 22:36:08 | [Mutex] received everything. 2022-06-19 22:36:08 | [Mutex] isItemNotified: retracted:item:notifieditem-ff48adcf-df2a-43c1-918f-5f2542e0e49a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.208s |
2022-06-19 22:36:07 |
2022-06-19 22:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:07 | ------------------------------------ 2022-06-19 22:36:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node><item-id>item-ff48adcf-df2a-43c1-918f-5f2542e0e49a</item-id></data> 2022-06-19 22:36:07 | 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-36bb868f-a897-4a73-90e7-f638ebab6d25</value></node><item-id label="Item ID" type="text-single"><value>item-ff48adcf-df2a-43c1-918f-5f2542e0e49a</value></item-id><item label="Item" type="text-multi"><value><item id="item-ff48adcf-df2a-43c1-918f-5f2542e0e49a"><test>item-ff48adcf-df2a-43c1-918f-5f2542e0e49a</test></item></value></item></result> 2022-06-19 22:36:07 | [Mutex] notify: [retrieved:item:item-ff48adcf-df2a-43c1-918f-5f2542e0e49a:payload-matches:true:localhost] 2022-06-19 22:36:07 | [Mutex] received everything. 2022-06-19 22:36:07 | [Mutex] isItemNotified: retrieved:item:item-ff48adcf-df2a-43c1-918f-5f2542e0e49a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-06-19 22:36:07 |
2022-06-19 22:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:07 | ------------------------------------ 2022-06-19 22:36:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-19 22:36:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-36bb868f-a897-4a73-90e7-f638ebab6d25</value><value>test</value><value>node-19fd43af-21cf-41b3-a3fd-ace6bec2736d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-06-19 22:36:07 |
2022-06-19 22:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:07 | ------------------------------------ 2022-06-19 22:36:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-36bb868f-a897-4a73-90e7-f638ebab6d25)</node-pattern></data> 2022-06-19 22:36:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.095s |
2022-06-19 22:36:06 |
2022-06-19 22:36:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:06 | ------------------------------------ 2022-06-19 22:36:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-19 22:36:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-06-19 22:36:08 |
2022-06-19 22:36:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-19 22:36:08 | ------------------------------------ 2022-06-19 22:36:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-36bb868f-a897-4a73-90e7-f638ebab6d25</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-19 22:36:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |