Test duration : 9.675s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2022-06-12 22:52:55 |
2022-06-12 22:52:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:55 | ------------------------------------ 2022-06-12 22:52:55 | [Mutex] waiting for: [configured:node:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c] 2022-06-12 22:52:55 | [Mutex] received everything. 2022-06-12 22:52:55 | [Mutex] isItemNotified: configured:node:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c :: true 2022-06-12 22:52:56 | [Mutex] waiting for: [received:nodes:c606b281-3505-49e5-bf8f-ee9e9247f9b8:localhost] 2022-06-12 22:52:56 | [Mutex] received everything. 2022-06-12 22:52:56 | [Mutex] isItemNotified: received:node:c606b281-3505-49e5-bf8f-ee9e9247f9b8:localhost:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:Node 871a1c14-65b5-4171-8252-5f96b2b1d4d2 :: true 2022-06-12 22:52:56 | [Mutex] waiting for: [received:nodes:e4b69b43-53f0-4864-9c30-40186c74e7e9:localhost] 2022-06-12 22:52:56 | [Mutex] received everything. 2022-06-12 22:52:56 | [Mutex] isItemNotified: received:node:e4b69b43-53f0-4864-9c30-40186c74e7e9:localhost:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:Node 871a1c14-65b5-4171-8252-5f96b2b1d4d2 :: false |
createNodes | 1.398s |
2022-06-12 22:52:52 |
2022-06-12 22:52:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:52 | ------------------------------------ 2022-06-12 22:52:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 871a1c14-65b5-4171-8252-5f96b2b1d4d2</title></pubsub></data> 2022-06-12 22:52:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:52:54 | [Mutex] waiting for: [received:nodes:0149cdf9-2faa-4db4-85fb-69f4d24a0ccd:localhost] 2022-06-12 22:52:54 | [Mutex] received everything. 2022-06-12 22:52:54 | [Mutex] isItemNotified: received:node:0149cdf9-2faa-4db4-85fb-69f4d24a0ccd:localhost:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:Node 871a1c14-65b5-4171-8252-5f96b2b1d4d2 :: true |
createSubnodes | 1.024s |
2022-06-12 22:52:54 |
2022-06-12 22:52:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:54 | ------------------------------------ 2022-06-12 22:52:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 50a36fac-1bb0-4a7e-9f01-88d3b6d7383c</title></pubsub></data> 2022-06-12 22:52:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:52:55 | [Mutex] waiting for: [received:nodes:9445243d-8c3e-4e5d-a64e-88a3c1c7f9df:localhost] 2022-06-12 22:52:55 | [Mutex] received everything. 2022-06-12 22:52:55 | [Mutex] isItemNotified: received:node:9445243d-8c3e-4e5d-a64e-88a3c1c7f9df:localhost:node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c:Node 50a36fac-1bb0-4a7e-9f01-88d3b6d7383c :: true |
deleteNodes | 1.015s |
2022-06-12 22:53:00 |
2022-06-12 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:53:00 | ------------------------------------ 2022-06-12 22:53:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c</node></data> 2022-06-12 22:53:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:53:01 | [Mutex] waiting for: [received:nodes:3a5196cf-078d-432b-b3bf-54be30377210:localhost] 2022-06-12 22:53:01 | [Mutex] received everything. 2022-06-12 22:53:01 | [Mutex] isItemNotified: received:node:3a5196cf-078d-432b-b3bf-54be30377210:localhost:node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c:Node 50a36fac-1bb0-4a7e-9f01-88d3b6d7383c :: false |
deleteSubnodes | 1.200s |
2022-06-12 22:52:59 |
2022-06-12 22:52:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:59 | ------------------------------------ 2022-06-12 22:52:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node></data> 2022-06-12 22:52:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-12 22:53:00 | [Mutex] waiting for: [received:nodes:4e1a4e59-424a-47e5-b2fe-f6fa5aa16e8a:localhost] 2022-06-12 22:53:00 | [Mutex] waiting for: [received:nodes:4e1a4e59-424a-47e5-b2fe-f6fa5aa16e8a:localhost] 2022-06-12 22:53:00 | [Mutex] received everything. 2022-06-12 22:53:00 | [Mutex] isItemNotified: received:node:4e1a4e59-424a-47e5-b2fe-f6fa5aa16e8a:localhost:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:Node 871a1c14-65b5-4171-8252-5f96b2b1d4d2 :: false 2022-06-12 22:53:00 | [Mutex] waiting for: [received:nodes:0e4ef770-b1e2-4a92-a882-70ace20123c5:localhost] 2022-06-12 22:53:00 | [Mutex] received everything. 2022-06-12 22:53:00 | [Mutex] isItemNotified: received:node:0e4ef770-b1e2-4a92-a882-70ace20123c5:localhost:node-871a1c14-65b5-4171-8252-5f96b2b1d4d2:Node 871a1c14-65b5-4171-8252-5f96b2b1d4d2 :: false |
publishItemsToNodes | 0.236s |
2022-06-12 22:52:57 |
2022-06-12 22:52:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:57 | ------------------------------------ 2022-06-12 22:52:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node><item-id>item-9c889742-d478-4415-9e21-c2adba6e2880</item-id><entry><test>item-9c889742-d478-4415-9e21-c2adba6e2880</test></entry></data> 2022-06-12 22:52:57 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-9c889742-d478-4415-9e21-c2adba6e2880</value></item-id></result> 2022-06-12 22:52:57 | [Mutex] waiting for: [published:item:notifieditem-9c889742-d478-4415-9e21-c2adba6e2880:admin@test-domain.com] 2022-06-12 22:52:57 | [Mutex] received everything. 2022-06-12 22:52:57 | [Mutex] isItemNotified: published:item:notifieditem-9c889742-d478-4415-9e21-c2adba6e2880:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2022-06-12 22:52:58 |
2022-06-12 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:58 | ------------------------------------ 2022-06-12 22:52:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node><item-id>item-9c889742-d478-4415-9e21-c2adba6e2880</item-id></data> 2022-06-12 22:52:58 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-9c889742-d478-4415-9e21-c2adba6e2880</value></item-id></result> 2022-06-12 22:52:58 | [Mutex] received everything. 2022-06-12 22:52:58 | [Mutex] isItemNotified: retracted:item:notifieditem-9c889742-d478-4415-9e21-c2adba6e2880:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.273s |
2022-06-12 22:52:57 |
2022-06-12 22:52:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:57 | ------------------------------------ 2022-06-12 22:52:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node><item-id>item-9c889742-d478-4415-9e21-c2adba6e2880</item-id></data> 2022-06-12 22:52:58 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</value></node><item-id type="text-single" label="Item ID"><value>item-9c889742-d478-4415-9e21-c2adba6e2880</value></item-id><item type="text-multi" label="Item"><value><item id="item-9c889742-d478-4415-9e21-c2adba6e2880"><test>item-9c889742-d478-4415-9e21-c2adba6e2880</test></item></value></item></result> 2022-06-12 22:52:58 | [Mutex] notify: [retrieved:item:item-9c889742-d478-4415-9e21-c2adba6e2880:payload-matches:true:localhost] 2022-06-12 22:52:58 | [Mutex] received everything. 2022-06-12 22:52:58 | [Mutex] isItemNotified: retrieved:item:item-9c889742-d478-4415-9e21-c2adba6e2880:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-12 22:52:58 |
2022-06-12 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:58 | ------------------------------------ 2022-06-12 22:52:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-12 22:52:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-50a36fac-1bb0-4a7e-9f01-88d3b6d7383c</value><value>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-06-12 22:52:58 |
2022-06-12 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:58 | ------------------------------------ 2022-06-12 22:52:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-871a1c14-65b5-4171-8252-5f96b2b1d4d2)</node-pattern></data> 2022-06-12 22:52:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.196s |
2022-06-12 22:52:56 |
2022-06-12 22:52:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:56 | ------------------------------------ 2022-06-12 22:52:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-12 22:52:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2022-06-12 22:52:58 |
2022-06-12 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-12 22:52:58 | ------------------------------------ 2022-06-12 22:52:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-871a1c14-65b5-4171-8252-5f96b2b1d4d2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-12 22:52:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |