Test duration : 9.834s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2022-11-13 22:18:52 |
2022-11-13 22:18:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:52 | ------------------------------------ 2022-11-13 22:18:52 | [Mutex] waiting for: [configured:node:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:node-768101b6-b829-4fb6-8044-53e576bac0bb] 2022-11-13 22:18:52 | [Mutex] received everything. 2022-11-13 22:18:52 | [Mutex] isItemNotified: configured:node:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:node-768101b6-b829-4fb6-8044-53e576bac0bb :: true 2022-11-13 22:18:53 | [Mutex] waiting for: [received:nodes:389ff678-e35b-4fa6-8ccb-19a0d7f75f40:localhost] 2022-11-13 22:18:53 | [Mutex] received everything. 2022-11-13 22:18:53 | [Mutex] isItemNotified: received:node:389ff678-e35b-4fa6-8ccb-19a0d7f75f40:localhost:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:Node b4aca4b4-8f5f-464a-ba7d-a556923fdc0c :: true 2022-11-13 22:18:53 | [Mutex] waiting for: [received:nodes:39e64763-b02e-46dd-9b57-2f65aa0c60d0:localhost] 2022-11-13 22:18:53 | [Mutex] waiting for: [received:nodes:39e64763-b02e-46dd-9b57-2f65aa0c60d0:localhost] 2022-11-13 22:18:53 | [Mutex] waiting for: [received:nodes:39e64763-b02e-46dd-9b57-2f65aa0c60d0:localhost] 2022-11-13 22:18:53 | [Mutex] received everything. 2022-11-13 22:18:53 | [Mutex] isItemNotified: received:node:39e64763-b02e-46dd-9b57-2f65aa0c60d0:localhost:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:Node b4aca4b4-8f5f-464a-ba7d-a556923fdc0c :: false |
createNodes | 1.532s |
2022-11-13 22:18:50 |
2022-11-13 22:18:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:50 | ------------------------------------ 2022-11-13 22:18:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</title></pubsub></data> 2022-11-13 22:18:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 22:18:51 | [Mutex] waiting for: [received:nodes:1f1a67df-a87f-4ab5-9859-1056cd52fc09:localhost] 2022-11-13 22:18:51 | [Mutex] received everything. 2022-11-13 22:18:51 | [Mutex] isItemNotified: received:node:1f1a67df-a87f-4ab5-9859-1056cd52fc09:localhost:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:Node b4aca4b4-8f5f-464a-ba7d-a556923fdc0c :: true |
createSubnodes | 1.024s |
2022-11-13 22:18:51 |
2022-11-13 22:18:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:51 | ------------------------------------ 2022-11-13 22:18:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-768101b6-b829-4fb6-8044-53e576bac0bb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 768101b6-b829-4fb6-8044-53e576bac0bb</title></pubsub></data> 2022-11-13 22:18:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 22:18:52 | [Mutex] waiting for: [received:nodes:8434db99-b811-4606-8263-1c0b3350d251:localhost] 2022-11-13 22:18:52 | [Mutex] received everything. 2022-11-13 22:18:52 | [Mutex] isItemNotified: received:node:8434db99-b811-4606-8263-1c0b3350d251:localhost:node-768101b6-b829-4fb6-8044-53e576bac0bb:Node 768101b6-b829-4fb6-8044-53e576bac0bb :: true |
deleteNodes | 1.017s |
2022-11-13 22:18:58 |
2022-11-13 22:18:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:58 | ------------------------------------ 2022-11-13 22:18:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-768101b6-b829-4fb6-8044-53e576bac0bb</node></data> 2022-11-13 22:18:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 22:18:59 | [Mutex] waiting for: [received:nodes:7d5a8c8f-86cf-4780-943d-00af71fb85b2:localhost] 2022-11-13 22:18:59 | [Mutex] waiting for: [received:nodes:7d5a8c8f-86cf-4780-943d-00af71fb85b2:localhost] 2022-11-13 22:18:59 | [Mutex] received everything. 2022-11-13 22:18:59 | [Mutex] isItemNotified: received:node:7d5a8c8f-86cf-4780-943d-00af71fb85b2:localhost:node-768101b6-b829-4fb6-8044-53e576bac0bb:Node 768101b6-b829-4fb6-8044-53e576bac0bb :: false |
deleteSubnodes | 1.147s |
2022-11-13 22:18:56 |
2022-11-13 22:18:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:56 | ------------------------------------ 2022-11-13 22:18:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node></data> 2022-11-13 22:18:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 22:18:58 | [Mutex] waiting for: [received:nodes:f7f60d1c-31ef-48b1-9eb0-aef2f1608064:localhost] 2022-11-13 22:18:58 | [Mutex] waiting for: [received:nodes:f7f60d1c-31ef-48b1-9eb0-aef2f1608064:localhost] 2022-11-13 22:18:58 | [Mutex] received everything. 2022-11-13 22:18:58 | [Mutex] isItemNotified: received:node:f7f60d1c-31ef-48b1-9eb0-aef2f1608064:localhost:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:Node b4aca4b4-8f5f-464a-ba7d-a556923fdc0c :: false 2022-11-13 22:18:58 | [Mutex] waiting for: [received:nodes:b0fc379a-d099-415e-a42e-33c333a141c2:localhost] 2022-11-13 22:18:58 | [Mutex] received everything. 2022-11-13 22:18:58 | [Mutex] isItemNotified: received:node:b0fc379a-d099-415e-a42e-33c333a141c2:localhost:node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c:Node b4aca4b4-8f5f-464a-ba7d-a556923fdc0c :: false |
publishItemsToNodes | 0.199s |
2022-11-13 22:18:54 |
2022-11-13 22:18:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:54 | ------------------------------------ 2022-11-13 22:18:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node><item-id>item-25b2b62e-87df-49c5-bf57-f9d4d849861d</item-id><entry><test>item-25b2b62e-87df-49c5-bf57-f9d4d849861d</test></entry></data> 2022-11-13 22:18:55 | 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-25b2b62e-87df-49c5-bf57-f9d4d849861d</value></item-id></result> 2022-11-13 22:18:55 | [Mutex] waiting for: [published:item:notifieditem-25b2b62e-87df-49c5-bf57-f9d4d849861d:admin@test-domain.com] 2022-11-13 22:18:55 | [Mutex] received everything. 2022-11-13 22:18:55 | [Mutex] isItemNotified: published:item:notifieditem-25b2b62e-87df-49c5-bf57-f9d4d849861d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2022-11-13 22:18:55 |
2022-11-13 22:18:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:55 | ------------------------------------ 2022-11-13 22:18:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node><item-id>item-25b2b62e-87df-49c5-bf57-f9d4d849861d</item-id></data> 2022-11-13 22:18:55 | 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-25b2b62e-87df-49c5-bf57-f9d4d849861d</value></item-id></result> 2022-11-13 22:18:55 | [Mutex] waiting for: [retracted:item:notifieditem-25b2b62e-87df-49c5-bf57-f9d4d849861d:admin@test-domain.com] 2022-11-13 22:18:55 | [Mutex] received everything. 2022-11-13 22:18:55 | [Mutex] isItemNotified: retracted:item:notifieditem-25b2b62e-87df-49c5-bf57-f9d4d849861d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.190s |
2022-11-13 22:18:55 |
2022-11-13 22:18:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:55 | ------------------------------------ 2022-11-13 22:18:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node><item-id>item-25b2b62e-87df-49c5-bf57-f9d4d849861d</item-id></data> 2022-11-13 22:18:55 | 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-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</value></node><item-id label="Item ID" type="text-single"><value>item-25b2b62e-87df-49c5-bf57-f9d4d849861d</value></item-id><item label="Item" type="text-multi"><value><item id="item-25b2b62e-87df-49c5-bf57-f9d4d849861d"><test>item-25b2b62e-87df-49c5-bf57-f9d4d849861d</test></item></value></item></result> 2022-11-13 22:18:55 | [Mutex] notify: [retrieved:item:item-25b2b62e-87df-49c5-bf57-f9d4d849861d:payload-matches:true:localhost] 2022-11-13 22:18:55 | [Mutex] received everything. 2022-11-13 22:18:55 | [Mutex] isItemNotified: retrieved:item:item-25b2b62e-87df-49c5-bf57-f9d4d849861d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-11-13 22:18:55 |
2022-11-13 22:18:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:55 | ------------------------------------ 2022-11-13 22:18:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-13 22:18:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</value><value>test</value><value>node-768101b6-b829-4fb6-8044-53e576bac0bb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2022-11-13 22:18:55 |
2022-11-13 22:18:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:55 | ------------------------------------ 2022-11-13 22:18:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c)</node-pattern></data> 2022-11-13 22:18:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.126s |
2022-11-13 22:18:53 |
2022-11-13 22:18:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:53 | ------------------------------------ 2022-11-13 22:18:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-13 22:18:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.226s |
2022-11-13 22:18:55 |
2022-11-13 22:18:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 22:18:55 | ------------------------------------ 2022-11-13 22:18:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b4aca4b4-8f5f-464a-ba7d-a556923fdc0c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-13 22:18:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |