Test duration : 10.395s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-02-07 21:57:42 |
2022-02-07 21:57:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:42 | ------------------------------------ 2022-02-07 21:57:42 | [Mutex] waiting for: [configured:node:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:node-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af] 2022-02-07 21:57:42 | [Mutex] received everything. 2022-02-07 21:57:42 | [Mutex] isItemNotified: configured:node:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:node-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af :: true 2022-02-07 21:57:43 | [Mutex] waiting for: [received:nodes:6be69d3a-8cab-4a4d-9c1e-692da18f2d84:localhost] 2022-02-07 21:57:43 | [Mutex] received everything. 2022-02-07 21:57:43 | [Mutex] isItemNotified: received:node:6be69d3a-8cab-4a4d-9c1e-692da18f2d84:localhost:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:Node 5f60012b-0f90-4ea2-8963-ab3b51bcfef8 :: true 2022-02-07 21:57:43 | [Mutex] waiting for: [received:nodes:43e9a720-8408-48bf-8d80-adbe2a6e24f6:localhost] 2022-02-07 21:57:43 | [Mutex] waiting for: [received:nodes:43e9a720-8408-48bf-8d80-adbe2a6e24f6:localhost] 2022-02-07 21:57:43 | [Mutex] waiting for: [received:nodes:43e9a720-8408-48bf-8d80-adbe2a6e24f6:localhost] 2022-02-07 21:57:43 | [Mutex] received everything. 2022-02-07 21:57:43 | [Mutex] isItemNotified: received:node:43e9a720-8408-48bf-8d80-adbe2a6e24f6:localhost:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:Node 5f60012b-0f90-4ea2-8963-ab3b51bcfef8 :: false |
createNodes | 1.600s |
2022-02-07 21:57:40 |
2022-02-07 21:57:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:40 | ------------------------------------ 2022-02-07 21:57:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5f60012b-0f90-4ea2-8963-ab3b51bcfef8</title></pubsub></data> 2022-02-07 21:57:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-07 21:57:41 | [Mutex] waiting for: [received:nodes:b3c8efbe-28e4-4776-a973-79aebe98ff6b:localhost] 2022-02-07 21:57:41 | [Mutex] waiting for: [received:nodes:b3c8efbe-28e4-4776-a973-79aebe98ff6b:localhost] 2022-02-07 21:57:41 | [Mutex] received everything. 2022-02-07 21:57:41 | [Mutex] isItemNotified: received:node:b3c8efbe-28e4-4776-a973-79aebe98ff6b:localhost:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:Node 5f60012b-0f90-4ea2-8963-ab3b51bcfef8 :: true |
createSubnodes | 1.025s |
2022-02-07 21:57:41 |
2022-02-07 21:57:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:41 | ------------------------------------ 2022-02-07 21:57:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af</title></pubsub></data> 2022-02-07 21:57:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-07 21:57:42 | [Mutex] waiting for: [received:nodes:23b0b65f-2a6f-42d1-8c98-27ba31d02391:localhost] 2022-02-07 21:57:42 | [Mutex] waiting for: [received:nodes:23b0b65f-2a6f-42d1-8c98-27ba31d02391:localhost] 2022-02-07 21:57:42 | [Mutex] received everything. 2022-02-07 21:57:42 | [Mutex] isItemNotified: received:node:23b0b65f-2a6f-42d1-8c98-27ba31d02391:localhost:node-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af:Node d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af :: true |
deleteNodes | 1.025s |
2022-02-07 21:57:48 |
2022-02-07 21:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:48 | ------------------------------------ 2022-02-07 21:57:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af</node></data> 2022-02-07 21:57:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-07 21:57:49 | [Mutex] waiting for: [received:nodes:0084d936-eccc-4e08-a981-1dac70b8a4df:localhost] 2022-02-07 21:57:49 | [Mutex] waiting for: [received:nodes:0084d936-eccc-4e08-a981-1dac70b8a4df:localhost] 2022-02-07 21:57:49 | [Mutex] received everything. 2022-02-07 21:57:49 | [Mutex] isItemNotified: received:node:0084d936-eccc-4e08-a981-1dac70b8a4df:localhost:node-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af:Node d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af :: false |
deleteSubnodes | 1.170s |
2022-02-07 21:57:47 |
2022-02-07 21:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:47 | ------------------------------------ 2022-02-07 21:57:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node></data> 2022-02-07 21:57:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-07 21:57:48 | [Mutex] waiting for: [received:nodes:8912b1e7-56fe-48e6-a244-a5a3fc4ea284:localhost] 2022-02-07 21:57:48 | [Mutex] waiting for: [received:nodes:8912b1e7-56fe-48e6-a244-a5a3fc4ea284:localhost] 2022-02-07 21:57:48 | [Mutex] received everything. 2022-02-07 21:57:48 | [Mutex] isItemNotified: received:node:8912b1e7-56fe-48e6-a244-a5a3fc4ea284:localhost:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:Node 5f60012b-0f90-4ea2-8963-ab3b51bcfef8 :: false 2022-02-07 21:57:48 | [Mutex] waiting for: [received:nodes:c08c76fa-44d8-4ccc-b786-efec937d42a7:localhost] 2022-02-07 21:57:48 | [Mutex] received everything. 2022-02-07 21:57:48 | [Mutex] isItemNotified: received:node:c08c76fa-44d8-4ccc-b786-efec937d42a7:localhost:node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8:Node 5f60012b-0f90-4ea2-8963-ab3b51bcfef8 :: false |
publishItemsToNodes | 0.289s |
2022-02-07 21:57:44 |
2022-02-07 21:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:44 | ------------------------------------ 2022-02-07 21:57:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node><item-id>item-255fab56-225b-4630-88d8-ea5e43903dcd</item-id><entry><test>item-255fab56-225b-4630-88d8-ea5e43903dcd</test></entry></data> 2022-02-07 21:57:45 | 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-255fab56-225b-4630-88d8-ea5e43903dcd</value></item-id></result> 2022-02-07 21:57:45 | [Mutex] waiting for: [published:item:notifieditem-255fab56-225b-4630-88d8-ea5e43903dcd:admin@test-domain.com] 2022-02-07 21:57:45 | [Mutex] received everything. 2022-02-07 21:57:45 | [Mutex] isItemNotified: published:item:notifieditem-255fab56-225b-4630-88d8-ea5e43903dcd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2022-02-07 21:57:45 |
2022-02-07 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:45 | ------------------------------------ 2022-02-07 21:57:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node><item-id>item-255fab56-225b-4630-88d8-ea5e43903dcd</item-id></data> 2022-02-07 21:57:46 | 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-255fab56-225b-4630-88d8-ea5e43903dcd</value></item-id></result> 2022-02-07 21:57:46 | [Mutex] received everything. 2022-02-07 21:57:46 | [Mutex] isItemNotified: retracted:item:notifieditem-255fab56-225b-4630-88d8-ea5e43903dcd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.328s |
2022-02-07 21:57:45 |
2022-02-07 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:45 | ------------------------------------ 2022-02-07 21:57:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node><item-id>item-255fab56-225b-4630-88d8-ea5e43903dcd</item-id></data> 2022-02-07 21:57:45 | 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-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</value></node><item-id type="text-single" label="Item ID"><value>item-255fab56-225b-4630-88d8-ea5e43903dcd</value></item-id><item type="text-multi" label="Item"><value><item id="item-255fab56-225b-4630-88d8-ea5e43903dcd"><test>item-255fab56-225b-4630-88d8-ea5e43903dcd</test></item></value></item></result> 2022-02-07 21:57:45 | [Mutex] notify: [retrieved:item:item-255fab56-225b-4630-88d8-ea5e43903dcd:payload-matches:true:localhost] 2022-02-07 21:57:45 | [Mutex] received everything. 2022-02-07 21:57:45 | [Mutex] isItemNotified: retrieved:item:item-255fab56-225b-4630-88d8-ea5e43903dcd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-02-07 21:57:45 |
2022-02-07 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:45 | ------------------------------------ 2022-02-07 21:57:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-07 21:57:45 | 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-d49ce3bf-0bc4-44d8-baba-3cdec1f9f6af</value><value>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-07 21:57:45 |
2022-02-07 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:45 | ------------------------------------ 2022-02-07 21:57:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8)</node-pattern></data> 2022-02-07 21:57:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.186s |
2022-02-07 21:57:43 |
2022-02-07 21:57:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:43 | ------------------------------------ 2022-02-07 21:57:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-07 21:57:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.343s |
2022-02-07 21:57:46 |
2022-02-07 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-07 21:57:46 | ------------------------------------ 2022-02-07 21:57:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5f60012b-0f90-4ea2-8963-ab3b51bcfef8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-07 21:57:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |