Generated by TestNG with ReportNG at 22:15 PDT on Monday 13 September 2021
root@785cf647a4ab / 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.363s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.144s
2021-09-13 22:32:25 |

2021-09-13 22:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:25 | ------------------------------------

2021-09-13 22:32:25 | [Mutex] waiting for: [configured:node:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2]

2021-09-13 22:32:25 | [Mutex] received everything.

2021-09-13 22:32:25 | [Mutex] isItemNotified: configured:node:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2 :: true

2021-09-13 22:32:26 | [Mutex] waiting for: [received:nodes:6fcac423-42b4-47d9-a0c7-c51612414253:localhost]

2021-09-13 22:32:26 | [Mutex] received everything.

2021-09-13 22:32:26 | [Mutex] isItemNotified: received:node:6fcac423-42b4-47d9-a0c7-c51612414253:localhost:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:Node eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2 :: true

2021-09-13 22:32:26 | [Mutex] waiting for: [received:nodes:8774794a-45fa-4f69-a2e3-4c753fcbb6d3:localhost]

2021-09-13 22:32:26 | [Mutex] received everything.

2021-09-13 22:32:26 | [Mutex] isItemNotified: received:node:8774794a-45fa-4f69-a2e3-4c753fcbb6d3:localhost:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:Node eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2 :: false

createNodes 1.452s
2021-09-13 22:32:22 |

2021-09-13 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:22 | ------------------------------------

2021-09-13 22:32:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</title></pubsub></data>

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

2021-09-13 22:32:24 | [Mutex] waiting for: [received:nodes:9ca9f0c3-74f0-434e-8f93-2c2a96f7a45d:localhost]

2021-09-13 22:32:24 | [Mutex] received everything.

2021-09-13 22:32:24 | [Mutex] isItemNotified: received:node:9ca9f0c3-74f0-434e-8f93-2c2a96f7a45d:localhost:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:Node eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2 :: true

createSubnodes 1.026s
2021-09-13 22:32:24 |

2021-09-13 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:24 | ------------------------------------

2021-09-13 22:32:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 110a27d5-1fda-4d58-a9f4-1e3b24253cb2</title></pubsub></data>

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

2021-09-13 22:32:25 | [Mutex] waiting for: [received:nodes:7cf50d9d-42cf-4823-a7c0-92a266e8ea3d:localhost]

2021-09-13 22:32:25 | [Mutex] received everything.

2021-09-13 22:32:25 | [Mutex] isItemNotified: received:node:7cf50d9d-42cf-4823-a7c0-92a266e8ea3d:localhost:node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2:Node 110a27d5-1fda-4d58-a9f4-1e3b24253cb2 :: true

deleteNodes 1.026s
2021-09-13 22:32:30 |

2021-09-13 22:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:30 | ------------------------------------

2021-09-13 22:32:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2</node></data>

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

2021-09-13 22:32:31 | [Mutex] waiting for: [received:nodes:d1345a41-6c7e-4665-911e-40ddb17d0888:localhost]

2021-09-13 22:32:31 | [Mutex] received everything.

2021-09-13 22:32:31 | [Mutex] isItemNotified: received:node:d1345a41-6c7e-4665-911e-40ddb17d0888:localhost:node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2:Node 110a27d5-1fda-4d58-a9f4-1e3b24253cb2 :: false

deleteSubnodes 1.135s
2021-09-13 22:32:29 |

2021-09-13 22:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:29 | ------------------------------------

2021-09-13 22:32:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node></data>

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

2021-09-13 22:32:30 | [Mutex] waiting for: [received:nodes:e270cbe7-48f4-4a52-acbc-693141f94ebe:localhost]

2021-09-13 22:32:30 | [Mutex] received everything.

2021-09-13 22:32:30 | [Mutex] isItemNotified: received:node:e270cbe7-48f4-4a52-acbc-693141f94ebe:localhost:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:Node eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2 :: false

2021-09-13 22:32:30 | [Mutex] waiting for: [received:nodes:36f4c32d-e77d-4e86-8aab-3f9804e45315:localhost]

2021-09-13 22:32:30 | [Mutex] received everything.

2021-09-13 22:32:30 | [Mutex] isItemNotified: received:node:36f4c32d-e77d-4e86-8aab-3f9804e45315:localhost:node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2:Node eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2 :: false

publishItemsToNodes 0.309s
2021-09-13 22:32:27 |

2021-09-13 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:27 | ------------------------------------

2021-09-13 22:32:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node><item-id>item-7066a122-daec-4d53-8508-eb0d203a9a18</item-id><entry><test>item-7066a122-daec-4d53-8508-eb0d203a9a18</test></entry></data>

2021-09-13 22:32:27 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7066a122-daec-4d53-8508-eb0d203a9a18</value></item-id></result>

2021-09-13 22:32:27 | [Mutex] received everything.

2021-09-13 22:32:27 | [Mutex] isItemNotified: published:item:notifieditem-7066a122-daec-4d53-8508-eb0d203a9a18:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2021-09-13 22:32:28 |

2021-09-13 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:28 | ------------------------------------

2021-09-13 22:32:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node><item-id>item-7066a122-daec-4d53-8508-eb0d203a9a18</item-id></data>

2021-09-13 22:32:28 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7066a122-daec-4d53-8508-eb0d203a9a18</value></item-id></result>

2021-09-13 22:32:28 | [Mutex] received everything.

2021-09-13 22:32:28 | [Mutex] isItemNotified: retracted:item:notifieditem-7066a122-daec-4d53-8508-eb0d203a9a18:admin@test-domain.com :: true

retrieveItemsFromNodes 0.331s
2021-09-13 22:32:27 |

2021-09-13 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:27 | ------------------------------------

2021-09-13 22:32:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node><item-id>item-7066a122-daec-4d53-8508-eb0d203a9a18</item-id></data>

2021-09-13 22:32:28 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</value></node><item-id type="text-single" label="Item ID"><value>item-7066a122-daec-4d53-8508-eb0d203a9a18</value></item-id><item type="text-multi" label="Item"><value><item id="item-7066a122-daec-4d53-8508-eb0d203a9a18"><test>item-7066a122-daec-4d53-8508-eb0d203a9a18</test></item></value></item></result>

2021-09-13 22:32:28 | [Mutex] notify: [retrieved:item:item-7066a122-daec-4d53-8508-eb0d203a9a18:payload-matches:true:localhost]

2021-09-13 22:32:28 | [Mutex] received everything.

2021-09-13 22:32:28 | [Mutex] isItemNotified: retrieved:item:item-7066a122-daec-4d53-8508-eb0d203a9a18:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-09-13 22:32:28 |

2021-09-13 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:28 | ------------------------------------

2021-09-13 22:32:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-13 22:32:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-110a27d5-1fda-4d58-a9f4-1e3b24253cb2</value><value>test</value><value>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-09-13 22:32:28 |

2021-09-13 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:28 | ------------------------------------

2021-09-13 22:32:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2)</node-pattern></data>

2021-09-13 22:32:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.183s
2021-09-13 22:32:26 |

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

2021-09-13 22:32:26 | ------------------------------------

2021-09-13 22:32:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.267s
2021-09-13 22:32:28 |

2021-09-13 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:32:28 | ------------------------------------

2021-09-13 22:32:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-eef8ed04-82c4-4195-ae9f-a8e37ec0d8e2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-13 22:32:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>