Test duration : 9.988s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2020-12-28 21:29:03 |
2020-12-28 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:03 | ------------------------------------ 2020-12-28 21:29:03 | [Mutex] waiting for: [configured:node:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:node-b647e66c-4b0f-4a72-87e4-f558b8bbf730] 2020-12-28 21:29:03 | [Mutex] received everything. 2020-12-28 21:29:03 | [Mutex] isItemNotified: configured:node:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:node-b647e66c-4b0f-4a72-87e4-f558b8bbf730 :: true 2020-12-28 21:29:04 | [Mutex] waiting for: [received:nodes:ee882f0d-88ae-425d-9914-464534df0871:localhost] 2020-12-28 21:29:04 | [Mutex] received everything. 2020-12-28 21:29:04 | [Mutex] isItemNotified: received:node:ee882f0d-88ae-425d-9914-464534df0871:localhost:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:Node 9286fd02-55c5-42dd-81c4-e0affac05b7b :: true 2020-12-28 21:29:04 | [Mutex] waiting for: [received:nodes:b9017f99-9880-46e8-aa01-d65573711550:localhost] 2020-12-28 21:29:04 | [Mutex] received everything. 2020-12-28 21:29:04 | [Mutex] isItemNotified: received:node:b9017f99-9880-46e8-aa01-d65573711550:localhost:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:Node 9286fd02-55c5-42dd-81c4-e0affac05b7b :: false |
createNodes | 1.444s |
2020-12-28 21:29:00 |
2020-12-28 21:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:00 | ------------------------------------ 2020-12-28 21:29:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9286fd02-55c5-42dd-81c4-e0affac05b7b</title></pubsub></data> 2020-12-28 21:29:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:29:02 | [Mutex] waiting for: [received:nodes:d102a43e-797a-413c-922c-982785f37fd1:localhost] 2020-12-28 21:29:02 | [Mutex] received everything. 2020-12-28 21:29:02 | [Mutex] isItemNotified: received:node:d102a43e-797a-413c-922c-982785f37fd1:localhost:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:Node 9286fd02-55c5-42dd-81c4-e0affac05b7b :: true |
createSubnodes | 1.024s |
2020-12-28 21:29:02 |
2020-12-28 21:29:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:02 | ------------------------------------ 2020-12-28 21:29:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b647e66c-4b0f-4a72-87e4-f558b8bbf730</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b647e66c-4b0f-4a72-87e4-f558b8bbf730</title></pubsub></data> 2020-12-28 21:29:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:29:03 | [Mutex] waiting for: [received:nodes:5ea5cffc-25cc-46a5-b2ef-35812a5dcdeb:localhost] 2020-12-28 21:29:03 | [Mutex] received everything. 2020-12-28 21:29:03 | [Mutex] isItemNotified: received:node:5ea5cffc-25cc-46a5-b2ef-35812a5dcdeb:localhost:node-b647e66c-4b0f-4a72-87e4-f558b8bbf730:Node b647e66c-4b0f-4a72-87e4-f558b8bbf730 :: true |
deleteNodes | 1.017s |
2020-12-28 21:29:08 |
2020-12-28 21:29:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:08 | ------------------------------------ 2020-12-28 21:29:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b647e66c-4b0f-4a72-87e4-f558b8bbf730</node></data> 2020-12-28 21:29:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:29:09 | [Mutex] waiting for: [received:nodes:7375961a-3892-4615-b092-7cd6e7d6677a:localhost] 2020-12-28 21:29:09 | [Mutex] waiting for: [received:nodes:7375961a-3892-4615-b092-7cd6e7d6677a:localhost] 2020-12-28 21:29:09 | [Mutex] received everything. 2020-12-28 21:29:09 | [Mutex] isItemNotified: received:node:7375961a-3892-4615-b092-7cd6e7d6677a:localhost:node-b647e66c-4b0f-4a72-87e4-f558b8bbf730:Node b647e66c-4b0f-4a72-87e4-f558b8bbf730 :: false |
deleteSubnodes | 1.146s |
2020-12-28 21:29:07 |
2020-12-28 21:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:07 | ------------------------------------ 2020-12-28 21:29:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node></data> 2020-12-28 21:29:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:29:08 | [Mutex] waiting for: [received:nodes:24bebf11-d8ba-48a6-91a8-a8840438d362:localhost] 2020-12-28 21:29:08 | [Mutex] received everything. 2020-12-28 21:29:08 | [Mutex] isItemNotified: received:node:24bebf11-d8ba-48a6-91a8-a8840438d362:localhost:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:Node 9286fd02-55c5-42dd-81c4-e0affac05b7b :: false 2020-12-28 21:29:08 | [Mutex] waiting for: [received:nodes:40c5200a-cabe-4f1f-844e-0f441754359f:localhost] 2020-12-28 21:29:08 | [Mutex] received everything. 2020-12-28 21:29:08 | [Mutex] isItemNotified: received:node:40c5200a-cabe-4f1f-844e-0f441754359f:localhost:node-9286fd02-55c5-42dd-81c4-e0affac05b7b:Node 9286fd02-55c5-42dd-81c4-e0affac05b7b :: false |
publishItemsToNodes | 0.215s |
2020-12-28 21:29:05 |
2020-12-28 21:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:05 | ------------------------------------ 2020-12-28 21:29:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node><item-id>item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</item-id><entry><test>item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</test></entry></data> 2020-12-28 21:29:05 | 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-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</value></item-id></result> 2020-12-28 21:29:05 | [Mutex] received everything. 2020-12-28 21:29:05 | [Mutex] isItemNotified: published:item:notifieditem-7a2c9181-c97f-414e-bb6d-d23f5261cc7b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2020-12-28 21:29:06 |
2020-12-28 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:06 | ------------------------------------ 2020-12-28 21:29:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node><item-id>item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</item-id></data> 2020-12-28 21:29:06 | 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-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</value></item-id></result> 2020-12-28 21:29:06 | [Mutex] received everything. 2020-12-28 21:29:06 | [Mutex] isItemNotified: retracted:item:notifieditem-7a2c9181-c97f-414e-bb6d-d23f5261cc7b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.198s |
2020-12-28 21:29:05 |
2020-12-28 21:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:05 | ------------------------------------ 2020-12-28 21:29:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node><item-id>item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</item-id></data> 2020-12-28 21:29:05 | 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-9286fd02-55c5-42dd-81c4-e0affac05b7b</value></node><item-id label="Item ID" type="text-single"><value>item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</value></item-id><item label="Item" type="text-multi"><value><item id="item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b"><test>item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b</test></item></value></item></result> 2020-12-28 21:29:05 | [Mutex] notify: [retrieved:item:item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b:payload-matches:true:localhost] 2020-12-28 21:29:05 | [Mutex] received everything. 2020-12-28 21:29:05 | [Mutex] isItemNotified: retrieved:item:item-7a2c9181-c97f-414e-bb6d-d23f5261cc7b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-12-28 21:29:05 |
2020-12-28 21:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:05 | ------------------------------------ 2020-12-28 21:29:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-28 21:29:06 | 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-9286fd02-55c5-42dd-81c4-e0affac05b7b</value><value>node-b647e66c-4b0f-4a72-87e4-f558b8bbf730</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-12-28 21:29:06 |
2020-12-28 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:06 | ------------------------------------ 2020-12-28 21:29:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9286fd02-55c5-42dd-81c4-e0affac05b7b)</node-pattern></data> 2020-12-28 21:29:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.111s |
2020-12-28 21:29:04 |
2020-12-28 21:29:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:04 | ------------------------------------ 2020-12-28 21:29:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-28 21:29:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.304s |
2020-12-28 21:29:06 |
2020-12-28 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:29:06 | ------------------------------------ 2020-12-28 21:29:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9286fd02-55c5-42dd-81c4-e0affac05b7b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-28 21:29:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |