Generated by TestNG with ReportNG at 21:15 PST on Friday 17 February 2023
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.430s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2023-02-17 21:30:06 |

2023-02-17 21:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:06 | ------------------------------------

2023-02-17 21:30:06 | [Mutex] waiting for: [configured:node:node-744ed832-8223-4617-97d8-ea9841ba388a:node-c4ace121-3eb5-451e-b580-eb82bea7186b]

2023-02-17 21:30:06 | [Mutex] received everything.

2023-02-17 21:30:06 | [Mutex] isItemNotified: configured:node:node-744ed832-8223-4617-97d8-ea9841ba388a:node-c4ace121-3eb5-451e-b580-eb82bea7186b :: true

2023-02-17 21:30:07 | [Mutex] waiting for: [received:nodes:13f4f5d9-e02b-4f39-99d9-882c2d8551d0:localhost]

2023-02-17 21:30:07 | [Mutex] received everything.

2023-02-17 21:30:07 | [Mutex] isItemNotified: received:node:13f4f5d9-e02b-4f39-99d9-882c2d8551d0:localhost:node-744ed832-8223-4617-97d8-ea9841ba388a:Node 744ed832-8223-4617-97d8-ea9841ba388a :: true

2023-02-17 21:30:07 | [Mutex] waiting for: [received:nodes:9c8f75c1-3d66-4dbb-bf8a-b05a75e755e2:localhost]

2023-02-17 21:30:08 | [Mutex] waiting for: [received:nodes:9c8f75c1-3d66-4dbb-bf8a-b05a75e755e2:localhost]

2023-02-17 21:30:08 | [Mutex] waiting for: [received:nodes:9c8f75c1-3d66-4dbb-bf8a-b05a75e755e2:localhost]

2023-02-17 21:30:08 | [Mutex] received everything.

2023-02-17 21:30:08 | [Mutex] isItemNotified: received:node:9c8f75c1-3d66-4dbb-bf8a-b05a75e755e2:localhost:node-744ed832-8223-4617-97d8-ea9841ba388a:Node 744ed832-8223-4617-97d8-ea9841ba388a :: false

createNodes 1.401s
2023-02-17 21:30:04 |

2023-02-17 21:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:04 | ------------------------------------

2023-02-17 21:30:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 744ed832-8223-4617-97d8-ea9841ba388a</title></pubsub></data>

2023-02-17 21:30:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:30:05 | [Mutex] waiting for: [received:nodes:5c669200-e873-47c9-b715-068acfb01872:localhost]

2023-02-17 21:30:05 | [Mutex] waiting for: [received:nodes:5c669200-e873-47c9-b715-068acfb01872:localhost]

2023-02-17 21:30:05 | [Mutex] received everything.

2023-02-17 21:30:05 | [Mutex] isItemNotified: received:node:5c669200-e873-47c9-b715-068acfb01872:localhost:node-744ed832-8223-4617-97d8-ea9841ba388a:Node 744ed832-8223-4617-97d8-ea9841ba388a :: true

createSubnodes 1.021s
2023-02-17 21:30:05 |

2023-02-17 21:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:05 | ------------------------------------

2023-02-17 21:30:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c4ace121-3eb5-451e-b580-eb82bea7186b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c4ace121-3eb5-451e-b580-eb82bea7186b</title></pubsub></data>

2023-02-17 21:30:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:30:06 | [Mutex] waiting for: [received:nodes:616b8f92-c785-4736-ae39-b31793dd9bdc:localhost]

2023-02-17 21:30:06 | [Mutex] waiting for: [received:nodes:616b8f92-c785-4736-ae39-b31793dd9bdc:localhost]

2023-02-17 21:30:06 | [Mutex] waiting for: [received:nodes:616b8f92-c785-4736-ae39-b31793dd9bdc:localhost]

2023-02-17 21:30:06 | [Mutex] received everything.

2023-02-17 21:30:06 | [Mutex] isItemNotified: received:node:616b8f92-c785-4736-ae39-b31793dd9bdc:localhost:node-c4ace121-3eb5-451e-b580-eb82bea7186b:Node c4ace121-3eb5-451e-b580-eb82bea7186b :: true

deleteNodes 1.017s
2023-02-17 21:30:12 |

2023-02-17 21:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:12 | ------------------------------------

2023-02-17 21:30:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c4ace121-3eb5-451e-b580-eb82bea7186b</node></data>

2023-02-17 21:30:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:30:13 | [Mutex] waiting for: [received:nodes:860450d8-f31d-4d4a-ab00-9ac2fe488b26:localhost]

2023-02-17 21:30:13 | [Mutex] waiting for: [received:nodes:860450d8-f31d-4d4a-ab00-9ac2fe488b26:localhost]

2023-02-17 21:30:13 | [Mutex] waiting for: [received:nodes:860450d8-f31d-4d4a-ab00-9ac2fe488b26:localhost]

2023-02-17 21:30:13 | [Mutex] received everything.

2023-02-17 21:30:13 | [Mutex] isItemNotified: received:node:860450d8-f31d-4d4a-ab00-9ac2fe488b26:localhost:node-c4ace121-3eb5-451e-b580-eb82bea7186b:Node c4ace121-3eb5-451e-b580-eb82bea7186b :: false

deleteSubnodes 1.145s
2023-02-17 21:30:11 |

2023-02-17 21:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:11 | ------------------------------------

2023-02-17 21:30:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node></data>

2023-02-17 21:30:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:30:12 | [Mutex] waiting for: [received:nodes:3641dcd3-15d5-4793-90a0-70b585a1c7f5:localhost]

2023-02-17 21:30:12 | [Mutex] waiting for: [received:nodes:3641dcd3-15d5-4793-90a0-70b585a1c7f5:localhost]

2023-02-17 21:30:12 | [Mutex] waiting for: [received:nodes:3641dcd3-15d5-4793-90a0-70b585a1c7f5:localhost]

2023-02-17 21:30:12 | [Mutex] waiting for: [received:nodes:3641dcd3-15d5-4793-90a0-70b585a1c7f5:localhost]

2023-02-17 21:30:12 | [Mutex] received everything.

2023-02-17 21:30:12 | [Mutex] isItemNotified: received:node:3641dcd3-15d5-4793-90a0-70b585a1c7f5:localhost:node-744ed832-8223-4617-97d8-ea9841ba388a:Node 744ed832-8223-4617-97d8-ea9841ba388a :: false

2023-02-17 21:30:12 | [Mutex] waiting for: [received:nodes:516a81d4-8693-4ffb-8687-dba890fb969b:localhost]

2023-02-17 21:30:12 | [Mutex] received everything.

2023-02-17 21:30:12 | [Mutex] isItemNotified: received:node:516a81d4-8693-4ffb-8687-dba890fb969b:localhost:node-744ed832-8223-4617-97d8-ea9841ba388a:Node 744ed832-8223-4617-97d8-ea9841ba388a :: false

publishItemsToNodes 0.285s
2023-02-17 21:30:09 |

2023-02-17 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:09 | ------------------------------------

2023-02-17 21:30:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node><item-id>item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</item-id><entry><test>item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</test></entry></data>

2023-02-17 21:30:09 | 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-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</value></item-id></result>

2023-02-17 21:30:09 | [Mutex] waiting for: [published:item:notifieditem-7dbb4940-ffd6-4d5a-9f2b-a25525e99766:admin@test-domain.com]

2023-02-17 21:30:09 | [Mutex] received everything.

2023-02-17 21:30:09 | [Mutex] isItemNotified: published:item:notifieditem-7dbb4940-ffd6-4d5a-9f2b-a25525e99766:admin@test-domain.com :: true

retractItemsFromNodes 0.389s
2023-02-17 21:30:09 |

2023-02-17 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:09 | ------------------------------------

2023-02-17 21:30:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node><item-id>item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</item-id></data>

2023-02-17 21:30:10 | 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-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</value></item-id></result>

2023-02-17 21:30:10 | [Mutex] received everything.

2023-02-17 21:30:10 | [Mutex] isItemNotified: retracted:item:notifieditem-7dbb4940-ffd6-4d5a-9f2b-a25525e99766:admin@test-domain.com :: true

retrieveItemsFromNodes 0.119s
2023-02-17 21:30:09 |

2023-02-17 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:09 | ------------------------------------

2023-02-17 21:30:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node><item-id>item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</item-id></data>

2023-02-17 21:30:09 | 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-744ed832-8223-4617-97d8-ea9841ba388a</value></node><item-id label="Item ID" type="text-single"><value>item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</value></item-id><item label="Item" type="text-multi"><value><item id="item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766"><test>item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766</test></item></value></item></result>

2023-02-17 21:30:09 | [Mutex] notify: [retrieved:item:item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766:payload-matches:true:localhost]

2023-02-17 21:30:09 | [Mutex] received everything.

2023-02-17 21:30:09 | [Mutex] isItemNotified: retrieved:item:item-7dbb4940-ffd6-4d5a-9f2b-a25525e99766:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-17 21:30:09 |

2023-02-17 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:09 | ------------------------------------

2023-02-17 21:30:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-17 21:30:09 | 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-744ed832-8223-4617-97d8-ea9841ba388a</value><value>node-c4ace121-3eb5-451e-b580-eb82bea7186b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-17 21:30:09 |

2023-02-17 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:09 | ------------------------------------

2023-02-17 21:30:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-744ed832-8223-4617-97d8-ea9841ba388a)</node-pattern></data>

2023-02-17 21:30:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.111s
2023-02-17 21:30:08 |

2023-02-17 21:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:08 | ------------------------------------

2023-02-17 21:30:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-17 21:30:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.184s
2023-02-17 21:30:10 |

2023-02-17 21:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:30:10 | ------------------------------------

2023-02-17 21:30:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-744ed832-8223-4617-97d8-ea9841ba388a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-17 21:30:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>