Test duration : 10.540s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2020-10-21 23:02:07 |
2020-10-21 23:02:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:07 | ------------------------------------ 2020-10-21 23:02:07 | [Mutex] waiting for: [configured:node:node-46d8b021-fbfa-4298-87f8-537c4833e517:node-6f2ebfca-ea12-4d21-8af0-670126c47d2d] 2020-10-21 23:02:07 | [Mutex] received everything. 2020-10-21 23:02:07 | [Mutex] isItemNotified: configured:node:node-46d8b021-fbfa-4298-87f8-537c4833e517:node-6f2ebfca-ea12-4d21-8af0-670126c47d2d :: true 2020-10-21 23:02:08 | [Mutex] waiting for: [received:nodes:ac4cd50a-b550-453d-9fec-d5f628360dfe:localhost] 2020-10-21 23:02:08 | [Mutex] received everything. 2020-10-21 23:02:08 | [Mutex] isItemNotified: received:node:ac4cd50a-b550-453d-9fec-d5f628360dfe:localhost:node-46d8b021-fbfa-4298-87f8-537c4833e517:Node 46d8b021-fbfa-4298-87f8-537c4833e517 :: true 2020-10-21 23:02:08 | [Mutex] waiting for: [received:nodes:f4480bcc-62c5-45ab-8141-70d3dc874380:localhost] 2020-10-21 23:02:08 | [Mutex] received everything. 2020-10-21 23:02:08 | [Mutex] isItemNotified: received:node:f4480bcc-62c5-45ab-8141-70d3dc874380:localhost:node-46d8b021-fbfa-4298-87f8-537c4833e517:Node 46d8b021-fbfa-4298-87f8-537c4833e517 :: false |
createNodes | 1.548s |
2020-10-21 23:02:04 |
2020-10-21 23:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:04 | ------------------------------------ 2020-10-21 23:02:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 46d8b021-fbfa-4298-87f8-537c4833e517</title></pubsub></data> 2020-10-21 23:02:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 23:02:06 | [Mutex] waiting for: [received:nodes:adf8d037-335f-4f08-8bab-cba61d0564a7:localhost] 2020-10-21 23:02:06 | [Mutex] received everything. 2020-10-21 23:02:06 | [Mutex] isItemNotified: received:node:adf8d037-335f-4f08-8bab-cba61d0564a7:localhost:node-46d8b021-fbfa-4298-87f8-537c4833e517:Node 46d8b021-fbfa-4298-87f8-537c4833e517 :: true |
createSubnodes | 1.042s |
2020-10-21 23:02:06 |
2020-10-21 23:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:06 | ------------------------------------ 2020-10-21 23:02:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6f2ebfca-ea12-4d21-8af0-670126c47d2d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6f2ebfca-ea12-4d21-8af0-670126c47d2d</title></pubsub></data> 2020-10-21 23:02:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 23:02:07 | [Mutex] waiting for: [received:nodes:6a900fe9-0dba-41b9-bb56-400b3ce0c14e:localhost] 2020-10-21 23:02:07 | [Mutex] received everything. 2020-10-21 23:02:07 | [Mutex] isItemNotified: received:node:6a900fe9-0dba-41b9-bb56-400b3ce0c14e:localhost:node-6f2ebfca-ea12-4d21-8af0-670126c47d2d:Node 6f2ebfca-ea12-4d21-8af0-670126c47d2d :: true |
deleteNodes | 1.025s |
2020-10-21 23:02:13 |
2020-10-21 23:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:13 | ------------------------------------ 2020-10-21 23:02:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6f2ebfca-ea12-4d21-8af0-670126c47d2d</node></data> 2020-10-21 23:02:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 23:02:14 | [Mutex] waiting for: [received:nodes:ab1af6d3-a82c-4832-9b10-07ce9d8f585a:localhost] 2020-10-21 23:02:14 | [Mutex] received everything. 2020-10-21 23:02:14 | [Mutex] isItemNotified: received:node:ab1af6d3-a82c-4832-9b10-07ce9d8f585a:localhost:node-6f2ebfca-ea12-4d21-8af0-670126c47d2d:Node 6f2ebfca-ea12-4d21-8af0-670126c47d2d :: false |
deleteSubnodes | 1.165s |
2020-10-21 23:02:11 |
2020-10-21 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:11 | ------------------------------------ 2020-10-21 23:02:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node></data> 2020-10-21 23:02:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 23:02:13 | [Mutex] waiting for: [received:nodes:aeb69d38-0a07-47f2-900b-c78e380ef8cb:localhost] 2020-10-21 23:02:13 | [Mutex] received everything. 2020-10-21 23:02:13 | [Mutex] isItemNotified: received:node:aeb69d38-0a07-47f2-900b-c78e380ef8cb:localhost:node-46d8b021-fbfa-4298-87f8-537c4833e517:Node 46d8b021-fbfa-4298-87f8-537c4833e517 :: false 2020-10-21 23:02:13 | [Mutex] waiting for: [received:nodes:f5b32389-4623-498e-b988-d88124a31b65:localhost] 2020-10-21 23:02:13 | [Mutex] received everything. 2020-10-21 23:02:13 | [Mutex] isItemNotified: received:node:f5b32389-4623-498e-b988-d88124a31b65:localhost:node-46d8b021-fbfa-4298-87f8-537c4833e517:Node 46d8b021-fbfa-4298-87f8-537c4833e517 :: false |
publishItemsToNodes | 0.280s |
2020-10-21 23:02:09 |
2020-10-21 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:09 | ------------------------------------ 2020-10-21 23:02:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node><item-id>item-23d1d158-24fc-45d5-9092-fda918a24947</item-id><entry><test>item-23d1d158-24fc-45d5-9092-fda918a24947</test></entry></data> 2020-10-21 23:02:09 | 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-23d1d158-24fc-45d5-9092-fda918a24947</value></item-id></result> 2020-10-21 23:02:09 | [Mutex] waiting for: [published:item:notifieditem-23d1d158-24fc-45d5-9092-fda918a24947:admin@test-domain.com] 2020-10-21 23:02:09 | [Mutex] received everything. 2020-10-21 23:02:09 | [Mutex] isItemNotified: published:item:notifieditem-23d1d158-24fc-45d5-9092-fda918a24947:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2020-10-21 23:02:10 |
2020-10-21 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:10 | ------------------------------------ 2020-10-21 23:02:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node><item-id>item-23d1d158-24fc-45d5-9092-fda918a24947</item-id></data> 2020-10-21 23:02:10 | 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-23d1d158-24fc-45d5-9092-fda918a24947</value></item-id></result> 2020-10-21 23:02:10 | [Mutex] received everything. 2020-10-21 23:02:10 | [Mutex] isItemNotified: retracted:item:notifieditem-23d1d158-24fc-45d5-9092-fda918a24947:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.355s |
2020-10-21 23:02:09 |
2020-10-21 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:09 | ------------------------------------ 2020-10-21 23:02:09 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node><item-id>item-23d1d158-24fc-45d5-9092-fda918a24947</item-id></data> 2020-10-21 23:02:10 | 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-46d8b021-fbfa-4298-87f8-537c4833e517</value></node><item-id label="Item ID" type="text-single"><value>item-23d1d158-24fc-45d5-9092-fda918a24947</value></item-id><item label="Item" type="text-multi"><value><item id="item-23d1d158-24fc-45d5-9092-fda918a24947"><test>item-23d1d158-24fc-45d5-9092-fda918a24947</test></item></value></item></result> 2020-10-21 23:02:10 | [Mutex] notify: [retrieved:item:item-23d1d158-24fc-45d5-9092-fda918a24947:payload-matches:true:localhost] 2020-10-21 23:02:10 | [Mutex] received everything. 2020-10-21 23:02:10 | [Mutex] isItemNotified: retrieved:item:item-23d1d158-24fc-45d5-9092-fda918a24947:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-21 23:02:10 |
2020-10-21 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:10 | ------------------------------------ 2020-10-21 23:02:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-21 23:02:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-46d8b021-fbfa-4298-87f8-537c4833e517</value><value>test</value><value>node-6f2ebfca-ea12-4d21-8af0-670126c47d2d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-10-21 23:02:10 |
2020-10-21 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:10 | ------------------------------------ 2020-10-21 23:02:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-46d8b021-fbfa-4298-87f8-537c4833e517)</node-pattern></data> 2020-10-21 23:02:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.124s |
2020-10-21 23:02:08 |
2020-10-21 23:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:08 | ------------------------------------ 2020-10-21 23:02:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-21 23:02:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.263s |
2020-10-21 23:02:10 |
2020-10-21 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 23:02:10 | ------------------------------------ 2020-10-21 23:02:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-46d8b021-fbfa-4298-87f8-537c4833e517</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-21 23:02:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |