Test duration : 10.153s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2021-02-14 21:58:28 |
2021-02-14 21:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:28 | ------------------------------------ 2021-02-14 21:58:28 | [Mutex] waiting for: [configured:node:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:node-077d1310-f1b2-46d4-a5cd-3795a16a6888] 2021-02-14 21:58:28 | [Mutex] received everything. 2021-02-14 21:58:28 | [Mutex] isItemNotified: configured:node:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:node-077d1310-f1b2-46d4-a5cd-3795a16a6888 :: true 2021-02-14 21:58:29 | [Mutex] waiting for: [received:nodes:93d7b644-0189-41d2-b1f5-68455c66e047:localhost] 2021-02-14 21:58:29 | [Mutex] received everything. 2021-02-14 21:58:29 | [Mutex] isItemNotified: received:node:93d7b644-0189-41d2-b1f5-68455c66e047:localhost:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:Node e769dbbf-a393-455a-8da6-3b82b2ff3c6f :: true 2021-02-14 21:58:29 | [Mutex] waiting for: [received:nodes:92e79217-0990-4bb8-bd30-037ecbcf1916:localhost] 2021-02-14 21:58:29 | [Mutex] waiting for: [received:nodes:92e79217-0990-4bb8-bd30-037ecbcf1916:localhost] 2021-02-14 21:58:29 | [Mutex] waiting for: [received:nodes:92e79217-0990-4bb8-bd30-037ecbcf1916:localhost] 2021-02-14 21:58:29 | [Mutex] received everything. 2021-02-14 21:58:29 | [Mutex] isItemNotified: received:node:92e79217-0990-4bb8-bd30-037ecbcf1916:localhost:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:Node e769dbbf-a393-455a-8da6-3b82b2ff3c6f :: false |
createNodes | 1.453s |
2021-02-14 21:58:26 |
2021-02-14 21:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:26 | ------------------------------------ 2021-02-14 21:58:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e769dbbf-a393-455a-8da6-3b82b2ff3c6f</title></pubsub></data> 2021-02-14 21:58:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 21:58:27 | [Mutex] waiting for: [received:nodes:27737812-4e2f-43d6-9dfb-359db613f1e6:localhost] 2021-02-14 21:58:27 | [Mutex] received everything. 2021-02-14 21:58:27 | [Mutex] isItemNotified: received:node:27737812-4e2f-43d6-9dfb-359db613f1e6:localhost:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:Node e769dbbf-a393-455a-8da6-3b82b2ff3c6f :: true |
createSubnodes | 1.028s |
2021-02-14 21:58:27 |
2021-02-14 21:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:27 | ------------------------------------ 2021-02-14 21:58:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-077d1310-f1b2-46d4-a5cd-3795a16a6888</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 077d1310-f1b2-46d4-a5cd-3795a16a6888</title></pubsub></data> 2021-02-14 21:58:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 21:58:28 | [Mutex] waiting for: [received:nodes:3de4035c-8966-45b3-9395-9eca679bbff1:localhost] 2021-02-14 21:58:28 | [Mutex] waiting for: [received:nodes:3de4035c-8966-45b3-9395-9eca679bbff1:localhost] 2021-02-14 21:58:28 | [Mutex] received everything. 2021-02-14 21:58:28 | [Mutex] isItemNotified: received:node:3de4035c-8966-45b3-9395-9eca679bbff1:localhost:node-077d1310-f1b2-46d4-a5cd-3795a16a6888:Node 077d1310-f1b2-46d4-a5cd-3795a16a6888 :: true |
deleteNodes | 1.021s |
2021-02-14 21:58:34 |
2021-02-14 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:34 | ------------------------------------ 2021-02-14 21:58:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-077d1310-f1b2-46d4-a5cd-3795a16a6888</node></data> 2021-02-14 21:58:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 21:58:35 | [Mutex] waiting for: [received:nodes:bdd991a6-322e-4838-971a-6ec2b0e54501:localhost] 2021-02-14 21:58:35 | [Mutex] received everything. 2021-02-14 21:58:35 | [Mutex] isItemNotified: received:node:bdd991a6-322e-4838-971a-6ec2b0e54501:localhost:node-077d1310-f1b2-46d4-a5cd-3795a16a6888:Node 077d1310-f1b2-46d4-a5cd-3795a16a6888 :: false |
deleteSubnodes | 1.129s |
2021-02-14 21:58:33 |
2021-02-14 21:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:33 | ------------------------------------ 2021-02-14 21:58:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node></data> 2021-02-14 21:58:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 21:58:34 | [Mutex] waiting for: [received:nodes:e3f235b5-525e-4cfd-9c95-30c70eb36cb1:localhost] 2021-02-14 21:58:34 | [Mutex] received everything. 2021-02-14 21:58:34 | [Mutex] isItemNotified: received:node:e3f235b5-525e-4cfd-9c95-30c70eb36cb1:localhost:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:Node e769dbbf-a393-455a-8da6-3b82b2ff3c6f :: false 2021-02-14 21:58:34 | [Mutex] waiting for: [received:nodes:d0ee8d23-5122-4252-adc5-e43dda1fd43d:localhost] 2021-02-14 21:58:34 | [Mutex] received everything. 2021-02-14 21:58:34 | [Mutex] isItemNotified: received:node:d0ee8d23-5122-4252-adc5-e43dda1fd43d:localhost:node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f:Node e769dbbf-a393-455a-8da6-3b82b2ff3c6f :: false |
publishItemsToNodes | 0.232s |
2021-02-14 21:58:31 |
2021-02-14 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:31 | ------------------------------------ 2021-02-14 21:58:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node><item-id>item-349f254c-ca4d-4e07-9b00-f0a23209f02a</item-id><entry><test>item-349f254c-ca4d-4e07-9b00-f0a23209f02a</test></entry></data> 2021-02-14 21:58:31 | 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-349f254c-ca4d-4e07-9b00-f0a23209f02a</value></item-id></result> 2021-02-14 21:58:31 | [Mutex] waiting for: [published:item:notifieditem-349f254c-ca4d-4e07-9b00-f0a23209f02a:admin@test-domain.com] 2021-02-14 21:58:31 | [Mutex] received everything. 2021-02-14 21:58:31 | [Mutex] isItemNotified: published:item:notifieditem-349f254c-ca4d-4e07-9b00-f0a23209f02a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2021-02-14 21:58:31 |
2021-02-14 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:31 | ------------------------------------ 2021-02-14 21:58:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node><item-id>item-349f254c-ca4d-4e07-9b00-f0a23209f02a</item-id></data> 2021-02-14 21:58:31 | 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-349f254c-ca4d-4e07-9b00-f0a23209f02a</value></item-id></result> 2021-02-14 21:58:31 | [Mutex] received everything. 2021-02-14 21:58:31 | [Mutex] isItemNotified: retracted:item:notifieditem-349f254c-ca4d-4e07-9b00-f0a23209f02a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.318s |
2021-02-14 21:58:31 |
2021-02-14 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:31 | ------------------------------------ 2021-02-14 21:58:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node><item-id>item-349f254c-ca4d-4e07-9b00-f0a23209f02a</item-id></data> 2021-02-14 21:58:31 | 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-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</value></node><item-id label="Item ID" type="text-single"><value>item-349f254c-ca4d-4e07-9b00-f0a23209f02a</value></item-id><item label="Item" type="text-multi"><value><item id="item-349f254c-ca4d-4e07-9b00-f0a23209f02a"><test>item-349f254c-ca4d-4e07-9b00-f0a23209f02a</test></item></value></item></result> 2021-02-14 21:58:31 | [Mutex] notify: [retrieved:item:item-349f254c-ca4d-4e07-9b00-f0a23209f02a:payload-matches:true:localhost] 2021-02-14 21:58:31 | [Mutex] received everything. 2021-02-14 21:58:31 | [Mutex] isItemNotified: retrieved:item:item-349f254c-ca4d-4e07-9b00-f0a23209f02a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-02-14 21:58:31 |
2021-02-14 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:31 | ------------------------------------ 2021-02-14 21:58:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-14 21:58:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</value><value>node-077d1310-f1b2-46d4-a5cd-3795a16a6888</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-02-14 21:58:31 |
2021-02-14 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:31 | ------------------------------------ 2021-02-14 21:58:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f)</node-pattern></data> 2021-02-14 21:58:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.105s |
2021-02-14 21:58:29 |
2021-02-14 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:29 | ------------------------------------ 2021-02-14 21:58:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-14 21:58:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.330s |
2021-02-14 21:58:31 |
2021-02-14 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 21:58:31 | ------------------------------------ 2021-02-14 21:58:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e769dbbf-a393-455a-8da6-3b82b2ff3c6f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-14 21:58:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |