Generated by TestNG with ReportNG at 22:50 PDT on Sunday 02 October 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.643s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-10-02 23:04:12 |

2022-10-02 23:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:12 | ------------------------------------

2022-10-02 23:04:12 | [Mutex] waiting for: [configured:node:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:node-6a0fa434-8aa7-41b9-a567-aa2bb524db95]

2022-10-02 23:04:13 | [Mutex] received everything.

2022-10-02 23:04:13 | [Mutex] isItemNotified: configured:node:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:node-6a0fa434-8aa7-41b9-a567-aa2bb524db95 :: true

2022-10-02 23:04:14 | [Mutex] waiting for: [received:nodes:1d06f071-0b24-45eb-a611-4cbc7e736b28:localhost]

2022-10-02 23:04:14 | [Mutex] received everything.

2022-10-02 23:04:14 | [Mutex] isItemNotified: received:node:1d06f071-0b24-45eb-a611-4cbc7e736b28:localhost:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:Node 0d1906e1-8821-4e63-a14d-e4cd2c00c830 :: true

2022-10-02 23:04:14 | [Mutex] waiting for: [received:nodes:8a00331d-f364-481c-861e-88c69e8cd7e7:localhost]

2022-10-02 23:04:14 | [Mutex] received everything.

2022-10-02 23:04:14 | [Mutex] isItemNotified: received:node:8a00331d-f364-481c-861e-88c69e8cd7e7:localhost:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:Node 0d1906e1-8821-4e63-a14d-e4cd2c00c830 :: false

createNodes 1.522s
2022-10-02 23:04:10 |

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

2022-10-02 23:04:10 | ------------------------------------

2022-10-02 23:04:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0d1906e1-8821-4e63-a14d-e4cd2c00c830</title></pubsub></data>

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

2022-10-02 23:04:11 | [Mutex] waiting for: [received:nodes:6becb8a2-ef31-44dc-b8b8-65247f58855a:localhost]

2022-10-02 23:04:11 | [Mutex] received everything.

2022-10-02 23:04:11 | [Mutex] isItemNotified: received:node:6becb8a2-ef31-44dc-b8b8-65247f58855a:localhost:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:Node 0d1906e1-8821-4e63-a14d-e4cd2c00c830 :: true

createSubnodes 1.022s
2022-10-02 23:04:11 |

2022-10-02 23:04:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:11 | ------------------------------------

2022-10-02 23:04:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6a0fa434-8aa7-41b9-a567-aa2bb524db95</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6a0fa434-8aa7-41b9-a567-aa2bb524db95</title></pubsub></data>

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

2022-10-02 23:04:12 | [Mutex] waiting for: [received:nodes:77d0662f-e3d6-4ee3-a570-3ff8207a19f7:localhost]

2022-10-02 23:04:12 | [Mutex] waiting for: [received:nodes:77d0662f-e3d6-4ee3-a570-3ff8207a19f7:localhost]

2022-10-02 23:04:12 | [Mutex] waiting for: [received:nodes:77d0662f-e3d6-4ee3-a570-3ff8207a19f7:localhost]

2022-10-02 23:04:12 | [Mutex] waiting for: [received:nodes:77d0662f-e3d6-4ee3-a570-3ff8207a19f7:localhost]

2022-10-02 23:04:12 | [Mutex] received everything.

2022-10-02 23:04:12 | [Mutex] isItemNotified: received:node:77d0662f-e3d6-4ee3-a570-3ff8207a19f7:localhost:node-6a0fa434-8aa7-41b9-a567-aa2bb524db95:Node 6a0fa434-8aa7-41b9-a567-aa2bb524db95 :: true

deleteNodes 1.017s
2022-10-02 23:04:18 |

2022-10-02 23:04:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:18 | ------------------------------------

2022-10-02 23:04:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6a0fa434-8aa7-41b9-a567-aa2bb524db95</node></data>

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

2022-10-02 23:04:19 | [Mutex] waiting for: [received:nodes:53dc78bf-0010-47fe-b835-919e23af308c:localhost]

2022-10-02 23:04:19 | [Mutex] waiting for: [received:nodes:53dc78bf-0010-47fe-b835-919e23af308c:localhost]

2022-10-02 23:04:19 | [Mutex] received everything.

2022-10-02 23:04:19 | [Mutex] isItemNotified: received:node:53dc78bf-0010-47fe-b835-919e23af308c:localhost:node-6a0fa434-8aa7-41b9-a567-aa2bb524db95:Node 6a0fa434-8aa7-41b9-a567-aa2bb524db95 :: false

deleteSubnodes 1.142s
2022-10-02 23:04:17 |

2022-10-02 23:04:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:17 | ------------------------------------

2022-10-02 23:04:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node></data>

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

2022-10-02 23:04:18 | [Mutex] waiting for: [received:nodes:9a970610-b8e3-4f41-bf32-9ef19ab2f043:localhost]

2022-10-02 23:04:18 | [Mutex] waiting for: [received:nodes:9a970610-b8e3-4f41-bf32-9ef19ab2f043:localhost]

2022-10-02 23:04:18 | [Mutex] waiting for: [received:nodes:9a970610-b8e3-4f41-bf32-9ef19ab2f043:localhost]

2022-10-02 23:04:18 | [Mutex] received everything.

2022-10-02 23:04:18 | [Mutex] isItemNotified: received:node:9a970610-b8e3-4f41-bf32-9ef19ab2f043:localhost:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:Node 0d1906e1-8821-4e63-a14d-e4cd2c00c830 :: false

2022-10-02 23:04:18 | [Mutex] waiting for: [received:nodes:8c0673d0-6809-4146-897e-bffc1b1d71f8:localhost]

2022-10-02 23:04:18 | [Mutex] received everything.

2022-10-02 23:04:18 | [Mutex] isItemNotified: received:node:8c0673d0-6809-4146-897e-bffc1b1d71f8:localhost:node-0d1906e1-8821-4e63-a14d-e4cd2c00c830:Node 0d1906e1-8821-4e63-a14d-e4cd2c00c830 :: false

publishItemsToNodes 0.224s
2022-10-02 23:04:15 |

2022-10-02 23:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:15 | ------------------------------------

2022-10-02 23:04:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node><item-id>item-54ad0681-a17b-4f18-8989-d8e82c1bed69</item-id><entry><test>item-54ad0681-a17b-4f18-8989-d8e82c1bed69</test></entry></data>

2022-10-02 23:04:15 | 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-54ad0681-a17b-4f18-8989-d8e82c1bed69</value></item-id></result>

2022-10-02 23:04:15 | [Mutex] received everything.

2022-10-02 23:04:15 | [Mutex] isItemNotified: published:item:notifieditem-54ad0681-a17b-4f18-8989-d8e82c1bed69:admin@test-domain.com :: true

retractItemsFromNodes 0.320s
2022-10-02 23:04:15 |

2022-10-02 23:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:15 | ------------------------------------

2022-10-02 23:04:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node><item-id>item-54ad0681-a17b-4f18-8989-d8e82c1bed69</item-id></data>

2022-10-02 23:04:16 | 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-54ad0681-a17b-4f18-8989-d8e82c1bed69</value></item-id></result>

2022-10-02 23:04:16 | [Mutex] received everything.

2022-10-02 23:04:16 | [Mutex] isItemNotified: retracted:item:notifieditem-54ad0681-a17b-4f18-8989-d8e82c1bed69:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2022-10-02 23:04:15 |

2022-10-02 23:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:15 | ------------------------------------

2022-10-02 23:04:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node><item-id>item-54ad0681-a17b-4f18-8989-d8e82c1bed69</item-id></data>

2022-10-02 23:04:15 | 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-0d1906e1-8821-4e63-a14d-e4cd2c00c830</value></node><item-id label="Item ID" type="text-single"><value>item-54ad0681-a17b-4f18-8989-d8e82c1bed69</value></item-id><item label="Item" type="text-multi"><value><item id="item-54ad0681-a17b-4f18-8989-d8e82c1bed69"><test>item-54ad0681-a17b-4f18-8989-d8e82c1bed69</test></item></value></item></result>

2022-10-02 23:04:15 | [Mutex] notify: [retrieved:item:item-54ad0681-a17b-4f18-8989-d8e82c1bed69:payload-matches:true:localhost]

2022-10-02 23:04:15 | [Mutex] received everything.

2022-10-02 23:04:15 | [Mutex] isItemNotified: retrieved:item:item-54ad0681-a17b-4f18-8989-d8e82c1bed69:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-02 23:04:15 |

2022-10-02 23:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:15 | ------------------------------------

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

2022-10-02 23:04:15 | 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-0d1906e1-8821-4e63-a14d-e4cd2c00c830</value><value>node-6a0fa434-8aa7-41b9-a567-aa2bb524db95</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-10-02 23:04:15 |

2022-10-02 23:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:15 | ------------------------------------

2022-10-02 23:04:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0d1906e1-8821-4e63-a14d-e4cd2c00c830)</node-pattern></data>

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

subscribeNodes 1.125s
2022-10-02 23:04:14 |

2022-10-02 23:04:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:14 | ------------------------------------

2022-10-02 23:04:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.210s
2022-10-02 23:04:16 |

2022-10-02 23:04:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:04:16 | ------------------------------------

2022-10-02 23:04:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0d1906e1-8821-4e63-a14d-e4cd2c00c830</node><jids><value>admin@test-domain.com</value></jids></data>

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