Generated by TestNG with ReportNG at 22:49 PDT on Thursday 07 July 2022
root@f9c07ffec79b / 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.570s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-07-07 23:04:44 |

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

2022-07-07 23:04:44 | ------------------------------------

2022-07-07 23:04:44 | [Mutex] waiting for: [configured:node:node-d6254d18-74bc-410d-bad3-2c146301c5df:node-a31269fc-ae05-416c-876c-53c421a7f4ed]

2022-07-07 23:04:44 | [Mutex] received everything.

2022-07-07 23:04:44 | [Mutex] isItemNotified: configured:node:node-d6254d18-74bc-410d-bad3-2c146301c5df:node-a31269fc-ae05-416c-876c-53c421a7f4ed :: true

2022-07-07 23:04:45 | [Mutex] waiting for: [received:nodes:20c8a367-ed58-4832-aab3-1e2367c959c8:localhost]

2022-07-07 23:04:45 | [Mutex] received everything.

2022-07-07 23:04:45 | [Mutex] isItemNotified: received:node:20c8a367-ed58-4832-aab3-1e2367c959c8:localhost:node-d6254d18-74bc-410d-bad3-2c146301c5df:Node d6254d18-74bc-410d-bad3-2c146301c5df :: true

2022-07-07 23:04:45 | [Mutex] waiting for: [received:nodes:7c64b253-f081-4d88-b1f4-c5c1060ab814:localhost]

2022-07-07 23:04:45 | [Mutex] waiting for: [received:nodes:7c64b253-f081-4d88-b1f4-c5c1060ab814:localhost]

2022-07-07 23:04:45 | [Mutex] waiting for: [received:nodes:7c64b253-f081-4d88-b1f4-c5c1060ab814:localhost]

2022-07-07 23:04:45 | [Mutex] received everything.

2022-07-07 23:04:45 | [Mutex] isItemNotified: received:node:7c64b253-f081-4d88-b1f4-c5c1060ab814:localhost:node-d6254d18-74bc-410d-bad3-2c146301c5df:Node d6254d18-74bc-410d-bad3-2c146301c5df :: false

createNodes 1.534s
2022-07-07 23:04:42 |

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

2022-07-07 23:04:42 | ------------------------------------

2022-07-07 23:04:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d6254d18-74bc-410d-bad3-2c146301c5df</title></pubsub></data>

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

2022-07-07 23:04:43 | [Mutex] waiting for: [received:nodes:eaffaa03-c4d2-4fc8-8a18-fdb172b45f3e:localhost]

2022-07-07 23:04:43 | [Mutex] received everything.

2022-07-07 23:04:43 | [Mutex] isItemNotified: received:node:eaffaa03-c4d2-4fc8-8a18-fdb172b45f3e:localhost:node-d6254d18-74bc-410d-bad3-2c146301c5df:Node d6254d18-74bc-410d-bad3-2c146301c5df :: true

createSubnodes 1.026s
2022-07-07 23:04:43 |

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

2022-07-07 23:04:43 | ------------------------------------

2022-07-07 23:04:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a31269fc-ae05-416c-876c-53c421a7f4ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a31269fc-ae05-416c-876c-53c421a7f4ed</title></pubsub></data>

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

2022-07-07 23:04:44 | [Mutex] waiting for: [received:nodes:107a25c6-f657-4c97-acbc-6651bdff6990:localhost]

2022-07-07 23:04:44 | [Mutex] waiting for: [received:nodes:107a25c6-f657-4c97-acbc-6651bdff6990:localhost]

2022-07-07 23:04:44 | [Mutex] received everything.

2022-07-07 23:04:44 | [Mutex] isItemNotified: received:node:107a25c6-f657-4c97-acbc-6651bdff6990:localhost:node-a31269fc-ae05-416c-876c-53c421a7f4ed:Node a31269fc-ae05-416c-876c-53c421a7f4ed :: true

deleteNodes 1.020s
2022-07-07 23:04:50 |

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

2022-07-07 23:04:50 | ------------------------------------

2022-07-07 23:04:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a31269fc-ae05-416c-876c-53c421a7f4ed</node></data>

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

2022-07-07 23:04:51 | [Mutex] waiting for: [received:nodes:56f8b943-0f0e-4bea-a226-872f74015eca:localhost]

2022-07-07 23:04:51 | [Mutex] waiting for: [received:nodes:56f8b943-0f0e-4bea-a226-872f74015eca:localhost]

2022-07-07 23:04:51 | [Mutex] waiting for: [received:nodes:56f8b943-0f0e-4bea-a226-872f74015eca:localhost]

2022-07-07 23:04:51 | [Mutex] received everything.

2022-07-07 23:04:51 | [Mutex] isItemNotified: received:node:56f8b943-0f0e-4bea-a226-872f74015eca:localhost:node-a31269fc-ae05-416c-876c-53c421a7f4ed:Node a31269fc-ae05-416c-876c-53c421a7f4ed :: false

deleteSubnodes 1.123s
2022-07-07 23:04:48 |

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

2022-07-07 23:04:48 | ------------------------------------

2022-07-07 23:04:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node></data>

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

2022-07-07 23:04:50 | [Mutex] waiting for: [received:nodes:377c4dc4-abd1-4f0c-a698-8dd6bdc9d370:localhost]

2022-07-07 23:04:50 | [Mutex] waiting for: [received:nodes:377c4dc4-abd1-4f0c-a698-8dd6bdc9d370:localhost]

2022-07-07 23:04:50 | [Mutex] received everything.

2022-07-07 23:04:50 | [Mutex] isItemNotified: received:node:377c4dc4-abd1-4f0c-a698-8dd6bdc9d370:localhost:node-d6254d18-74bc-410d-bad3-2c146301c5df:Node d6254d18-74bc-410d-bad3-2c146301c5df :: false

2022-07-07 23:04:50 | [Mutex] waiting for: [received:nodes:2603899e-c712-45d5-8b3e-25c6d7b2c97f:localhost]

2022-07-07 23:04:50 | [Mutex] received everything.

2022-07-07 23:04:50 | [Mutex] isItemNotified: received:node:2603899e-c712-45d5-8b3e-25c6d7b2c97f:localhost:node-d6254d18-74bc-410d-bad3-2c146301c5df:Node d6254d18-74bc-410d-bad3-2c146301c5df :: false

publishItemsToNodes 0.235s
2022-07-07 23:04:46 |

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

2022-07-07 23:04:46 | ------------------------------------

2022-07-07 23:04:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node><item-id>item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</item-id><entry><test>item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</test></entry></data>

2022-07-07 23:04:47 | 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-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</value></item-id></result>

2022-07-07 23:04:47 | [Mutex] waiting for: [published:item:notifieditem-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa:admin@test-domain.com]

2022-07-07 23:04:47 | [Mutex] received everything.

2022-07-07 23:04:47 | [Mutex] isItemNotified: published:item:notifieditem-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-07-07 23:04:47 |

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

2022-07-07 23:04:47 | ------------------------------------

2022-07-07 23:04:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node><item-id>item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</item-id></data>

2022-07-07 23:04:47 | 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-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</value></item-id></result>

2022-07-07 23:04:47 | [Mutex] received everything.

2022-07-07 23:04:47 | [Mutex] isItemNotified: retracted:item:notifieditem-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa:admin@test-domain.com :: true

retrieveItemsFromNodes 0.249s
2022-07-07 23:04:47 |

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

2022-07-07 23:04:47 | ------------------------------------

2022-07-07 23:04:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node><item-id>item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</item-id></data>

2022-07-07 23:04:47 | 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-d6254d18-74bc-410d-bad3-2c146301c5df</value></node><item-id label="Item ID" type="text-single"><value>item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</value></item-id><item label="Item" type="text-multi"><value><item id="item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa"><test>item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa</test></item></value></item></result>

2022-07-07 23:04:47 | [Mutex] notify: [retrieved:item:item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa:payload-matches:true:localhost]

2022-07-07 23:04:47 | [Mutex] received everything.

2022-07-07 23:04:47 | [Mutex] isItemNotified: retrieved:item:item-6469fb1b-2a8d-45b3-9723-6f9693dfc0fa:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-07 23:04:47 |

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

2022-07-07 23:04:47 | ------------------------------------

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

2022-07-07 23:04:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d6254d18-74bc-410d-bad3-2c146301c5df</value><value>test</value><value>node-a31269fc-ae05-416c-876c-53c421a7f4ed</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-07 23:04:47 |

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

2022-07-07 23:04:47 | ------------------------------------

2022-07-07 23:04:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d6254d18-74bc-410d-bad3-2c146301c5df)</node-pattern></data>

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

subscribeNodes 1.104s
2022-07-07 23:04:45 |

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

2022-07-07 23:04:45 | ------------------------------------

2022-07-07 23:04:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.211s
2022-07-07 23:04:47 |

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

2022-07-07 23:04:47 | ------------------------------------

2022-07-07 23:04:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d6254d18-74bc-410d-bad3-2c146301c5df</node><jids><value>admin@test-domain.com</value></jids></data>

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