Generated by TestNG with ReportNG at 22:52 PDT on Monday 05 October 2020
root@87f6aca6b6f2 / 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.362s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2020-10-05 23:09:22 |

2020-10-05 23:09:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:22 | ------------------------------------

2020-10-05 23:09:22 | [Mutex] waiting for: [configured:node:node-bddc3774-973c-407d-9cb5-8f67cdecd447:node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1]

2020-10-05 23:09:22 | [Mutex] received everything.

2020-10-05 23:09:22 | [Mutex] isItemNotified: configured:node:node-bddc3774-973c-407d-9cb5-8f67cdecd447:node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1 :: true

2020-10-05 23:09:23 | [Mutex] waiting for: [received:nodes:98add145-f67d-493e-9c55-2e7e8ff3d807:localhost]

2020-10-05 23:09:23 | [Mutex] received everything.

2020-10-05 23:09:23 | [Mutex] isItemNotified: received:node:98add145-f67d-493e-9c55-2e7e8ff3d807:localhost:node-bddc3774-973c-407d-9cb5-8f67cdecd447:Node bddc3774-973c-407d-9cb5-8f67cdecd447 :: true

2020-10-05 23:09:23 | [Mutex] waiting for: [received:nodes:d61ee8f9-a5ca-40e9-bd67-9d7b54bb44f8:localhost]

2020-10-05 23:09:23 | [Mutex] received everything.

2020-10-05 23:09:23 | [Mutex] isItemNotified: received:node:d61ee8f9-a5ca-40e9-bd67-9d7b54bb44f8:localhost:node-bddc3774-973c-407d-9cb5-8f67cdecd447:Node bddc3774-973c-407d-9cb5-8f67cdecd447 :: false

createNodes 1.571s
2020-10-05 23:09:19 |

2020-10-05 23:09:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:19 | ------------------------------------

2020-10-05 23:09:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bddc3774-973c-407d-9cb5-8f67cdecd447</title></pubsub></data>

2020-10-05 23:09:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 23:09:20 | [Mutex] waiting for: [received:nodes:477217ea-b55e-4295-b8db-046fdcb2cf9c:localhost]

2020-10-05 23:09:21 | [Mutex] received everything.

2020-10-05 23:09:21 | [Mutex] isItemNotified: received:node:477217ea-b55e-4295-b8db-046fdcb2cf9c:localhost:node-bddc3774-973c-407d-9cb5-8f67cdecd447:Node bddc3774-973c-407d-9cb5-8f67cdecd447 :: true

createSubnodes 1.048s
2020-10-05 23:09:21 |

2020-10-05 23:09:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:21 | ------------------------------------

2020-10-05 23:09:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 80dad3fd-1fea-4b12-8e44-cc3ef4b417d1</title></pubsub></data>

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

2020-10-05 23:09:22 | [Mutex] waiting for: [received:nodes:61002a59-f1c9-437b-813f-e80880fce60a:localhost]

2020-10-05 23:09:22 | [Mutex] waiting for: [received:nodes:61002a59-f1c9-437b-813f-e80880fce60a:localhost]

2020-10-05 23:09:22 | [Mutex] received everything.

2020-10-05 23:09:22 | [Mutex] isItemNotified: received:node:61002a59-f1c9-437b-813f-e80880fce60a:localhost:node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1:Node 80dad3fd-1fea-4b12-8e44-cc3ef4b417d1 :: true

deleteNodes 1.022s
2020-10-05 23:09:27 |

2020-10-05 23:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:27 | ------------------------------------

2020-10-05 23:09:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1</node></data>

2020-10-05 23:09:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 23:09:28 | [Mutex] waiting for: [received:nodes:9ed271f9-c048-499a-a4ba-0a6faa5089ca:localhost]

2020-10-05 23:09:28 | [Mutex] received everything.

2020-10-05 23:09:28 | [Mutex] isItemNotified: received:node:9ed271f9-c048-499a-a4ba-0a6faa5089ca:localhost:node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1:Node 80dad3fd-1fea-4b12-8e44-cc3ef4b417d1 :: false

deleteSubnodes 1.142s
2020-10-05 23:09:26 |

2020-10-05 23:09:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:26 | ------------------------------------

2020-10-05 23:09:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node></data>

2020-10-05 23:09:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 23:09:27 | [Mutex] waiting for: [received:nodes:0b0d9c59-1fbf-44ef-b5db-cb21a01f4711:localhost]

2020-10-05 23:09:27 | [Mutex] received everything.

2020-10-05 23:09:27 | [Mutex] isItemNotified: received:node:0b0d9c59-1fbf-44ef-b5db-cb21a01f4711:localhost:node-bddc3774-973c-407d-9cb5-8f67cdecd447:Node bddc3774-973c-407d-9cb5-8f67cdecd447 :: false

2020-10-05 23:09:27 | [Mutex] waiting for: [received:nodes:adcb34f7-4716-43a2-a89c-cc1b0b5c3b18:localhost]

2020-10-05 23:09:27 | [Mutex] received everything.

2020-10-05 23:09:27 | [Mutex] isItemNotified: received:node:adcb34f7-4716-43a2-a89c-cc1b0b5c3b18:localhost:node-bddc3774-973c-407d-9cb5-8f67cdecd447:Node bddc3774-973c-407d-9cb5-8f67cdecd447 :: false

publishItemsToNodes 0.261s
2020-10-05 23:09:24 |

2020-10-05 23:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:24 | ------------------------------------

2020-10-05 23:09:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node><item-id>item-435abb05-e817-4392-9fa3-b321e2e90017</item-id><entry><test>item-435abb05-e817-4392-9fa3-b321e2e90017</test></entry></data>

2020-10-05 23:09:24 | 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-435abb05-e817-4392-9fa3-b321e2e90017</value></item-id></result>

2020-10-05 23:09:24 | [Mutex] received everything.

2020-10-05 23:09:24 | [Mutex] isItemNotified: published:item:notifieditem-435abb05-e817-4392-9fa3-b321e2e90017:admin@test-domain.com :: true

retractItemsFromNodes 0.185s
2020-10-05 23:09:25 |

2020-10-05 23:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:25 | ------------------------------------

2020-10-05 23:09:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node><item-id>item-435abb05-e817-4392-9fa3-b321e2e90017</item-id></data>

2020-10-05 23:09:25 | 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-435abb05-e817-4392-9fa3-b321e2e90017</value></item-id></result>

2020-10-05 23:09:25 | [Mutex] received everything.

2020-10-05 23:09:25 | [Mutex] isItemNotified: retracted:item:notifieditem-435abb05-e817-4392-9fa3-b321e2e90017:admin@test-domain.com :: true

retrieveItemsFromNodes 0.322s
2020-10-05 23:09:24 |

2020-10-05 23:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:24 | ------------------------------------

2020-10-05 23:09:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node><item-id>item-435abb05-e817-4392-9fa3-b321e2e90017</item-id></data>

2020-10-05 23:09:24 | 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-bddc3774-973c-407d-9cb5-8f67cdecd447</value></node><item-id label="Item ID" type="text-single"><value>item-435abb05-e817-4392-9fa3-b321e2e90017</value></item-id><item label="Item" type="text-multi"><value><item id="item-435abb05-e817-4392-9fa3-b321e2e90017"><test>item-435abb05-e817-4392-9fa3-b321e2e90017</test></item></value></item></result>

2020-10-05 23:09:24 | [Mutex] notify: [retrieved:item:item-435abb05-e817-4392-9fa3-b321e2e90017:payload-matches:true:localhost]

2020-10-05 23:09:24 | [Mutex] received everything.

2020-10-05 23:09:24 | [Mutex] isItemNotified: retrieved:item:item-435abb05-e817-4392-9fa3-b321e2e90017:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-10-05 23:09:24 |

2020-10-05 23:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:24 | ------------------------------------

2020-10-05 23:09:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-05 23:09:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-80dad3fd-1fea-4b12-8e44-cc3ef4b417d1</value><value>test</value><value>node-bddc3774-973c-407d-9cb5-8f67cdecd447</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.065s
2020-10-05 23:09:24 |

2020-10-05 23:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:24 | ------------------------------------

2020-10-05 23:09:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bddc3774-973c-407d-9cb5-8f67cdecd447)</node-pattern></data>

2020-10-05 23:09:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.182s
2020-10-05 23:09:23 |

2020-10-05 23:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:23 | ------------------------------------

2020-10-05 23:09:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.303s
2020-10-05 23:09:25 |

2020-10-05 23:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:09:25 | ------------------------------------

2020-10-05 23:09:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bddc3774-973c-407d-9cb5-8f67cdecd447</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-05 23:09:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>