Generated by TestNG with ReportNG at 22:51 PDT on Wednesday 29 June 2022
root@ed1b7dd8a1b3 / 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.314s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-06-29 23:05:10 |

2022-06-29 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:10 | ------------------------------------

2022-06-29 23:05:10 | [Mutex] waiting for: [configured:node:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:node-f45f67d5-c07b-4994-8bc2-ab84e937d64a]

2022-06-29 23:05:10 | [Mutex] received everything.

2022-06-29 23:05:10 | [Mutex] isItemNotified: configured:node:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:node-f45f67d5-c07b-4994-8bc2-ab84e937d64a :: true

2022-06-29 23:05:11 | [Mutex] waiting for: [received:nodes:f8dcf93a-27ca-412a-a685-d6c4610afdd9:localhost]

2022-06-29 23:05:11 | [Mutex] received everything.

2022-06-29 23:05:11 | [Mutex] isItemNotified: received:node:f8dcf93a-27ca-412a-a685-d6c4610afdd9:localhost:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:Node 49aaf54b-3a85-4b8a-a48f-305aac23a2e7 :: true

2022-06-29 23:05:11 | [Mutex] waiting for: [received:nodes:98c50693-f303-4f93-b327-f0a5827a5155:localhost]

2022-06-29 23:05:11 | [Mutex] waiting for: [received:nodes:98c50693-f303-4f93-b327-f0a5827a5155:localhost]

2022-06-29 23:05:11 | [Mutex] received everything.

2022-06-29 23:05:11 | [Mutex] isItemNotified: received:node:98c50693-f303-4f93-b327-f0a5827a5155:localhost:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:Node 49aaf54b-3a85-4b8a-a48f-305aac23a2e7 :: false

createNodes 1.439s
2022-06-29 23:05:07 |

2022-06-29 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:07 | ------------------------------------

2022-06-29 23:05:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 49aaf54b-3a85-4b8a-a48f-305aac23a2e7</title></pubsub></data>

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

2022-06-29 23:05:09 | [Mutex] waiting for: [received:nodes:c3de8256-c447-4a37-8097-8578ad51b0ea:localhost]

2022-06-29 23:05:09 | [Mutex] waiting for: [received:nodes:c3de8256-c447-4a37-8097-8578ad51b0ea:localhost]

2022-06-29 23:05:09 | [Mutex] received everything.

2022-06-29 23:05:09 | [Mutex] isItemNotified: received:node:c3de8256-c447-4a37-8097-8578ad51b0ea:localhost:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:Node 49aaf54b-3a85-4b8a-a48f-305aac23a2e7 :: true

createSubnodes 1.023s
2022-06-29 23:05:09 |

2022-06-29 23:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:09 | ------------------------------------

2022-06-29 23:05:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f45f67d5-c07b-4994-8bc2-ab84e937d64a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f45f67d5-c07b-4994-8bc2-ab84e937d64a</title></pubsub></data>

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

2022-06-29 23:05:10 | [Mutex] waiting for: [received:nodes:d7d7c420-b43b-4620-962b-25d70ccbe3c9:localhost]

2022-06-29 23:05:10 | [Mutex] received everything.

2022-06-29 23:05:10 | [Mutex] isItemNotified: received:node:d7d7c420-b43b-4620-962b-25d70ccbe3c9:localhost:node-f45f67d5-c07b-4994-8bc2-ab84e937d64a:Node f45f67d5-c07b-4994-8bc2-ab84e937d64a :: true

deleteNodes 1.017s
2022-06-29 23:05:15 |

2022-06-29 23:05:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:15 | ------------------------------------

2022-06-29 23:05:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f45f67d5-c07b-4994-8bc2-ab84e937d64a</node></data>

2022-06-29 23:05:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-29 23:05:16 | [Mutex] waiting for: [received:nodes:4522bee4-6a54-4b8e-8d75-3a1010bbe945:localhost]

2022-06-29 23:05:16 | [Mutex] received everything.

2022-06-29 23:05:16 | [Mutex] isItemNotified: received:node:4522bee4-6a54-4b8e-8d75-3a1010bbe945:localhost:node-f45f67d5-c07b-4994-8bc2-ab84e937d64a:Node f45f67d5-c07b-4994-8bc2-ab84e937d64a :: false

deleteSubnodes 1.131s
2022-06-29 23:05:14 |

2022-06-29 23:05:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:14 | ------------------------------------

2022-06-29 23:05:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node></data>

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

2022-06-29 23:05:15 | [Mutex] waiting for: [received:nodes:1668d0f9-4738-4e82-ab53-6522d7669073:localhost]

2022-06-29 23:05:15 | [Mutex] waiting for: [received:nodes:1668d0f9-4738-4e82-ab53-6522d7669073:localhost]

2022-06-29 23:05:15 | [Mutex] waiting for: [received:nodes:1668d0f9-4738-4e82-ab53-6522d7669073:localhost]

2022-06-29 23:05:15 | [Mutex] waiting for: [received:nodes:1668d0f9-4738-4e82-ab53-6522d7669073:localhost]

2022-06-29 23:05:15 | [Mutex] received everything.

2022-06-29 23:05:15 | [Mutex] isItemNotified: received:node:1668d0f9-4738-4e82-ab53-6522d7669073:localhost:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:Node 49aaf54b-3a85-4b8a-a48f-305aac23a2e7 :: false

2022-06-29 23:05:15 | [Mutex] waiting for: [received:nodes:0e7a2b80-ce7a-4b4e-905b-bd5362b39505:localhost]

2022-06-29 23:05:15 | [Mutex] received everything.

2022-06-29 23:05:15 | [Mutex] isItemNotified: received:node:0e7a2b80-ce7a-4b4e-905b-bd5362b39505:localhost:node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7:Node 49aaf54b-3a85-4b8a-a48f-305aac23a2e7 :: false

publishItemsToNodes 0.185s
2022-06-29 23:05:12 |

2022-06-29 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:12 | ------------------------------------

2022-06-29 23:05:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node><item-id>item-adf2118c-7e44-41e9-aaec-62911fb24d7f</item-id><entry><test>item-adf2118c-7e44-41e9-aaec-62911fb24d7f</test></entry></data>

2022-06-29 23:05:12 | 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-adf2118c-7e44-41e9-aaec-62911fb24d7f</value></item-id></result>

2022-06-29 23:05:12 | [Mutex] received everything.

2022-06-29 23:05:12 | [Mutex] isItemNotified: published:item:notifieditem-adf2118c-7e44-41e9-aaec-62911fb24d7f:admin@test-domain.com :: true

retractItemsFromNodes 0.204s
2022-06-29 23:05:12 |

2022-06-29 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:12 | ------------------------------------

2022-06-29 23:05:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node><item-id>item-adf2118c-7e44-41e9-aaec-62911fb24d7f</item-id></data>

2022-06-29 23:05:13 | 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-adf2118c-7e44-41e9-aaec-62911fb24d7f</value></item-id></result>

2022-06-29 23:05:13 | [Mutex] waiting for: [retracted:item:notifieditem-adf2118c-7e44-41e9-aaec-62911fb24d7f:admin@test-domain.com]

2022-06-29 23:05:13 | [Mutex] received everything.

2022-06-29 23:05:13 | [Mutex] isItemNotified: retracted:item:notifieditem-adf2118c-7e44-41e9-aaec-62911fb24d7f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.216s
2022-06-29 23:05:12 |

2022-06-29 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:12 | ------------------------------------

2022-06-29 23:05:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node><item-id>item-adf2118c-7e44-41e9-aaec-62911fb24d7f</item-id></data>

2022-06-29 23:05: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-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</value></node><item-id label="Item ID" type="text-single"><value>item-adf2118c-7e44-41e9-aaec-62911fb24d7f</value></item-id><item label="Item" type="text-multi"><value><item id="item-adf2118c-7e44-41e9-aaec-62911fb24d7f"><test>item-adf2118c-7e44-41e9-aaec-62911fb24d7f</test></item></value></item></result>

2022-06-29 23:05:12 | [Mutex] notify: [retrieved:item:item-adf2118c-7e44-41e9-aaec-62911fb24d7f:payload-matches:true:localhost]

2022-06-29 23:05:12 | [Mutex] received everything.

2022-06-29 23:05:12 | [Mutex] isItemNotified: retrieved:item:item-adf2118c-7e44-41e9-aaec-62911fb24d7f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-29 23:05:12 |

2022-06-29 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:12 | ------------------------------------

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

2022-06-29 23:05: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-f45f67d5-c07b-4994-8bc2-ab84e937d64a</value><value>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-29 23:05:12 |

2022-06-29 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:12 | ------------------------------------

2022-06-29 23:05: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-49aaf54b-3a85-4b8a-a48f-305aac23a2e7)</node-pattern></data>

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

subscribeNodes 1.111s
2022-06-29 23:05:11 |

2022-06-29 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:11 | ------------------------------------

2022-06-29 23:05:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.179s
2022-06-29 23:05:13 |

2022-06-29 23:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 23:05:13 | ------------------------------------

2022-06-29 23:05:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-49aaf54b-3a85-4b8a-a48f-305aac23a2e7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-29 23:05:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>