Generated by TestNG with ReportNG at 23:06 PDT on Wednesday 22 September 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.295s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.152s
2021-09-22 23:21:43 |

2021-09-22 23:21:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:43 | ------------------------------------

2021-09-22 23:21:43 | [Mutex] waiting for: [configured:node:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:node-b54a5046-c26f-4027-b879-0bca30f9875a]

2021-09-22 23:21:44 | [Mutex] received everything.

2021-09-22 23:21:44 | [Mutex] isItemNotified: configured:node:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:node-b54a5046-c26f-4027-b879-0bca30f9875a :: true

2021-09-22 23:21:45 | [Mutex] waiting for: [received:nodes:1699ab66-7dc9-47f6-9d41-c1e6c54218b5:localhost]

2021-09-22 23:21:45 | [Mutex] waiting for: [received:nodes:1699ab66-7dc9-47f6-9d41-c1e6c54218b5:localhost]

2021-09-22 23:21:45 | [Mutex] received everything.

2021-09-22 23:21:45 | [Mutex] isItemNotified: received:node:1699ab66-7dc9-47f6-9d41-c1e6c54218b5:localhost:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:Node 56969b0a-2af8-49aa-b84c-2877da17f9f0 :: true

2021-09-22 23:21:45 | [Mutex] waiting for: [received:nodes:f4fa6f6b-7d2f-4746-a588-a999f17e2c27:localhost]

2021-09-22 23:21:45 | [Mutex] received everything.

2021-09-22 23:21:45 | [Mutex] isItemNotified: received:node:f4fa6f6b-7d2f-4746-a588-a999f17e2c27:localhost:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:Node 56969b0a-2af8-49aa-b84c-2877da17f9f0 :: false

createNodes 1.564s
2021-09-22 23:21:41 |

2021-09-22 23:21:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:41 | ------------------------------------

2021-09-22 23:21:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56969b0a-2af8-49aa-b84c-2877da17f9f0</title></pubsub></data>

2021-09-22 23:21:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 23:21:42 | [Mutex] waiting for: [received:nodes:4c32d7cd-ee96-4a6d-ba53-7fc09dbc7a2a:localhost]

2021-09-22 23:21:42 | [Mutex] received everything.

2021-09-22 23:21:42 | [Mutex] isItemNotified: received:node:4c32d7cd-ee96-4a6d-ba53-7fc09dbc7a2a:localhost:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:Node 56969b0a-2af8-49aa-b84c-2877da17f9f0 :: true

createSubnodes 1.032s
2021-09-22 23:21:42 |

2021-09-22 23:21:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:42 | ------------------------------------

2021-09-22 23:21:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b54a5046-c26f-4027-b879-0bca30f9875a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b54a5046-c26f-4027-b879-0bca30f9875a</title></pubsub></data>

2021-09-22 23:21:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 23:21:43 | [Mutex] waiting for: [received:nodes:b2427947-f43a-44ef-99ca-3a870c79a15d:localhost]

2021-09-22 23:21:43 | [Mutex] received everything.

2021-09-22 23:21:43 | [Mutex] isItemNotified: received:node:b2427947-f43a-44ef-99ca-3a870c79a15d:localhost:node-b54a5046-c26f-4027-b879-0bca30f9875a:Node b54a5046-c26f-4027-b879-0bca30f9875a :: true

deleteNodes 1.025s
2021-09-22 23:21:49 |

2021-09-22 23:21:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:49 | ------------------------------------

2021-09-22 23:21:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b54a5046-c26f-4027-b879-0bca30f9875a</node></data>

2021-09-22 23:21:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 23:21:50 | [Mutex] waiting for: [received:nodes:3fc4a827-9419-44a1-8b62-346d1387c05d:localhost]

2021-09-22 23:21:50 | [Mutex] received everything.

2021-09-22 23:21:50 | [Mutex] isItemNotified: received:node:3fc4a827-9419-44a1-8b62-346d1387c05d:localhost:node-b54a5046-c26f-4027-b879-0bca30f9875a:Node b54a5046-c26f-4027-b879-0bca30f9875a :: false

deleteSubnodes 1.155s
2021-09-22 23:21:48 |

2021-09-22 23:21:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:48 | ------------------------------------

2021-09-22 23:21:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node></data>

2021-09-22 23:21:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 23:21:49 | [Mutex] waiting for: [received:nodes:c87bffe2-648d-43d3-babf-a56f8c0fae91:localhost]

2021-09-22 23:21:49 | [Mutex] received everything.

2021-09-22 23:21:49 | [Mutex] isItemNotified: received:node:c87bffe2-648d-43d3-babf-a56f8c0fae91:localhost:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:Node 56969b0a-2af8-49aa-b84c-2877da17f9f0 :: false

2021-09-22 23:21:49 | [Mutex] waiting for: [received:nodes:962bd032-38c2-42cd-adc4-f3715543a2d8:localhost]

2021-09-22 23:21:49 | [Mutex] received everything.

2021-09-22 23:21:49 | [Mutex] isItemNotified: received:node:962bd032-38c2-42cd-adc4-f3715543a2d8:localhost:node-56969b0a-2af8-49aa-b84c-2877da17f9f0:Node 56969b0a-2af8-49aa-b84c-2877da17f9f0 :: false

publishItemsToNodes 0.273s
2021-09-22 23:21:46 |

2021-09-22 23:21:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:46 | ------------------------------------

2021-09-22 23:21:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node><item-id>item-0fae2469-6a64-4edf-b08c-7e345602a82b</item-id><entry><test>item-0fae2469-6a64-4edf-b08c-7e345602a82b</test></entry></data>

2021-09-22 23:21:46 | 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-0fae2469-6a64-4edf-b08c-7e345602a82b</value></item-id></result>

2021-09-22 23:21:46 | [Mutex] waiting for: [published:item:notifieditem-0fae2469-6a64-4edf-b08c-7e345602a82b:admin@test-domain.com]

2021-09-22 23:21:46 | [Mutex] received everything.

2021-09-22 23:21:46 | [Mutex] isItemNotified: published:item:notifieditem-0fae2469-6a64-4edf-b08c-7e345602a82b:admin@test-domain.com :: true

retractItemsFromNodes 0.387s
2021-09-22 23:21:46 |

2021-09-22 23:21:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:46 | ------------------------------------

2021-09-22 23:21:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node><item-id>item-0fae2469-6a64-4edf-b08c-7e345602a82b</item-id></data>

2021-09-22 23:21:47 | 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-0fae2469-6a64-4edf-b08c-7e345602a82b</value></item-id></result>

2021-09-22 23:21:47 | [Mutex] waiting for: [retracted:item:notifieditem-0fae2469-6a64-4edf-b08c-7e345602a82b:admin@test-domain.com]

2021-09-22 23:21:47 | [Mutex] received everything.

2021-09-22 23:21:47 | [Mutex] isItemNotified: retracted:item:notifieditem-0fae2469-6a64-4edf-b08c-7e345602a82b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.252s
2021-09-22 23:21:46 |

2021-09-22 23:21:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:46 | ------------------------------------

2021-09-22 23:21:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node><item-id>item-0fae2469-6a64-4edf-b08c-7e345602a82b</item-id></data>

2021-09-22 23:21:46 | 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-56969b0a-2af8-49aa-b84c-2877da17f9f0</value></node><item-id type="text-single" label="Item ID"><value>item-0fae2469-6a64-4edf-b08c-7e345602a82b</value></item-id><item type="text-multi" label="Item"><value><item id="item-0fae2469-6a64-4edf-b08c-7e345602a82b"><test>item-0fae2469-6a64-4edf-b08c-7e345602a82b</test></item></value></item></result>

2021-09-22 23:21:46 | [Mutex] notify: [retrieved:item:item-0fae2469-6a64-4edf-b08c-7e345602a82b:payload-matches:true:localhost]

2021-09-22 23:21:46 | [Mutex] received everything.

2021-09-22 23:21:46 | [Mutex] isItemNotified: retrieved:item:item-0fae2469-6a64-4edf-b08c-7e345602a82b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-09-22 23:21:46 |

2021-09-22 23:21:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:46 | ------------------------------------

2021-09-22 23:21:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-22 23:21:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</value><value>test</value><value>node-b54a5046-c26f-4027-b879-0bca30f9875a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-22 23:21:46 |

2021-09-22 23:21:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:46 | ------------------------------------

2021-09-22 23:21:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56969b0a-2af8-49aa-b84c-2877da17f9f0)</node-pattern></data>

2021-09-22 23:21:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.200s
2021-09-22 23:21:45 |

2021-09-22 23:21:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:45 | ------------------------------------

2021-09-22 23:21:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-22 23:21:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.204s
2021-09-22 23:21:47 |

2021-09-22 23:21:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 23:21:47 | ------------------------------------

2021-09-22 23:21:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-56969b0a-2af8-49aa-b84c-2877da17f9f0</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-22 23:21:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>