Generated by TestNG with ReportNG at 08:42 PDT on Wednesday 27 October 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.279s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-10-27 08:59:01 |

2021-10-27 08:59:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:01 | ------------------------------------

2021-10-27 08:59:01 | [Mutex] waiting for: [configured:node:node-43433a68-b0c3-4410-9437-1abcd2c238f0:node-b3d46cda-43a9-4675-9537-6b68e705be8d]

2021-10-27 08:59:01 | [Mutex] received everything.

2021-10-27 08:59:01 | [Mutex] isItemNotified: configured:node:node-43433a68-b0c3-4410-9437-1abcd2c238f0:node-b3d46cda-43a9-4675-9537-6b68e705be8d :: true

2021-10-27 08:59:02 | [Mutex] waiting for: [received:nodes:438e49aa-5e27-4b06-91bc-b54b52d462e2:localhost]

2021-10-27 08:59:02 | [Mutex] received everything.

2021-10-27 08:59:02 | [Mutex] isItemNotified: received:node:438e49aa-5e27-4b06-91bc-b54b52d462e2:localhost:node-43433a68-b0c3-4410-9437-1abcd2c238f0:Node 43433a68-b0c3-4410-9437-1abcd2c238f0 :: true

2021-10-27 08:59:02 | [Mutex] waiting for: [received:nodes:390cf15b-2dab-4970-a1bb-04656621ec94:localhost]

2021-10-27 08:59:02 | [Mutex] received everything.

2021-10-27 08:59:02 | [Mutex] isItemNotified: received:node:390cf15b-2dab-4970-a1bb-04656621ec94:localhost:node-43433a68-b0c3-4410-9437-1abcd2c238f0:Node 43433a68-b0c3-4410-9437-1abcd2c238f0 :: false

createNodes 1.659s
2021-10-27 08:58:58 |

2021-10-27 08:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:58:58 | ------------------------------------

2021-10-27 08:58:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 43433a68-b0c3-4410-9437-1abcd2c238f0</title></pubsub></data>

2021-10-27 08:58:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:59:00 | [Mutex] waiting for: [received:nodes:195cb3b2-4124-4fa8-9b62-86b04c421ca8:localhost]

2021-10-27 08:59:00 | [Mutex] waiting for: [received:nodes:195cb3b2-4124-4fa8-9b62-86b04c421ca8:localhost]

2021-10-27 08:59:00 | [Mutex] received everything.

2021-10-27 08:59:00 | [Mutex] isItemNotified: received:node:195cb3b2-4124-4fa8-9b62-86b04c421ca8:localhost:node-43433a68-b0c3-4410-9437-1abcd2c238f0:Node 43433a68-b0c3-4410-9437-1abcd2c238f0 :: true

createSubnodes 1.027s
2021-10-27 08:59:00 |

2021-10-27 08:59:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:00 | ------------------------------------

2021-10-27 08:59:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b3d46cda-43a9-4675-9537-6b68e705be8d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b3d46cda-43a9-4675-9537-6b68e705be8d</title></pubsub></data>

2021-10-27 08:59:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:59:01 | [Mutex] waiting for: [received:nodes:32da38d9-fd31-47ec-8c88-5fe2c49c5a1d:localhost]

2021-10-27 08:59:01 | [Mutex] received everything.

2021-10-27 08:59:01 | [Mutex] isItemNotified: received:node:32da38d9-fd31-47ec-8c88-5fe2c49c5a1d:localhost:node-b3d46cda-43a9-4675-9537-6b68e705be8d:Node b3d46cda-43a9-4675-9537-6b68e705be8d :: true

deleteNodes 1.019s
2021-10-27 08:59:07 |

2021-10-27 08:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:07 | ------------------------------------

2021-10-27 08:59:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b3d46cda-43a9-4675-9537-6b68e705be8d</node></data>

2021-10-27 08:59:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:59:08 | [Mutex] waiting for: [received:nodes:57df02c4-c2b9-45bc-b5ed-7ecaab305794:localhost]

2021-10-27 08:59:08 | [Mutex] received everything.

2021-10-27 08:59:08 | [Mutex] isItemNotified: received:node:57df02c4-c2b9-45bc-b5ed-7ecaab305794:localhost:node-b3d46cda-43a9-4675-9537-6b68e705be8d:Node b3d46cda-43a9-4675-9537-6b68e705be8d :: false

deleteSubnodes 1.196s
2021-10-27 08:59:06 |

2021-10-27 08:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:06 | ------------------------------------

2021-10-27 08:59:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node></data>

2021-10-27 08:59:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 08:59:07 | [Mutex] waiting for: [received:nodes:c4307979-e35d-42b6-93de-447f4fc13699:localhost]

2021-10-27 08:59:07 | [Mutex] received everything.

2021-10-27 08:59:07 | [Mutex] isItemNotified: received:node:c4307979-e35d-42b6-93de-447f4fc13699:localhost:node-43433a68-b0c3-4410-9437-1abcd2c238f0:Node 43433a68-b0c3-4410-9437-1abcd2c238f0 :: false

2021-10-27 08:59:07 | [Mutex] waiting for: [received:nodes:799ac959-75db-4444-b8d2-ae79afbf2649:localhost]

2021-10-27 08:59:07 | [Mutex] received everything.

2021-10-27 08:59:07 | [Mutex] isItemNotified: received:node:799ac959-75db-4444-b8d2-ae79afbf2649:localhost:node-43433a68-b0c3-4410-9437-1abcd2c238f0:Node 43433a68-b0c3-4410-9437-1abcd2c238f0 :: false

publishItemsToNodes 0.292s
2021-10-27 08:59:03 |

2021-10-27 08:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:03 | ------------------------------------

2021-10-27 08:59:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node><item-id>item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</item-id><entry><test>item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</test></entry></data>

2021-10-27 08:59:04 | 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-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</value></item-id></result>

2021-10-27 08:59:04 | [Mutex] waiting for: [published:item:notifieditem-5f703d98-a81f-4ca8-aed6-f3b4497a07ce:admin@test-domain.com]

2021-10-27 08:59:04 | [Mutex] received everything.

2021-10-27 08:59:04 | [Mutex] isItemNotified: published:item:notifieditem-5f703d98-a81f-4ca8-aed6-f3b4497a07ce:admin@test-domain.com :: true

retractItemsFromNodes 0.253s
2021-10-27 08:59:04 |

2021-10-27 08:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:04 | ------------------------------------

2021-10-27 08:59:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node><item-id>item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</item-id></data>

2021-10-27 08:59:04 | 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-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</value></item-id></result>

2021-10-27 08:59:04 | [Mutex] received everything.

2021-10-27 08:59:04 | [Mutex] isItemNotified: retracted:item:notifieditem-5f703d98-a81f-4ca8-aed6-f3b4497a07ce:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2021-10-27 08:59:04 |

2021-10-27 08:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:04 | ------------------------------------

2021-10-27 08:59:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node><item-id>item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</item-id></data>

2021-10-27 08:59:04 | 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-43433a68-b0c3-4410-9437-1abcd2c238f0</value></node><item-id label="Item ID" type="text-single"><value>item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</value></item-id><item label="Item" type="text-multi"><value><item id="item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce"><test>item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce</test></item></value></item></result>

2021-10-27 08:59:04 | [Mutex] notify: [retrieved:item:item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce:payload-matches:true:localhost]

2021-10-27 08:59:04 | [Mutex] received everything.

2021-10-27 08:59:04 | [Mutex] isItemNotified: retrieved:item:item-5f703d98-a81f-4ca8-aed6-f3b4497a07ce:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-10-27 08:59:04 |

2021-10-27 08:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:04 | ------------------------------------

2021-10-27 08:59:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-27 08:59:04 | 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-43433a68-b0c3-4410-9437-1abcd2c238f0</value><value>node-b3d46cda-43a9-4675-9537-6b68e705be8d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-10-27 08:59:04 |

2021-10-27 08:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:04 | ------------------------------------

2021-10-27 08:59:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-43433a68-b0c3-4410-9437-1abcd2c238f0)</node-pattern></data>

2021-10-27 08:59:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.169s
2021-10-27 08:59:02 |

2021-10-27 08:59:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:02 | ------------------------------------

2021-10-27 08:59:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-27 08:59:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.289s
2021-10-27 08:59:04 |

2021-10-27 08:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 08:59:04 | ------------------------------------

2021-10-27 08:59:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-43433a68-b0c3-4410-9437-1abcd2c238f0</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-27 08:59:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>