Generated by TestNG with ReportNG at 21:46 PST on Wednesday 02 March 2022
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.074s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-03-02 22:02:09 |

2022-03-02 22:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:09 | ------------------------------------

2022-03-02 22:02:09 | [Mutex] waiting for: [configured:node:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:node-91a1a592-94fe-423a-afae-81da8c6880da]

2022-03-02 22:02:09 | [Mutex] received everything.

2022-03-02 22:02:09 | [Mutex] isItemNotified: configured:node:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:node-91a1a592-94fe-423a-afae-81da8c6880da :: true

2022-03-02 22:02:10 | [Mutex] waiting for: [received:nodes:2c1b5f05-3368-461f-b4a9-7534343b24e0:localhost]

2022-03-02 22:02:10 | [Mutex] received everything.

2022-03-02 22:02:10 | [Mutex] isItemNotified: received:node:2c1b5f05-3368-461f-b4a9-7534343b24e0:localhost:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:Node 85fe8767-d606-4c45-ac22-62f5c7028e0c :: true

2022-03-02 22:02:10 | [Mutex] waiting for: [received:nodes:f5e99756-5544-4bc6-ab7f-e8d68ed6f707:localhost]

2022-03-02 22:02:10 | [Mutex] waiting for: [received:nodes:f5e99756-5544-4bc6-ab7f-e8d68ed6f707:localhost]

2022-03-02 22:02:10 | [Mutex] waiting for: [received:nodes:f5e99756-5544-4bc6-ab7f-e8d68ed6f707:localhost]

2022-03-02 22:02:10 | [Mutex] received everything.

2022-03-02 22:02:10 | [Mutex] isItemNotified: received:node:f5e99756-5544-4bc6-ab7f-e8d68ed6f707:localhost:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:Node 85fe8767-d606-4c45-ac22-62f5c7028e0c :: false

createNodes 1.493s
2022-03-02 22:02:06 |

2022-03-02 22:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:06 | ------------------------------------

2022-03-02 22:02:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85fe8767-d606-4c45-ac22-62f5c7028e0c</title></pubsub></data>

2022-03-02 22:02:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 22:02:08 | [Mutex] waiting for: [received:nodes:bacd5e99-6931-42d6-9419-6a432007d0ce:localhost]

2022-03-02 22:02:08 | [Mutex] received everything.

2022-03-02 22:02:08 | [Mutex] isItemNotified: received:node:bacd5e99-6931-42d6-9419-6a432007d0ce:localhost:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:Node 85fe8767-d606-4c45-ac22-62f5c7028e0c :: true

createSubnodes 1.025s
2022-03-02 22:02:08 |

2022-03-02 22:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:08 | ------------------------------------

2022-03-02 22:02:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-91a1a592-94fe-423a-afae-81da8c6880da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91a1a592-94fe-423a-afae-81da8c6880da</title></pubsub></data>

2022-03-02 22:02:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 22:02:09 | [Mutex] waiting for: [received:nodes:ba306c3b-7554-41dd-8933-1b59f54a3009:localhost]

2022-03-02 22:02:09 | [Mutex] waiting for: [received:nodes:ba306c3b-7554-41dd-8933-1b59f54a3009:localhost]

2022-03-02 22:02:09 | [Mutex] received everything.

2022-03-02 22:02:09 | [Mutex] isItemNotified: received:node:ba306c3b-7554-41dd-8933-1b59f54a3009:localhost:node-91a1a592-94fe-423a-afae-81da8c6880da:Node 91a1a592-94fe-423a-afae-81da8c6880da :: true

deleteNodes 1.019s
2022-03-02 22:02:14 |

2022-03-02 22:02:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:14 | ------------------------------------

2022-03-02 22:02:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-91a1a592-94fe-423a-afae-81da8c6880da</node></data>

2022-03-02 22:02:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 22:02:15 | [Mutex] waiting for: [received:nodes:e8ee4c7c-5ffa-41ce-a1c0-2914fcaaa253:localhost]

2022-03-02 22:02:15 | [Mutex] received everything.

2022-03-02 22:02:15 | [Mutex] isItemNotified: received:node:e8ee4c7c-5ffa-41ce-a1c0-2914fcaaa253:localhost:node-91a1a592-94fe-423a-afae-81da8c6880da:Node 91a1a592-94fe-423a-afae-81da8c6880da :: false

deleteSubnodes 1.160s
2022-03-02 22:02:13 |

2022-03-02 22:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:13 | ------------------------------------

2022-03-02 22:02:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node></data>

2022-03-02 22:02:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 22:02:14 | [Mutex] waiting for: [received:nodes:e892c7e2-4d2a-4717-bfab-2e024d4c8967:localhost]

2022-03-02 22:02:14 | [Mutex] received everything.

2022-03-02 22:02:14 | [Mutex] isItemNotified: received:node:e892c7e2-4d2a-4717-bfab-2e024d4c8967:localhost:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:Node 85fe8767-d606-4c45-ac22-62f5c7028e0c :: false

2022-03-02 22:02:14 | [Mutex] waiting for: [received:nodes:aa55f148-4d23-4d28-9955-fba9fae5fbf4:localhost]

2022-03-02 22:02:14 | [Mutex] received everything.

2022-03-02 22:02:14 | [Mutex] isItemNotified: received:node:aa55f148-4d23-4d28-9955-fba9fae5fbf4:localhost:node-85fe8767-d606-4c45-ac22-62f5c7028e0c:Node 85fe8767-d606-4c45-ac22-62f5c7028e0c :: false

publishItemsToNodes 0.260s
2022-03-02 22:02:11 |

2022-03-02 22:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:11 | ------------------------------------

2022-03-02 22:02:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node><item-id>item-f020c8bb-1288-44f4-8a7b-0b67df277d68</item-id><entry><test>item-f020c8bb-1288-44f4-8a7b-0b67df277d68</test></entry></data>

2022-03-02 22:02:11 | 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-f020c8bb-1288-44f4-8a7b-0b67df277d68</value></item-id></result>

2022-03-02 22:02:11 | [Mutex] waiting for: [published:item:notifieditem-f020c8bb-1288-44f4-8a7b-0b67df277d68:admin@test-domain.com]

2022-03-02 22:02:11 | [Mutex] received everything.

2022-03-02 22:02:11 | [Mutex] isItemNotified: published:item:notifieditem-f020c8bb-1288-44f4-8a7b-0b67df277d68:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2022-03-02 22:02:12 |

2022-03-02 22:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:12 | ------------------------------------

2022-03-02 22:02:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node><item-id>item-f020c8bb-1288-44f4-8a7b-0b67df277d68</item-id></data>

2022-03-02 22:02:12 | 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-f020c8bb-1288-44f4-8a7b-0b67df277d68</value></item-id></result>

2022-03-02 22:02:12 | [Mutex] received everything.

2022-03-02 22:02:12 | [Mutex] isItemNotified: retracted:item:notifieditem-f020c8bb-1288-44f4-8a7b-0b67df277d68:admin@test-domain.com :: true

retrieveItemsFromNodes 0.328s
2022-03-02 22:02:11 |

2022-03-02 22:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:11 | ------------------------------------

2022-03-02 22:02:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node><item-id>item-f020c8bb-1288-44f4-8a7b-0b67df277d68</item-id></data>

2022-03-02 22:02:12 | 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-85fe8767-d606-4c45-ac22-62f5c7028e0c</value></node><item-id label="Item ID" type="text-single"><value>item-f020c8bb-1288-44f4-8a7b-0b67df277d68</value></item-id><item label="Item" type="text-multi"><value><item id="item-f020c8bb-1288-44f4-8a7b-0b67df277d68"><test>item-f020c8bb-1288-44f4-8a7b-0b67df277d68</test></item></value></item></result>

2022-03-02 22:02:12 | [Mutex] notify: [retrieved:item:item-f020c8bb-1288-44f4-8a7b-0b67df277d68:payload-matches:true:localhost]

2022-03-02 22:02:12 | [Mutex] received everything.

2022-03-02 22:02:12 | [Mutex] isItemNotified: retrieved:item:item-f020c8bb-1288-44f4-8a7b-0b67df277d68:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.133s
2022-03-02 22:02:12 |

2022-03-02 22:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:12 | ------------------------------------

2022-03-02 22:02:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-03-02 22:02:12 | 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-85fe8767-d606-4c45-ac22-62f5c7028e0c</value><value>node-91a1a592-94fe-423a-afae-81da8c6880da</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-03-02 22:02:12 |

2022-03-02 22:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:12 | ------------------------------------

2022-03-02 22:02:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-85fe8767-d606-4c45-ac22-62f5c7028e0c)</node-pattern></data>

2022-03-02 22:02:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.134s
2022-03-02 22:02:10 |

2022-03-02 22:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:10 | ------------------------------------

2022-03-02 22:02:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-02 22:02:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.255s
2022-03-02 22:02:12 |

2022-03-02 22:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 22:02:12 | ------------------------------------

2022-03-02 22:02:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85fe8767-d606-4c45-ac22-62f5c7028e0c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-02 22:02:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>