Generated by TestNG with ReportNG at 22:31 PDT on Saturday 26 September 2020
root@acb1a7e1250f / 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.137s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2020-09-26 22:47:11 |

2020-09-26 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:11 | ------------------------------------

2020-09-26 22:47:11 | [Mutex] waiting for: [configured:node:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4]

2020-09-26 22:47:11 | [Mutex] received everything.

2020-09-26 22:47:11 | [Mutex] isItemNotified: configured:node:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4 :: true

2020-09-26 22:47:12 | [Mutex] waiting for: [received:nodes:42cf7bba-7ba2-4b68-8334-ed28690387a3:localhost]

2020-09-26 22:47:12 | [Mutex] received everything.

2020-09-26 22:47:12 | [Mutex] isItemNotified: received:node:42cf7bba-7ba2-4b68-8334-ed28690387a3:localhost:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:Node 7e80cfd6-376e-4c48-a1b9-6e76495e9b08 :: true

2020-09-26 22:47:12 | [Mutex] waiting for: [received:nodes:49b3d158-b0df-4dcd-9605-8ec76057ea6e:localhost]

2020-09-26 22:47:12 | [Mutex] waiting for: [received:nodes:49b3d158-b0df-4dcd-9605-8ec76057ea6e:localhost]

2020-09-26 22:47:12 | [Mutex] waiting for: [received:nodes:49b3d158-b0df-4dcd-9605-8ec76057ea6e:localhost]

2020-09-26 22:47:12 | [Mutex] received everything.

2020-09-26 22:47:12 | [Mutex] isItemNotified: received:node:49b3d158-b0df-4dcd-9605-8ec76057ea6e:localhost:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:Node 7e80cfd6-376e-4c48-a1b9-6e76495e9b08 :: false

createNodes 1.606s
2020-09-26 22:47:08 |

2020-09-26 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:08 | ------------------------------------

2020-09-26 22:47:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e80cfd6-376e-4c48-a1b9-6e76495e9b08</title></pubsub></data>

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

2020-09-26 22:47:10 | [Mutex] waiting for: [received:nodes:e6c62a08-575a-4a75-a9bd-4874e389869b:localhost]

2020-09-26 22:47:10 | [Mutex] received everything.

2020-09-26 22:47:10 | [Mutex] isItemNotified: received:node:e6c62a08-575a-4a75-a9bd-4874e389869b:localhost:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:Node 7e80cfd6-376e-4c48-a1b9-6e76495e9b08 :: true

createSubnodes 1.024s
2020-09-26 22:47:10 |

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

2020-09-26 22:47:10 | ------------------------------------

2020-09-26 22:47:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4</title></pubsub></data>

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

2020-09-26 22:47:11 | [Mutex] waiting for: [received:nodes:e2ef217f-b276-43a2-bfe5-f66b2591b62a:localhost]

2020-09-26 22:47:11 | [Mutex] received everything.

2020-09-26 22:47:11 | [Mutex] isItemNotified: received:node:e2ef217f-b276-43a2-bfe5-f66b2591b62a:localhost:node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4:Node dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4 :: true

deleteNodes 1.019s
2020-09-26 22:47:16 |

2020-09-26 22:47:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:16 | ------------------------------------

2020-09-26 22:47:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4</node></data>

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

2020-09-26 22:47:17 | [Mutex] waiting for: [received:nodes:3630a353-da30-458c-ace9-36f7356f3769:localhost]

2020-09-26 22:47:17 | [Mutex] waiting for: [received:nodes:3630a353-da30-458c-ace9-36f7356f3769:localhost]

2020-09-26 22:47:17 | [Mutex] received everything.

2020-09-26 22:47:17 | [Mutex] isItemNotified: received:node:3630a353-da30-458c-ace9-36f7356f3769:localhost:node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4:Node dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4 :: false

deleteSubnodes 1.120s
2020-09-26 22:47:15 |

2020-09-26 22:47:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:15 | ------------------------------------

2020-09-26 22:47:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node></data>

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

2020-09-26 22:47:16 | [Mutex] waiting for: [received:nodes:defe0f61-2194-4853-841f-51e4733c4332:localhost]

2020-09-26 22:47:16 | [Mutex] received everything.

2020-09-26 22:47:16 | [Mutex] isItemNotified: received:node:defe0f61-2194-4853-841f-51e4733c4332:localhost:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:Node 7e80cfd6-376e-4c48-a1b9-6e76495e9b08 :: false

2020-09-26 22:47:16 | [Mutex] waiting for: [received:nodes:486c0207-4285-416d-808b-1cae4baed29f:localhost]

2020-09-26 22:47:16 | [Mutex] received everything.

2020-09-26 22:47:16 | [Mutex] isItemNotified: received:node:486c0207-4285-416d-808b-1cae4baed29f:localhost:node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08:Node 7e80cfd6-376e-4c48-a1b9-6e76495e9b08 :: false

publishItemsToNodes 0.272s
2020-09-26 22:47:13 |

2020-09-26 22:47:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:13 | ------------------------------------

2020-09-26 22:47:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node><item-id>item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</item-id><entry><test>item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</test></entry></data>

2020-09-26 22:47:13 | 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-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</value></item-id></result>

2020-09-26 22:47:13 | [Mutex] received everything.

2020-09-26 22:47:13 | [Mutex] isItemNotified: published:item:notifieditem-bf904809-ca88-4d38-bbc4-4bd5b8e1a958:admin@test-domain.com :: true

retractItemsFromNodes 0.152s
2020-09-26 22:47:14 |

2020-09-26 22:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:14 | ------------------------------------

2020-09-26 22:47:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node><item-id>item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</item-id></data>

2020-09-26 22:47:14 | 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-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</value></item-id></result>

2020-09-26 22:47:14 | [Mutex] received everything.

2020-09-26 22:47:14 | [Mutex] isItemNotified: retracted:item:notifieditem-bf904809-ca88-4d38-bbc4-4bd5b8e1a958:admin@test-domain.com :: true

retrieveItemsFromNodes 0.227s
2020-09-26 22:47:13 |

2020-09-26 22:47:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:13 | ------------------------------------

2020-09-26 22:47:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node><item-id>item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</item-id></data>

2020-09-26 22:47:14 | 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-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</value></node><item-id label="Item ID" type="text-single"><value>item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</value></item-id><item label="Item" type="text-multi"><value><item id="item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958"><test>item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958</test></item></value></item></result>

2020-09-26 22:47:14 | [Mutex] notify: [retrieved:item:item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958:payload-matches:true:localhost]

2020-09-26 22:47:14 | [Mutex] received everything.

2020-09-26 22:47:14 | [Mutex] isItemNotified: retrieved:item:item-bf904809-ca88-4d38-bbc4-4bd5b8e1a958:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-26 22:47:14 |

2020-09-26 22:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:14 | ------------------------------------

2020-09-26 22:47:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-26 22:47:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</value><value>test</value><value>node-dd15ca0b-a002-463a-b9d3-2e8dbe21a6a4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-26 22:47:14 |

2020-09-26 22:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:14 | ------------------------------------

2020-09-26 22:47:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08)</node-pattern></data>

2020-09-26 22:47:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.148s
2020-09-26 22:47:12 |

2020-09-26 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:12 | ------------------------------------

2020-09-26 22:47:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.295s
2020-09-26 22:47:14 |

2020-09-26 22:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:47:14 | ------------------------------------

2020-09-26 22:47:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7e80cfd6-376e-4c48-a1b9-6e76495e9b08</node><jids><value>admin@test-domain.com</value></jids></data>

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