Test duration : 9.972s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2020-08-27 11:13:20 |
2020-08-27 11:13:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:20 | ------------------------------------ 2020-08-27 11:13:20 | [Mutex] waiting for: [configured:node:node-72a33084-17ae-4edf-a375-a6d971a0f22b:node-b5821dfd-a762-4e62-b26e-19def789f8fb] 2020-08-27 11:13:20 | [Mutex] received everything. 2020-08-27 11:13:20 | [Mutex] isItemNotified: configured:node:node-72a33084-17ae-4edf-a375-a6d971a0f22b:node-b5821dfd-a762-4e62-b26e-19def789f8fb :: true 2020-08-27 11:13:21 | [Mutex] waiting for: [received:nodes:5c4d45f0-a555-4e7f-bffd-72acbdb4acc3:localhost] 2020-08-27 11:13:21 | [Mutex] received everything. 2020-08-27 11:13:21 | [Mutex] isItemNotified: received:node:5c4d45f0-a555-4e7f-bffd-72acbdb4acc3:localhost:node-72a33084-17ae-4edf-a375-a6d971a0f22b:Node 72a33084-17ae-4edf-a375-a6d971a0f22b :: true 2020-08-27 11:13:21 | [Mutex] waiting for: [received:nodes:20336107-0fb1-4a5c-bf4d-e7e3457e04a9:localhost] 2020-08-27 11:13:21 | [Mutex] waiting for: [received:nodes:20336107-0fb1-4a5c-bf4d-e7e3457e04a9:localhost] 2020-08-27 11:13:21 | [Mutex] received everything. 2020-08-27 11:13:21 | [Mutex] isItemNotified: received:node:20336107-0fb1-4a5c-bf4d-e7e3457e04a9:localhost:node-72a33084-17ae-4edf-a375-a6d971a0f22b:Node 72a33084-17ae-4edf-a375-a6d971a0f22b :: false |
createNodes | 1.526s |
2020-08-27 11:13:18 |
2020-08-27 11:13:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:18 | ------------------------------------ 2020-08-27 11:13:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 72a33084-17ae-4edf-a375-a6d971a0f22b</title></pubsub></data> 2020-08-27 11:13:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:13:19 | [Mutex] waiting for: [received:nodes:4e41fad1-af20-42dd-b4a5-e21217242731:localhost] 2020-08-27 11:13:19 | [Mutex] received everything. 2020-08-27 11:13:19 | [Mutex] isItemNotified: received:node:4e41fad1-af20-42dd-b4a5-e21217242731:localhost:node-72a33084-17ae-4edf-a375-a6d971a0f22b:Node 72a33084-17ae-4edf-a375-a6d971a0f22b :: true |
createSubnodes | 1.021s |
2020-08-27 11:13:19 |
2020-08-27 11:13:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:19 | ------------------------------------ 2020-08-27 11:13:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b5821dfd-a762-4e62-b26e-19def789f8fb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b5821dfd-a762-4e62-b26e-19def789f8fb</title></pubsub></data> 2020-08-27 11:13:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:13:20 | [Mutex] waiting for: [received:nodes:d835b1cc-4a7a-4c13-a888-d6dd14dca0f5:localhost] 2020-08-27 11:13:20 | [Mutex] received everything. 2020-08-27 11:13:20 | [Mutex] isItemNotified: received:node:d835b1cc-4a7a-4c13-a888-d6dd14dca0f5:localhost:node-b5821dfd-a762-4e62-b26e-19def789f8fb:Node b5821dfd-a762-4e62-b26e-19def789f8fb :: true |
deleteNodes | 1.025s |
2020-08-27 11:13:26 |
2020-08-27 11:13:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:26 | ------------------------------------ 2020-08-27 11:13:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b5821dfd-a762-4e62-b26e-19def789f8fb</node></data> 2020-08-27 11:13:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:13:27 | [Mutex] waiting for: [received:nodes:283e8942-659d-423d-9203-4a2a78b8ae3b:localhost] 2020-08-27 11:13:27 | [Mutex] received everything. 2020-08-27 11:13:27 | [Mutex] isItemNotified: received:node:283e8942-659d-423d-9203-4a2a78b8ae3b:localhost:node-b5821dfd-a762-4e62-b26e-19def789f8fb:Node b5821dfd-a762-4e62-b26e-19def789f8fb :: false |
deleteSubnodes | 1.102s |
2020-08-27 11:13:25 |
2020-08-27 11:13:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:25 | ------------------------------------ 2020-08-27 11:13:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node></data> 2020-08-27 11:13:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:13:26 | [Mutex] waiting for: [received:nodes:6ac77f3e-e3cc-428b-85be-6613f14b5081:localhost] 2020-08-27 11:13:26 | [Mutex] received everything. 2020-08-27 11:13:26 | [Mutex] isItemNotified: received:node:6ac77f3e-e3cc-428b-85be-6613f14b5081:localhost:node-72a33084-17ae-4edf-a375-a6d971a0f22b:Node 72a33084-17ae-4edf-a375-a6d971a0f22b :: false 2020-08-27 11:13:26 | [Mutex] waiting for: [received:nodes:3fde8348-c246-4314-b306-078d3cda2481:localhost] 2020-08-27 11:13:26 | [Mutex] received everything. 2020-08-27 11:13:26 | [Mutex] isItemNotified: received:node:3fde8348-c246-4314-b306-078d3cda2481:localhost:node-72a33084-17ae-4edf-a375-a6d971a0f22b:Node 72a33084-17ae-4edf-a375-a6d971a0f22b :: false |
publishItemsToNodes | 0.201s |
2020-08-27 11:13:23 |
2020-08-27 11:13:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:23 | ------------------------------------ 2020-08-27 11:13:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node><item-id>item-5bcd78d7-c586-4369-a2fb-90f92854a97c</item-id><entry><test>item-5bcd78d7-c586-4369-a2fb-90f92854a97c</test></entry></data> 2020-08-27 11:13:23 | 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-5bcd78d7-c586-4369-a2fb-90f92854a97c</value></item-id></result> 2020-08-27 11:13:23 | [Mutex] received everything. 2020-08-27 11:13:23 | [Mutex] isItemNotified: published:item:notifieditem-5bcd78d7-c586-4369-a2fb-90f92854a97c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.231s |
2020-08-27 11:13:23 |
2020-08-27 11:13:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:23 | ------------------------------------ 2020-08-27 11:13:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node><item-id>item-5bcd78d7-c586-4369-a2fb-90f92854a97c</item-id></data> 2020-08-27 11:13:23 | 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-5bcd78d7-c586-4369-a2fb-90f92854a97c</value></item-id></result> 2020-08-27 11:13:23 | [Mutex] received everything. 2020-08-27 11:13:23 | [Mutex] isItemNotified: retracted:item:notifieditem-5bcd78d7-c586-4369-a2fb-90f92854a97c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.221s |
2020-08-27 11:13:23 |
2020-08-27 11:13:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:23 | ------------------------------------ 2020-08-27 11:13:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node><item-id>item-5bcd78d7-c586-4369-a2fb-90f92854a97c</item-id></data> 2020-08-27 11:13:23 | 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-72a33084-17ae-4edf-a375-a6d971a0f22b</value></node><item-id type="text-single" label="Item ID"><value>item-5bcd78d7-c586-4369-a2fb-90f92854a97c</value></item-id><item type="text-multi" label="Item"><value><item id="item-5bcd78d7-c586-4369-a2fb-90f92854a97c"><test>item-5bcd78d7-c586-4369-a2fb-90f92854a97c</test></item></value></item></result> 2020-08-27 11:13:23 | [Mutex] notify: [retrieved:item:item-5bcd78d7-c586-4369-a2fb-90f92854a97c:payload-matches:true:localhost] 2020-08-27 11:13:23 | [Mutex] received everything. 2020-08-27 11:13:23 | [Mutex] isItemNotified: retrieved:item:item-5bcd78d7-c586-4369-a2fb-90f92854a97c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2020-08-27 11:13:23 |
2020-08-27 11:13:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:23 | ------------------------------------ 2020-08-27 11:13:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-27 11:13:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b5821dfd-a762-4e62-b26e-19def789f8fb</value><value>test</value><value>node-72a33084-17ae-4edf-a375-a6d971a0f22b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2020-08-27 11:13:23 |
2020-08-27 11:13:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:23 | ------------------------------------ 2020-08-27 11:13:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-72a33084-17ae-4edf-a375-a6d971a0f22b)</node-pattern></data> 2020-08-27 11:13:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.101s |
2020-08-27 11:13:21 |
2020-08-27 11:13:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:21 | ------------------------------------ 2020-08-27 11:13:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 11:13:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.359s |
2020-08-27 11:13:23 |
2020-08-27 11:13:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:13:23 | ------------------------------------ 2020-08-27 11:13:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-72a33084-17ae-4edf-a375-a6d971a0f22b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 11:13:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |