Generated by TestNG with ReportNG at 23:02 PDT on Thursday 14 April 2022
root@21fb2cc9076b / 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.618s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-04-14 23:16:36 |

2022-04-14 23:16:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:36 | ------------------------------------

2022-04-14 23:16:36 | [Mutex] waiting for: [configured:node:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a]

2022-04-14 23:16:36 | [Mutex] received everything.

2022-04-14 23:16:36 | [Mutex] isItemNotified: configured:node:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a :: true

2022-04-14 23:16:37 | [Mutex] waiting for: [received:nodes:1a4f4a6d-f3a2-4c19-bbbc-3f6a37e9ae25:localhost]

2022-04-14 23:16:37 | [Mutex] received everything.

2022-04-14 23:16:37 | [Mutex] isItemNotified: received:node:1a4f4a6d-f3a2-4c19-bbbc-3f6a37e9ae25:localhost:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:Node cc1393b9-be92-4b93-ada5-952e63e4e76a :: true

2022-04-14 23:16:37 | [Mutex] waiting for: [received:nodes:089ff760-994d-4124-8f97-17fb6c95a70c:localhost]

2022-04-14 23:16:37 | [Mutex] waiting for: [received:nodes:089ff760-994d-4124-8f97-17fb6c95a70c:localhost]

2022-04-14 23:16:37 | [Mutex] received everything.

2022-04-14 23:16:37 | [Mutex] isItemNotified: received:node:089ff760-994d-4124-8f97-17fb6c95a70c:localhost:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:Node cc1393b9-be92-4b93-ada5-952e63e4e76a :: false

createNodes 1.471s
2022-04-14 23:16:33 |

2022-04-14 23:16:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:33 | ------------------------------------

2022-04-14 23:16:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cc1393b9-be92-4b93-ada5-952e63e4e76a</title></pubsub></data>

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

2022-04-14 23:16:35 | [Mutex] waiting for: [received:nodes:9dfb6f50-6ec5-40ce-b76c-afd3d578f261:localhost]

2022-04-14 23:16:35 | [Mutex] waiting for: [received:nodes:9dfb6f50-6ec5-40ce-b76c-afd3d578f261:localhost]

2022-04-14 23:16:35 | [Mutex] received everything.

2022-04-14 23:16:35 | [Mutex] isItemNotified: received:node:9dfb6f50-6ec5-40ce-b76c-afd3d578f261:localhost:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:Node cc1393b9-be92-4b93-ada5-952e63e4e76a :: true

createSubnodes 1.019s
2022-04-14 23:16:35 |

2022-04-14 23:16:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:35 | ------------------------------------

2022-04-14 23:16:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9f2bb2d7-698b-40a2-93b6-f3b13d69e65a</title></pubsub></data>

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

2022-04-14 23:16:36 | [Mutex] waiting for: [received:nodes:98e0b9d4-4a23-4bbb-bf8e-31e94240a6f9:localhost]

2022-04-14 23:16:36 | [Mutex] received everything.

2022-04-14 23:16:36 | [Mutex] isItemNotified: received:node:98e0b9d4-4a23-4bbb-bf8e-31e94240a6f9:localhost:node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a:Node 9f2bb2d7-698b-40a2-93b6-f3b13d69e65a :: true

deleteNodes 1.019s
2022-04-14 23:16:41 |

2022-04-14 23:16:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:41 | ------------------------------------

2022-04-14 23:16:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a</node></data>

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

2022-04-14 23:16:42 | [Mutex] waiting for: [received:nodes:66147e5b-9f0d-4d85-b675-180a5f2286fa:localhost]

2022-04-14 23:16:42 | [Mutex] received everything.

2022-04-14 23:16:42 | [Mutex] isItemNotified: received:node:66147e5b-9f0d-4d85-b675-180a5f2286fa:localhost:node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a:Node 9f2bb2d7-698b-40a2-93b6-f3b13d69e65a :: false

deleteSubnodes 1.113s
2022-04-14 23:16:40 |

2022-04-14 23:16:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:40 | ------------------------------------

2022-04-14 23:16:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node></data>

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

2022-04-14 23:16:41 | [Mutex] waiting for: [received:nodes:af76a2cf-f200-46f6-adde-0248c1e11084:localhost]

2022-04-14 23:16:41 | [Mutex] received everything.

2022-04-14 23:16:41 | [Mutex] isItemNotified: received:node:af76a2cf-f200-46f6-adde-0248c1e11084:localhost:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:Node cc1393b9-be92-4b93-ada5-952e63e4e76a :: false

2022-04-14 23:16:41 | [Mutex] waiting for: [received:nodes:7269ba39-efdc-4d48-b499-b256156097d5:localhost]

2022-04-14 23:16:41 | [Mutex] received everything.

2022-04-14 23:16:41 | [Mutex] isItemNotified: received:node:7269ba39-efdc-4d48-b499-b256156097d5:localhost:node-cc1393b9-be92-4b93-ada5-952e63e4e76a:Node cc1393b9-be92-4b93-ada5-952e63e4e76a :: false

publishItemsToNodes 0.258s
2022-04-14 23:16:38 |

2022-04-14 23:16:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:38 | ------------------------------------

2022-04-14 23:16:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node><item-id>item-35816c1d-c51b-42db-83a7-636dc6ca7b33</item-id><entry><test>item-35816c1d-c51b-42db-83a7-636dc6ca7b33</test></entry></data>

2022-04-14 23:16:38 | 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-35816c1d-c51b-42db-83a7-636dc6ca7b33</value></item-id></result>

2022-04-14 23:16:38 | [Mutex] waiting for: [published:item:notifieditem-35816c1d-c51b-42db-83a7-636dc6ca7b33:admin@test-domain.com]

2022-04-14 23:16:38 | [Mutex] received everything.

2022-04-14 23:16:38 | [Mutex] isItemNotified: published:item:notifieditem-35816c1d-c51b-42db-83a7-636dc6ca7b33:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-04-14 23:16:38 |

2022-04-14 23:16:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:38 | ------------------------------------

2022-04-14 23:16:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node><item-id>item-35816c1d-c51b-42db-83a7-636dc6ca7b33</item-id></data>

2022-04-14 23:16:39 | 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-35816c1d-c51b-42db-83a7-636dc6ca7b33</value></item-id></result>

2022-04-14 23:16:39 | [Mutex] received everything.

2022-04-14 23:16:39 | [Mutex] isItemNotified: retracted:item:notifieditem-35816c1d-c51b-42db-83a7-636dc6ca7b33:admin@test-domain.com :: true

retrieveItemsFromNodes 0.182s
2022-04-14 23:16:38 |

2022-04-14 23:16:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:38 | ------------------------------------

2022-04-14 23:16:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node><item-id>item-35816c1d-c51b-42db-83a7-636dc6ca7b33</item-id></data>

2022-04-14 23:16:38 | 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-cc1393b9-be92-4b93-ada5-952e63e4e76a</value></node><item-id label="Item ID" type="text-single"><value>item-35816c1d-c51b-42db-83a7-636dc6ca7b33</value></item-id><item label="Item" type="text-multi"><value><item id="item-35816c1d-c51b-42db-83a7-636dc6ca7b33"><test>item-35816c1d-c51b-42db-83a7-636dc6ca7b33</test></item></value></item></result>

2022-04-14 23:16:38 | [Mutex] notify: [retrieved:item:item-35816c1d-c51b-42db-83a7-636dc6ca7b33:payload-matches:true:localhost]

2022-04-14 23:16:38 | [Mutex] received everything.

2022-04-14 23:16:38 | [Mutex] isItemNotified: retrieved:item:item-35816c1d-c51b-42db-83a7-636dc6ca7b33:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-04-14 23:16:38 |

2022-04-14 23:16:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:38 | ------------------------------------

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

2022-04-14 23:16:38 | 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-cc1393b9-be92-4b93-ada5-952e63e4e76a</value><value>node-9f2bb2d7-698b-40a2-93b6-f3b13d69e65a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2022-04-14 23:16:38 |

2022-04-14 23:16:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:38 | ------------------------------------

2022-04-14 23:16:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cc1393b9-be92-4b93-ada5-952e63e4e76a)</node-pattern></data>

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

subscribeNodes 1.107s
2022-04-14 23:16:37 |

2022-04-14 23:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:37 | ------------------------------------

2022-04-14 23:16:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.167s
2022-04-14 23:16:39 |

2022-04-14 23:16:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-14 23:16:39 | ------------------------------------

2022-04-14 23:16:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cc1393b9-be92-4b93-ada5-952e63e4e76a</node><jids><value>admin@test-domain.com</value></jids></data>

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