Test duration : 9.519s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-08-23 22:33:58 |
2022-08-23 22:33:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:33:58 | ------------------------------------ 2022-08-23 22:33:58 | [Mutex] waiting for: [configured:node:node-2695cd49-f83e-4831-95f9-84a5661486c7:node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee] 2022-08-23 22:33:58 | [Mutex] received everything. 2022-08-23 22:33:58 | [Mutex] isItemNotified: configured:node:node-2695cd49-f83e-4831-95f9-84a5661486c7:node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee :: true 2022-08-23 22:33:59 | [Mutex] waiting for: [received:nodes:314940eb-9bf8-42db-9710-971f8624c97a:localhost] 2022-08-23 22:33:59 | [Mutex] received everything. 2022-08-23 22:33:59 | [Mutex] isItemNotified: received:node:314940eb-9bf8-42db-9710-971f8624c97a:localhost:node-2695cd49-f83e-4831-95f9-84a5661486c7:Node 2695cd49-f83e-4831-95f9-84a5661486c7 :: true 2022-08-23 22:33:59 | [Mutex] waiting for: [received:nodes:43fc1efb-9500-4c20-9586-24d478470fa5:localhost] 2022-08-23 22:33:59 | [Mutex] received everything. 2022-08-23 22:33:59 | [Mutex] isItemNotified: received:node:43fc1efb-9500-4c20-9586-24d478470fa5:localhost:node-2695cd49-f83e-4831-95f9-84a5661486c7:Node 2695cd49-f83e-4831-95f9-84a5661486c7 :: false |
createNodes | 1.427s |
2022-08-23 22:33:56 |
2022-08-23 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:33:56 | ------------------------------------ 2022-08-23 22:33:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2695cd49-f83e-4831-95f9-84a5661486c7</title></pubsub></data> 2022-08-23 22:33:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:33:57 | [Mutex] waiting for: [received:nodes:2b2abb89-6fa8-4bbb-b804-c530b3de93ca:localhost] 2022-08-23 22:33:57 | [Mutex] received everything. 2022-08-23 22:33:57 | [Mutex] isItemNotified: received:node:2b2abb89-6fa8-4bbb-b804-c530b3de93ca:localhost:node-2695cd49-f83e-4831-95f9-84a5661486c7:Node 2695cd49-f83e-4831-95f9-84a5661486c7 :: true |
createSubnodes | 1.026s |
2022-08-23 22:33:57 |
2022-08-23 22:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:33:57 | ------------------------------------ 2022-08-23 22:33:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 392f3406-8e31-4851-8a0e-8a4bfb2a20ee</title></pubsub></data> 2022-08-23 22:33:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:33:58 | [Mutex] waiting for: [received:nodes:451a4584-d73b-473a-aa2f-fe6d71b14c14:localhost] 2022-08-23 22:33:58 | [Mutex] waiting for: [received:nodes:451a4584-d73b-473a-aa2f-fe6d71b14c14:localhost] 2022-08-23 22:33:58 | [Mutex] received everything. 2022-08-23 22:33:58 | [Mutex] isItemNotified: received:node:451a4584-d73b-473a-aa2f-fe6d71b14c14:localhost:node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee:Node 392f3406-8e31-4851-8a0e-8a4bfb2a20ee :: true |
deleteNodes | 1.024s |
2022-08-23 22:34:04 |
2022-08-23 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:04 | ------------------------------------ 2022-08-23 22:34:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee</node></data> 2022-08-23 22:34:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:34:05 | [Mutex] waiting for: [received:nodes:476c59fb-e347-4ed1-ac1f-4d24c89dc5df:localhost] 2022-08-23 22:34:05 | [Mutex] received everything. 2022-08-23 22:34:05 | [Mutex] isItemNotified: received:node:476c59fb-e347-4ed1-ac1f-4d24c89dc5df:localhost:node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee:Node 392f3406-8e31-4851-8a0e-8a4bfb2a20ee :: false |
deleteSubnodes | 1.127s |
2022-08-23 22:34:03 |
2022-08-23 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:03 | ------------------------------------ 2022-08-23 22:34:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node></data> 2022-08-23 22:34:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:34:04 | [Mutex] waiting for: [received:nodes:5948a1de-4938-48c9-9295-594c4bb9452b:localhost] 2022-08-23 22:34:04 | [Mutex] received everything. 2022-08-23 22:34:04 | [Mutex] isItemNotified: received:node:5948a1de-4938-48c9-9295-594c4bb9452b:localhost:node-2695cd49-f83e-4831-95f9-84a5661486c7:Node 2695cd49-f83e-4831-95f9-84a5661486c7 :: false 2022-08-23 22:34:04 | [Mutex] waiting for: [received:nodes:8a553943-8ce5-48de-a337-927de6d264ca:localhost] 2022-08-23 22:34:04 | [Mutex] received everything. 2022-08-23 22:34:04 | [Mutex] isItemNotified: received:node:8a553943-8ce5-48de-a337-927de6d264ca:localhost:node-2695cd49-f83e-4831-95f9-84a5661486c7:Node 2695cd49-f83e-4831-95f9-84a5661486c7 :: false |
publishItemsToNodes | 0.227s |
2022-08-23 22:34:01 |
2022-08-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:01 | ------------------------------------ 2022-08-23 22:34:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node><item-id>item-1a1ed108-f4b2-4236-8d19-b2573aca30a4</item-id><entry><test>item-1a1ed108-f4b2-4236-8d19-b2573aca30a4</test></entry></data> 2022-08-23 22:34:01 | 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-1a1ed108-f4b2-4236-8d19-b2573aca30a4</value></item-id></result> 2022-08-23 22:34:01 | [Mutex] waiting for: [published:item:notifieditem-1a1ed108-f4b2-4236-8d19-b2573aca30a4:admin@test-domain.com] 2022-08-23 22:34:01 | [Mutex] received everything. 2022-08-23 22:34:01 | [Mutex] isItemNotified: published:item:notifieditem-1a1ed108-f4b2-4236-8d19-b2573aca30a4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-08-23 22:34:01 |
2022-08-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:01 | ------------------------------------ 2022-08-23 22:34:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node><item-id>item-1a1ed108-f4b2-4236-8d19-b2573aca30a4</item-id></data> 2022-08-23 22:34:01 | 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-1a1ed108-f4b2-4236-8d19-b2573aca30a4</value></item-id></result> 2022-08-23 22:34:01 | [Mutex] received everything. 2022-08-23 22:34:01 | [Mutex] isItemNotified: retracted:item:notifieditem-1a1ed108-f4b2-4236-8d19-b2573aca30a4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.282s |
2022-08-23 22:34:01 |
2022-08-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:01 | ------------------------------------ 2022-08-23 22:34:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node><item-id>item-1a1ed108-f4b2-4236-8d19-b2573aca30a4</item-id></data> 2022-08-23 22:34:01 | 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-2695cd49-f83e-4831-95f9-84a5661486c7</value></node><item-id type="text-single" label="Item ID"><value>item-1a1ed108-f4b2-4236-8d19-b2573aca30a4</value></item-id><item type="text-multi" label="Item"><value><item id="item-1a1ed108-f4b2-4236-8d19-b2573aca30a4"><test>item-1a1ed108-f4b2-4236-8d19-b2573aca30a4</test></item></value></item></result> 2022-08-23 22:34:01 | [Mutex] notify: [retrieved:item:item-1a1ed108-f4b2-4236-8d19-b2573aca30a4:payload-matches:true:localhost] 2022-08-23 22:34:01 | [Mutex] received everything. 2022-08-23 22:34:01 | [Mutex] isItemNotified: retrieved:item:item-1a1ed108-f4b2-4236-8d19-b2573aca30a4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-08-23 22:34:01 |
2022-08-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:01 | ------------------------------------ 2022-08-23 22:34:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-23 22:34:01 | 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-2695cd49-f83e-4831-95f9-84a5661486c7</value><value>node-392f3406-8e31-4851-8a0e-8a4bfb2a20ee</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-08-23 22:34:01 |
2022-08-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:01 | ------------------------------------ 2022-08-23 22:34:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2695cd49-f83e-4831-95f9-84a5661486c7)</node-pattern></data> 2022-08-23 22:34:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.119s |
2022-08-23 22:33:59 |
2022-08-23 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:33:59 | ------------------------------------ 2022-08-23 22:33:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-23 22:34:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.195s |
2022-08-23 22:34:01 |
2022-08-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:01 | ------------------------------------ 2022-08-23 22:34:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2695cd49-f83e-4831-95f9-84a5661486c7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-23 22:34:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |