Generated by TestNG with ReportNG at 22:25 PDT on Thursday 26 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 9.707s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-05-26 22:39:43 |

2022-05-26 22:39:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:43 | ------------------------------------

2022-05-26 22:39:43 | [Mutex] waiting for: [configured:node:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:node-2f475bd9-ff91-4279-bf46-b8b190239120]

2022-05-26 22:39:43 | [Mutex] received everything.

2022-05-26 22:39:43 | [Mutex] isItemNotified: configured:node:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:node-2f475bd9-ff91-4279-bf46-b8b190239120 :: true

2022-05-26 22:39:44 | [Mutex] waiting for: [received:nodes:ed1cb2ad-1672-4d0c-a71f-6df38ec4a6bd:localhost]

2022-05-26 22:39:44 | [Mutex] received everything.

2022-05-26 22:39:44 | [Mutex] isItemNotified: received:node:ed1cb2ad-1672-4d0c-a71f-6df38ec4a6bd:localhost:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:Node 95efdeb1-2e7f-4bee-826c-b6a226d29a09 :: true

2022-05-26 22:39:44 | [Mutex] waiting for: [received:nodes:eb052ce7-247b-4b38-8731-8ef7f674745d:localhost]

2022-05-26 22:39:44 | [Mutex] received everything.

2022-05-26 22:39:44 | [Mutex] isItemNotified: received:node:eb052ce7-247b-4b38-8731-8ef7f674745d:localhost:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:Node 95efdeb1-2e7f-4bee-826c-b6a226d29a09 :: false

createNodes 1.643s
2022-05-26 22:39:40 |

2022-05-26 22:39:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:40 | ------------------------------------

2022-05-26 22:39:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 95efdeb1-2e7f-4bee-826c-b6a226d29a09</title></pubsub></data>

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

2022-05-26 22:39:42 | [Mutex] waiting for: [received:nodes:c3bf1b55-259b-480c-a809-a896081b17fc:localhost]

2022-05-26 22:39:42 | [Mutex] received everything.

2022-05-26 22:39:42 | [Mutex] isItemNotified: received:node:c3bf1b55-259b-480c-a809-a896081b17fc:localhost:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:Node 95efdeb1-2e7f-4bee-826c-b6a226d29a09 :: true

createSubnodes 1.033s
2022-05-26 22:39:42 |

2022-05-26 22:39:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:42 | ------------------------------------

2022-05-26 22:39:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2f475bd9-ff91-4279-bf46-b8b190239120</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f475bd9-ff91-4279-bf46-b8b190239120</title></pubsub></data>

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

2022-05-26 22:39:43 | [Mutex] waiting for: [received:nodes:efe13b82-388c-4128-9497-c97d118c32d8:localhost]

2022-05-26 22:39:43 | [Mutex] waiting for: [received:nodes:efe13b82-388c-4128-9497-c97d118c32d8:localhost]

2022-05-26 22:39:43 | [Mutex] received everything.

2022-05-26 22:39:43 | [Mutex] isItemNotified: received:node:efe13b82-388c-4128-9497-c97d118c32d8:localhost:node-2f475bd9-ff91-4279-bf46-b8b190239120:Node 2f475bd9-ff91-4279-bf46-b8b190239120 :: true

deleteNodes 1.021s
2022-05-26 22:39:48 |

2022-05-26 22:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:48 | ------------------------------------

2022-05-26 22:39:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2f475bd9-ff91-4279-bf46-b8b190239120</node></data>

2022-05-26 22:39:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-26 22:39:49 | [Mutex] waiting for: [received:nodes:674cceda-5508-4751-b96d-f0efd9d7f4e3:localhost]

2022-05-26 22:39:49 | [Mutex] waiting for: [received:nodes:674cceda-5508-4751-b96d-f0efd9d7f4e3:localhost]

2022-05-26 22:39:49 | [Mutex] received everything.

2022-05-26 22:39:49 | [Mutex] isItemNotified: received:node:674cceda-5508-4751-b96d-f0efd9d7f4e3:localhost:node-2f475bd9-ff91-4279-bf46-b8b190239120:Node 2f475bd9-ff91-4279-bf46-b8b190239120 :: false

deleteSubnodes 1.211s
2022-05-26 22:39:47 |

2022-05-26 22:39:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:47 | ------------------------------------

2022-05-26 22:39:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node></data>

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

2022-05-26 22:39:48 | [Mutex] waiting for: [received:nodes:ed41373b-1840-4c7c-8d86-ef638032e8af:localhost]

2022-05-26 22:39:48 | [Mutex] waiting for: [received:nodes:ed41373b-1840-4c7c-8d86-ef638032e8af:localhost]

2022-05-26 22:39:48 | [Mutex] received everything.

2022-05-26 22:39:48 | [Mutex] isItemNotified: received:node:ed41373b-1840-4c7c-8d86-ef638032e8af:localhost:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:Node 95efdeb1-2e7f-4bee-826c-b6a226d29a09 :: false

2022-05-26 22:39:48 | [Mutex] waiting for: [received:nodes:0324e96f-5323-4162-9280-8126cfddc079:localhost]

2022-05-26 22:39:48 | [Mutex] received everything.

2022-05-26 22:39:48 | [Mutex] isItemNotified: received:node:0324e96f-5323-4162-9280-8126cfddc079:localhost:node-95efdeb1-2e7f-4bee-826c-b6a226d29a09:Node 95efdeb1-2e7f-4bee-826c-b6a226d29a09 :: false

publishItemsToNodes 0.223s
2022-05-26 22:39:45 |

2022-05-26 22:39:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:45 | ------------------------------------

2022-05-26 22:39:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node><item-id>item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</item-id><entry><test>item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</test></entry></data>

2022-05-26 22:39:45 | 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-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</value></item-id></result>

2022-05-26 22:39:45 | [Mutex] received everything.

2022-05-26 22:39:45 | [Mutex] isItemNotified: published:item:notifieditem-c4a08e4b-cff9-41fc-b699-70902a9c8b6d:admin@test-domain.com :: true

retractItemsFromNodes 0.171s
2022-05-26 22:39:46 |

2022-05-26 22:39:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:46 | ------------------------------------

2022-05-26 22:39:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node><item-id>item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</item-id></data>

2022-05-26 22:39:46 | 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-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</value></item-id></result>

2022-05-26 22:39:46 | [Mutex] waiting for: [retracted:item:notifieditem-c4a08e4b-cff9-41fc-b699-70902a9c8b6d:admin@test-domain.com]

2022-05-26 22:39:46 | [Mutex] received everything.

2022-05-26 22:39:46 | [Mutex] isItemNotified: retracted:item:notifieditem-c4a08e4b-cff9-41fc-b699-70902a9c8b6d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.200s
2022-05-26 22:39:45 |

2022-05-26 22:39:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:45 | ------------------------------------

2022-05-26 22:39:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node><item-id>item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</item-id></data>

2022-05-26 22:39:46 | 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-95efdeb1-2e7f-4bee-826c-b6a226d29a09</value></node><item-id type="text-single" label="Item ID"><value>item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</value></item-id><item type="text-multi" label="Item"><value><item id="item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d"><test>item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d</test></item></value></item></result>

2022-05-26 22:39:46 | [Mutex] notify: [retrieved:item:item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d:payload-matches:true:localhost]

2022-05-26 22:39:46 | [Mutex] received everything.

2022-05-26 22:39:46 | [Mutex] isItemNotified: retrieved:item:item-c4a08e4b-cff9-41fc-b699-70902a9c8b6d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-05-26 22:39:46 |

2022-05-26 22:39:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:46 | ------------------------------------

2022-05-26 22:39:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-26 22:39:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2f475bd9-ff91-4279-bf46-b8b190239120</value><value>test</value><value>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-05-26 22:39:46 |

2022-05-26 22:39:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:46 | ------------------------------------

2022-05-26 22:39:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-95efdeb1-2e7f-4bee-826c-b6a226d29a09)</node-pattern></data>

2022-05-26 22:39:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.119s
2022-05-26 22:39:44 |

2022-05-26 22:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:44 | ------------------------------------

2022-05-26 22:39:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-26 22:39:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.239s
2022-05-26 22:39:46 |

2022-05-26 22:39:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-26 22:39:46 | ------------------------------------

2022-05-26 22:39:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-95efdeb1-2e7f-4bee-826c-b6a226d29a09</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-26 22:39:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>